Well, is there a script code that will allow “gravity” or “jumping?”
What I mean is, I want the thing to be like a side scrolling thing, and when the player pushes up, instead of looking up, they jump.
I also want to be able to control how high they can go. Is it possible? Can somebody post a code for it?
When the up button is pressed, I just want the the player to move up, quickly slow to a stop, then go back down backwards. I also want them to be able to move in the air and stop when they hit something above them or hit a wall. When they push up, they don’t look up, but stay looking in the same direction.
Gravity’s a toy for people who enjoy scripting as you have to sit there and modify it until it works right and nothing breaks. Even Shiny had trouble getting npc enemies to work right in his SMW clone, but it is possible since Beholder made a more advanced Cave Story clone.
Nobody has complete scripts like what you’re requesting, otherwise they’d be up on the server list and you’d be able to play them. Ideally you’d disable the default HUD and controls and then remake everything yourself. Best way to tackle a platformer is to first perfect a Tetris clone and master using functions, arrays, showimage, wall detection, and so forth.
Problem was mostly with the fact that NPCs are locked in their levels so stopped functioning once they moved outside their level(which is problematic since Super Mario levels are very large and I had to use a large map to make one level).
Beholder basically coded a game in a game since he rescripted rendering and pretty much everything that Graal normally handles for you. Thus he was able to get past the limitations that Graal imposes.
Which is also blisteringly slow. I did a little cheat where I modify the tiles in the level to render multiple levels instead. It seems faster, but it gets exponentially slower as the size of the screen increases, as updateboard is fairly slow. It’s not anywhere near as slow as showimg’ing the whole level, though. That was a few months ago when I wanted to restart Mega Graal.