move_bounce_solid(adv)

Drag & Drop equivalent : GM016

 

adv = true / false.

 

This function will cause the object to bounce off another object. It does the same thing as the drag & drop bounce function does. It will only bounce against solid objects.

 

Normal bouncing only bounces off horizontal or vertical objects correctly, if your object might be bouncing off a slanted object, then you should use advanced bouncing. This can be true or false, true being advanced bouncing.

 

Example:

//this will usually be placed in the collision event because that is //when it hits other objects

//collision with wall

move_bounce_solid(true);

 

cityscape - Revision #1