simple game to learn about lua and love2d
Level files are expected of the following format.
One or more lines that are composed of the following (mandatory unless mentionned) elements :
- a
xx:xx
time stamp (x
is any digit) - a comma
- one or more "enemies", i.e.
(s,t,r,d)
constructs wheres
: side we want the enemy to spawn : starting from 1 for right side and counting clockwiset
: type of enemy. Anything aside from 1 or 2 results in a crashr
: remaining bullets. Enemy's clip size.d
: shooting delay, i.e. time in second between enemy shots
Example
00:01,(1,1,2,1)(2,2,3,1)
00:02,(1,1,2,1)