Work in Progress

The little caterpillar V01

4

Tinycloud778 2019-03-01 20:02 (Edited)

This game is being made for a four day jam

Thanks to Timo for helping me with the background

Now there’s an end cutscene. And title screens , and PLEASE if you see a bug report it
Also fixed some bugs


Tinycloud778 2019-03-01 20:03

This is where I’ll post the coming updates


Tinycloud778 2019-03-01 20:08

Big thanks to desbyc for helping me solve the problem


Timo 2019-03-02 10:21 (Edited)

Nice :)
I found some code details to improve.
At first, put this line somewhere before your main loop (before DO):

BG COPY 0,0,20,16 TO 0,0

This will show your background (the grass).

The next thing is that you don't need CLS in each loop, because sprites are overlays anyway and don't need to be cleared. You needed CLS because of the PRINT commands though, but you can replace them with the TEXT command. To clear the text in each loop, you can use BG COPY again, but this time it's enough to copy only the first two rows of it. Here are the first lines of the adjusted code starting with DO:

DO
BG COPY 0,0,20,2 TO 0,0
TEXT 6,0,"SCORE:"+STR$(SCORE)
IF SCORE<3 THEN TEXT 3,1,"EAT THE LEAVES"


Tinycloud778 2019-03-02 13:52

Thanks


Jack Sbertox 2019-03-04 13:49

Don’t fix bugs! U kill the caterpillar! (Bad joke)


Log in to reply.