Submissions by leaf tagged lua

i made it detect all the complete lines of 3+ beads !

i couldnt get any animations right tho, so i just made it find and remove lines only when R is pressed

(with correct phase !)

(137kb)

no advanced algorightm, just there is a nexter variable in addition to next, and when dropping, nexter is moved to next, and then nexter is chosen randomly
it looks kinda meh ...

(* only useable by keyboard rn)
(look closely at the apple)

(only if there is a path) (no animation yet !)

(540kb)

tweaked the sizes so that the difference between fruits is more visible !

  • on the side, doing some kind of puzzle game ..
  • made the game over text prettier !
    (font is Lato by Ɓukasz Dziedzic)
  • made the keyboard movement faster again, and made shift slow it down
  • learnt how to actually use ParticleSystem properly, insteadof recreating it each time and transforming it in draw()
    (this means if you merge two pairs quickly, the particles from the first pair wont immediately disappear as the particles for the second one get spawned !)
  • randomly flip the fruits as well

so i also made the "game over" condition check the velocity of the body above the line, which should make it not possible to accidentally lose by double-clicking !

also, made the fruits a bit bigger again ...

oh, and f5 or ctrl+r restarts the game now

Loading more