Not using color-touching based physics?
Should we avoid using the color-based physics scripts and instead use sprite-based ones?
Here's what I'm talking about:
if <touching color [#000000]?> then set [y velocity v] to (0) end
if <touching [Level v]?> then // Level is the name of the sprite set [y velocity v] to (0) end
Correcting code error
I was wondering why the Help with scripts forum gets so many posts asking how to make a platformer. I suppose it's mostly because people don't know about the wiki (or, like me, just struggle to find stuff on it) but it could also be partly because the first script on this page does almost exactly the opposite of what it's supposed to do. (To wit: The "gravity" makes the sprite fly upwards!) I'm going to post a corrected version, and take the opportunity to make it a little more efficient too.
Tomorrow I'll check the rest of the page for howlers. :-)
Despicable Dad (talk | contribs) 18:34, 12 January 2017 (UTC)
Is there a reason for the template on this article? Usually when you add one of these templates, you put a note on the discussion page with the reasoning behind this so that the community can discuss it further!
Makethebrainhappy (talk | contribs) 14:40, 27 June 2018 (UTC)