@PUTSand it’s gosub in the loop. This will also hopefully be what I use in the RPG that I am currently working on; be on the lookout for that. Last thing: If anyone wants to tweak it a little bit or have any tips to possibly make it better, then please message me and you will be recognized.
Walking Engine
Root / Submissions / [.]
GreedyGoat8Created:
Download:5ZNQV384Version:1.1Size:About 2.6KB
A simple walking engine I have created by myself with a little help from the built in tech demo in sample programs. I have designed this engine for Legend of Zelda and Pokémon-type games. Viewers who decide to use this program are welcome to do so, but it would be greatly appreciated if you could include me in your code or credits(of course, this is optional.) If you want to get rid of the background, then just delete
Ohhhh. I know what you mean. I did not use any “label loops.” I was describing if a person wanted to use this needed a different graphic screen to just delete what places the walls and the grass. After all, it is just for looks and possibly other examples. Please don’t just guess like that. Have a good day!
Probably not really what chicken meant. Label loop:
@LOOP 'Stuff GOTO @LOOPLoops like that aren't really preferred by some people. Instead FOR, WHILE, and REPEAT loops are used. DEF functions are sometimes used as well.
I know what he meant. He has a thread on it. For the loop that it was used in, I did it like this:
FOR I=0 TO 1 GOSUB @MINIT GOSUB @SPINIT GOSUB @BGINIT GOSUB @ANMINIT GOSUB @PUTS NEXTAs you can see, I used a FOR loop. Even though there was no purpose, I did it to make it look neater.
Oh yeah I forgot to mention why DEF blocks were significant. They are less error-prone than GOSUB.