Bottom of canvas

Hi,
Im creating space invaders game, but the rocket spawns in the top or center of the canvas.

how can I spawn the rocket in the bottom of the cavas?

how do you spawn the rocket?show the blocks.

the rocket is spawned but i want to set its y to the bottom of the canvas

Why don't you show your blocks when asked?


ImageSprite1 is the rocket

Have you read Creating Animated Apps ?
Figure 17-2 shows how the grid is arranged in the Canvas.

Also look at this tutorial Space Invaders for example code.

Thank You.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.