Log In  

Cart #29854 | 2016-10-03 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

P#29855 2016-10-02 21:54 ( Edited 2016-10-04 01:48)

Promising start, but it really needs more than just one level. The current level needs redesigning as well, because at the moment half the screen space isn't utilized and you spawn right on top of a spike, which can kill you several times before you realize what's happening if you're not expecting it. Promising, though! I hope to see more of this!

P#29898 2016-10-03 16:45 ( Edited 2016-10-03 20:45)

If it will help you, MR, always calculate things to grids when they are static objects and all of the same size. In this case, use PICO's MODULOS function "%" to align comparisons with objects that are all exactly 8x8 pixels in size.

cls()
for i=0,127 do
  if i%8==0 then
    print("i="..i.." aligned !")
    repeat
    until btnp(4)==true
    repeat
    until btnp(4)==false
  else
    print("i="..i)
  end
end
P#29899 2016-10-03 17:27 ( Edited 2016-10-03 21:27)

Nice, man! Thanks for the credit!

P#29917 2016-10-03 21:48 ( Edited 2016-10-04 01:48)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-19 21:10:54 | 0.014s | Q:21