screenwrap behaviour with physics

Get help using Construct 2

Post » Sun Jan 20, 2013 5:06 pm

Im making a simple asteroids clone and having some problems with the screenwrap behaviour together with physics:

ship and asteroids wont wrap while "gliding", also if I keep the movebutton("up" arrow in this case), the ship loses speed everytime it wraps.

Anyone know how to fix this? Have tried setting friction and dampening to zero but that did not help.
B
21
S
7
G
4
Posts: 221
Reputation: 5,070

Post » Sun Jan 20, 2013 5:20 pm

B
21
S
7
G
4
Posts: 221
Reputation: 5,070

Post » Sun Jan 20, 2013 6:09 pm

If you check again the basic tutorial for physics behavior you'll see it's not recommended to "teleport" (which is what the wrap behavior does) objects with the physics behavior.

Also if you want to do a simple asteroid clone, why not follow this tutorial in which the wrap behavior don't cause issue ?
Physics is kind of overkill for an asteroid game.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,786


Return to How do I....?

Who is online

Users browsing this forum: Draconinho, totoe and 10 guests