GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

firemaple, i need your help - magnitude demo

giacomopoppigiacomopoppi Posts: 914Member, PRO
edited 1:11AM in Working with GS (Mac)
Hi (Joe and everyone else),
i have been experimenting with the magnitude demo and now need to use it in a game.
i have managed to get the "balls" to bounce off the walls the way i want them to but i have come across a difficulty:
how can i get the balls to bounce off (with same effect) boxes spawned around the screen?

This is the game i am trying to make : http://ww5.freearcade.com/Pixie.jav/Pixie.html
(notice the red boxes)

Thanks!

Comments

  • firemaplegamesfiremaplegames Posts: 3,206Member
    Well, you can simply make a block actor that collides with the balls. Make a new tag called 'balls', add the balls to that tag, and add a Collide behavior to the block to collide with actors with tag: 'balls'.

    Always having the balls move in a 45 degree angle is a little tough. I don't know how to achieve that off the top of my head.

    Also, i think you are going to have problems trying to move 100 actors at once all colliding with even more blocks... I think GS will choke...
This discussion has been closed.