I'm making an Angry Birds like game but when I test it out I can just stretch the slingshot to the obstacles and win the game that easy. What's the easiest way to stop an elastic band from stretching too far?
I didn't make this kind of game before, but I think I saw a sample in the tutorial. (also for download)
Develop games in your browser. Powerful, performant & highly capable.
Also, I was thinking that I might be able to make an invisible barrier that the slingshot cannot go past. Is there a way to make a barrier only impassable to one object?
you have a angry birds example in construct itself, its called catapult , and the code for the distance used in it is this
min(distance(mx, my, mouse.X, Mouse.Y) / 3, 100) the number 100 is the length of the band to be stretched, the mx , my is the mouse x mouse y when mouse was initialy pressed, u could better use it from example cause this is not completed u need 1 aditional code for it to work properly and add the impulse