mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Add enemy speed as a room property
Currently, you can change platform speed, but not enemy speed, which is always hardcoded to be 4. This commit fixes that, by adding the "enemyv" property, which is an offset to the speed of 4. Since it defaults to 0, older levels are not broken by this change.
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
8b62bb1d65
commit
d8b2b3542a
@@ -31,6 +31,7 @@ public:
|
||||
FOREACH_PROP(enemyx2, int) \
|
||||
FOREACH_PROP(enemyy2, int) \
|
||||
FOREACH_PROP(enemytype, int) \
|
||||
FOREACH_PROP(enemyv, int) \
|
||||
FOREACH_PROP(directmode, int)
|
||||
|
||||
class RoomProperty
|
||||
|
||||
Reference in New Issue
Block a user