[quote:1qiwvofa]The simple fact is, nothing will be easier or more CPU efficient than just using a proper trace/raycast to find out the normal of the surface the player is walking on.
Shouldn´t it be sort of possible bullet behavior? I mean yeah maybe not as CPU efficient but you can continously shoot invisible sprites down from the player while he is on ground, have them bounce off and get the grounds normal by comparing the initial angle (90) with the angle after the bounce. At least in theory, I haven´t tried it. You can destroy them directly after the bounce so even if you shoot every tick there shouldn´t be a huge amount of sprites. You probably can even get away with shooting it like every 3 ticks if you want to optimize.
Anyway, I recently tinkered around with the SDK creating https://www.construct.net/at/make-games ... 7/utc-time It´s the first time I ever made a plugin and I´m rather noobish with JS. From that experience I can just say...
[quote:1qiwvofa]- Having some larger sample/open source plugins for people to learn from.
- Something to make setting up C3 plugins faster. Currently there is a lot of cutting and pasting names, many files etc. It's for the better, but I think we could make something that would speeds up the process.
... basically this.
Especially the initial setup (UPDATING PLUGIN IDENTIFIERS) gave me some trouble and I found the documentation not sufficient/confusing. I could swear I changed everything but as soon as I changed the plugin ID it stopped working. I don´t remember exactly what ended up solving it. Same goes for the ACEs. In particular, I needed a "combo" dropdown thingy but the ACEs documentation doesn´t show how exactly this has to be defined. There´s just a lot of {[]} going on and it´s confusing if you only get told
[quote:1qiwvofa]"combo" — a dropdown list. Items must be specified with the "items" property.
I ended up downloading another addon and check it´s code to figure it out.
So from my experience: More/better samples, better documentation and it would be awesome to have an easy method for the initial setup of ID, names and references.