The phone is going to be different to a desktop browser. You should test on mobile from the start really so you can see the performance.
Goomba on collision with wall, if mirrored set not mirrored, Else set mirrored.
Have a variable on space like to say it is in use (occupied) then say on touched shuffle, pick random instance of space where space is not occupied > set space.occupied to true, and move card to space.
You do not have permission to view this post
Your question is confusing, how can they shift both up and left ? If you remove a value I would expect the values below it in the column to move up and that's it.
Can you add information and tell us what you mean ?
You have nothing to determine what is slot 1 or slot 2 ? You need something additional like an instance variable for slot number and pick that way. Also you can't pick in this way as the first condition narrows it to only slots that have animation frame 1. There will be a better way to go about what you're attempting, probably where you determine if you have wood or steel in separate events.
You need to set the angle of motion of the bullet, if you have 'set angle' ticked on the bullet behaviour then you can use set angle to 0 for right and set angle to 180 for left
So there is nothing to cancel, you don't have a plan
So what's the question or problem ?
My approach would be to add an instance var to 'A'. Then you say for each 'A', 'A' is overlapping 'B', set 'A'.variable to 'B'.pickedcount.
Develop games in your browser. Powerful, performant & highly capable.
This is determined by the collision box, so open that sprite in image editor and check the shape of the collision.
Member since 5 Aug, 2013