Hi guys!
Do you know if it is possible to set up a object so it collides with the edge of the layout instead of a 'solid wall sprite'? If yes could you please help me out?
Thanks for your attention!
Would using the bound to layout behaviour work for you?
I tried that but i need objects to bounce as they collide ... A solution to my problem might be around giving the bound to layout behavior though! Any ideas? :s
Develop games in your browser. Powerful, performant & highly capable.
What is the problem with creating objects at the edges of your layout?
I just want to know if it is possible to do otherwise
I guess the problem is, that if you want to bounce of solids, there should be solids..
You could try to create events to detect the position of your sprite and change the angle of it based on the current angle of movement..
Yeah i though in that aswell, but probably setting a solid wall would be 'cleaner' than setting up all that. I was looking for a process that would run faster than setting up a wal spirte and set collision, etc...