mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-11-24 14:29:20 +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:
1 parent
8b62bb1d65
commit
d8b2b3542a
28 files changed
+63
-5
No files matched your search
@@ -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