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:
NyakoFox authored and Misa Elizabeth Kai committed 2024-09-23 18:56:41 -07:00
1 parent 8b62bb1d65
commit d8b2b3542a
28 files changed
+63 -5

No files matched your search

+1
View File
@@ -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