StackAttack Stuck

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
JerryTheBig
Posts: 33
Joined: July 27th, 2012, 12:48 pm

StackAttack Stuck

Post by JerryTheBig » July 27th, 2012, 1:06 pm

Hi,
i want to make Game like Stack Attack.
http://freegames.thetechherald.com/onli ... ttack.html
I made an array with boxes. First box do everything what i want, but next boxes do only half of their action. I have tried to rewrite my updateBox function a lot of times. It doesn't work.
I am not sure, but fail will be in loop. The code contains lot of bugs and it is badly written.
I am sorry for bad English.
Thanks for hlep
Attachments
StackAttack.zip
(8.05 MiB) Downloaded 218 times

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: StackAttack Stuck

Post by chili » July 27th, 2012, 1:32 pm

I see a lot of issues here. Where to start...

First of all, you need to check for collision between boxes when you try and push a box. It doesn't look like you're doing that...
Chili

JerryTheBig
Posts: 33
Joined: July 27th, 2012, 12:48 pm

Re: StackAttack Stuck

Post by JerryTheBig » July 27th, 2012, 3:13 pm

that's right.
i don't think this is more important. When main part doesnt work ( collision between circle and box ) i will try to fix other problems.

Post Reply