during development i ran into some problems that arent totally covered in wiki or tutorials. so I am asking you now .

1. I want to make semi-procedural destruction for props. Now i think that my sprite (small cube) should spawn at death four copies of itself scaled down by half. I need to know how to spawn objects in specific position and dimensions.2. How to compare speed of simulated sprite on the collision event?

System : Create Object (let's you specify the location)Sprite.SetWidthSprite.SetHeight

actions after an object is created, and in the same event will apply to the object that was just created

if you're using behaviors to move your sprites, most behaviors have an expression for speed, for instance, Set private variable MyCollisionSpeed to and then double click on the sprite, and click on the behaviors tab to find the expression for speed

if you're using your own movement method, and no behavior, the way to determine speed is to set up two private variables, previousx, and previousyif you need absolute speed, or the specific x and y speedalways set absspeed to distance(previousx,previousy,sprite.x,sprite.y)set xspeed to(sprite.x-previousx)set yspeed to (sprite.y-previousy)

there is a commandjust type distance(somethingx,somethingy,somethingelsex,somethingelsey)and sorryat the end of that example I gave you previousx = sprite.xpreviousy=sprite.y

previousx and previousy being private variables you made

also,physics does have an expression for speedthis won't do anything, but just to help you find the expressions, do something likesprite - set angleinstead of typing in a new angle, double click a sprite with physics behavior, when it brings up the list of expressions, click on the physics tab, that's the list of physics expressions