@LDStudios
I tested your game, and I only can say one thing : awesome ! It's rare to find some creative and original platform games on nspire, and your game is unmistakably amazing !
To say the truth, I don't really liked JS1, but this one is so much fun
But to help you a little in developing your game :
- Make a menu, maybe with highscores (of coins you collect) and with a level selecting option, maybe, because just think : if you reach level 30, maybe you want to restart from beginning, or simply choose your level
.
- You may implement lives, because otherwise you cannot loose in your game :p
- Would be interesting to make a more fluent move of your cube, not a framemove : it is difficult to do but it is conceivable
Now on the code, just some points :
function setLevel() --set variables for level 1
alive=1
jump=4
x=1000
y=1000
cx=1000
cy=1000
c_collected=0
k=0
key=0
tx=1000
ty=1000
sx=1000
sy=1000
s2x=1000
s2y=1000
px=1000
py=1000
p2x=1000
p2y=1000
p3x=1000
p3y=1000
dx=1000
dy=1000
kx=1000
ky=1000
bx=1000
by=1000
b2x=1000
b2y=1000
bp=0
b2p=0
pox=1000
- Your map can be tilemapped, it means that every level can be stocked in a matrice (a list in lua) to make it more easy for developing levels.
Like that :
level1 = {
{0,0,0,0,1},
{2,3,2,0,0},
{2,4,3,1,2}
}
And every number stands for a component