improvements to particles and animation can now have variable speed

This commit is contained in:
lustlion
2022-03-09 06:04:36 +01:00
parent e8242f6564
commit d3796a0204
6 changed files with 38 additions and 23 deletions

View File

@@ -34,8 +34,12 @@ function stepGame()
if Keybind:checkPressed(Keybind.debug.reposition) then
if not editor_mode then
main_player.pos.x, main_player.pos.y = 16,-10
main_player.pos.x, main_player.pos.y = 75,50
end
for _, entity in pairs(LoadedObjects.Entities) do
if entity.id ~= main_player.id then entity:kill() end
end
activateSpawns()
end
if Keybind:checkPressed(Keybind.debug.reload) then