jakubg1 / OpenSMCE

Game engine which allows creating a broad range of marble popper games.
MIT License
14 stars 11 forks source link

New list utility #11

Closed jakubg1 closed 3 years ago

jakubg1 commented 3 years ago

Partially added. Needs reconsideration if it's actually worth to do the rest.

The most notable downsides are less readable syntax and inelegant ways to do some things there. pairs and ipairs come with Lua 5.2, which is not supported by LOVE2D (Lua 5.1). It's also risky to overhaul some fragile code (most notably Path.lua, SphereChain.lua and SphereGroup.lua), as it might be hard to fix annoying and game-breaking bugs and glitches resulting from that, as well as aforementioned poor syntax.

jakubg1 commented 3 years ago

New lists were added to hold collectibles, paths, floating texts and shot spheres. It was not added to hold particles, sphere chains, sphere groups and spheres.

Note that there were also several changes unrelated to the general topic of the branch (configurable shooter, speed shot beam, Particle class removal, image scaling).