Puzzle "W.A.M". ---

rlc2405

  • *
  • Posts: 173
Hello, friends!

Please a look at "W.A.M", a almost-done Puzzle!

EDIT, since I can't remove the topic: LINK BROKEN: I'm gonna re-upload the game in a few days with new art

-------------------------

« Last Edit: February 24, 2012, 09:21:30 am by rlc2405 »

Rob

  • *
  • Posts: 1268
If you are looking for great art, I would recommend Ethan. He is also looking for games he could help.
And he worked fast too. Try to contact him.

http://community.stencyl.com/index.php?action=profile;u=41
GOLDEN RULE #1 : SAVE YOUR GAMES FREQUENTLY
IOS/XCODE DEBUGGING
http://www.stencyl.com/help/view/xcode-ios-troubleshoot/
WATCH STENCYLWORKS VIDEO TUTORIAL BY SUNRISEKINGDOM
http://www.youtube.com/watch?v=KDfRfjzr9j4&feature=channel_video_title

omey

  • Posts: 47
I would recommend that you amke the movement of the blocks tile-based.

rob1221

  • *
  • Posts: 9471
I would recommend that you amke the movement of the blocks tile-based.

Yes, please do this 8)

rlc2405

  • *
  • Posts: 173
I would recommend that you amke the movement of the blocks tile-based.

Yes, please do this 8)

hi!

i tried, but the result was not good; :/

rob1221

  • *
  • Posts: 9471
I would recommend that you amke the movement of the blocks tile-based.

Yes, please do this 8)

hi!

i tried, but the result was not good; :/

You'll probably have to reset the position of the actors after a move if they don't stop in the exact right place (and using Box2D they probably won't).  I've seen it done for another grid-based game before but I don't remember what the thread was called.  Basically you check if the X and Y positions of your actor is close to the grid and then adjust the position to fit the grid exactly.

coleislazy

  • *
  • Posts: 2607
To snap something to the tile grid, set the x of the actor to its current x divided by tile size, then rounded down, then multiplied by the tile size. Do the same for y.

rlc2405

  • *
  • Posts: 173
When i tried tile based movement strange things happens,

for example: when playable green blocks collides... they merge; and share the same tile space.

other thing is that some blocks (the ones you can explode with touch) lost collision!


equinox

  • Posts: 15
Hello, friends!

Sorry the english, as usual!

---
but... Take please a look at "W.A.M", a almost-done Puzzle!


http://www.stencyl.com/game/play/10720


link broken.

rlc2405

  • *
  • Posts: 173
I am gonna re-upload with the new art :)