Bullet movement

New releases and general discussions.

Post » Tue Nov 13, 2007 12:43 am

The instant step doesn't seem to work. I have:

On Step
On collision between Bullet and Wall
-Create sparks at Bullet
-Destroy Bullet


The sparks only sometimes appear, and they are usually inside of the wall.
B
2
S
1
G
5
Posts: 31
Reputation: 1,462

Post » Tue Nov 13, 2007 1:03 am

Try using 'Bullet is overlapping Wall', does that work better?

Also, remember the 'Speed' setting is the pixels per step in Instant Hit mode. If it's 250, your object will call On Step every 250 pixels which isn't very accurate. Try a value of 10 or so.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Mon Nov 19, 2007 6:21 am

Sorry I took so long.

I did what you said Ashley, and it worked. However, I found some other problems with the bullet movement.

[url:m3pu8pxq]http://www.freewebs.com/jonnymataza/invisiblewalls.png[/url:m3pu8pxq]
[url:m3pu8pxq]http://www.freewebs.com/jonnymataza/instabullet.cap[/url:m3pu8pxq]

It almost looks like this has something to do with the bounding box.
B
2
S
1
G
5
Posts: 31
Reputation: 1,462

Post » Mon Nov 19, 2007 2:38 pm

Hmph, looks like a problem with collision detection... I'll try debugging it.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 1 guest