Page 1 of 1

yet another Qix clone

Posted: Tue Apr 03, 2012 3:16 pm
by jimflim
Oi,
my beginnings of cheap shot at a qix clone, arcade game I löve.
My first piece of code since... forever. And my first shot in lua, so please be indulgent.

Move with arrow keys, respawn with "R"

One question: When the field is updated and I keep the arrow keys pressed, my player gets carried away, messing up the trace left behind...
A sync problem of some sort, I need to halt the keys while the game calculates the new area. If you have any ideas...
cheers,
jimflim
q.love
my cheap Qix clone
(4.33 KiB) Downloaded 293 times

Re: yet another Qix clone

Posted: Tue Apr 03, 2012 5:31 pm
by baconhawka7x
Love it!;D

Re: yet another Qix clone

Posted: Tue Apr 03, 2012 7:11 pm
by MiniDemonic
Awesome, I found a bug tho. When you clip once and then try to clip again the playfield gets resetted. The white line does not reset with the playfied tho, which means that the white box is getting smaller but the playfield does not. I accidently crashed the game when I tried to cut so that the white box would be in the middle :D

Re: yet another Qix clone

Posted: Wed Apr 04, 2012 3:37 am
by kesac
Nice job! I had to wiki what Qix was...

Re: yet another Qix clone

Posted: Wed Apr 04, 2012 8:48 am
by kraftman
Looks good so far but I found a bit of a bug:
GcTxy.jpg
GcTxy.jpg (24.51 KiB) Viewed 300 times
And it seems to hang for a bit when it needs to make new segments?

If you want this to be 0.8 compatible, you can just remove the .lua extension in require:
q.love
0.8
(4.44 KiB) Downloaded 406 times