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
yet another Qix clone
- baconhawka7x
- Party member
- Posts: 491
- Joined: Mon Nov 21, 2011 7:05 am
- Location: Oregon, USA
- Contact:
-
- Prole
- Posts: 28
- Joined: Tue Mar 20, 2012 10:39 am
Re: yet another Qix clone
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
Re: yet another Qix clone
Looks good so far but I found a bit of a bug:
If you want this to be 0.8 compatible, you can just remove the .lua extension in require:
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:
Who is online
Users browsing this forum: No registered users and 2 guests