{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

CSCI 1106 Movement and Collision Detection

G move 10 steps per frame at 90 issues with moon where

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: et the sprite’s velocity –  Number of steps (pixels) per frame –  Can be posi6ve or nega6ve 270° 90° 180° •  Set the sprite's direc:on property •  Create a script to respond to the FRAME event •  On each frame change the posi:on of the sprite by constant steps e.g. move 10 steps per frame at 90° Issues with Mo:on •  •  •  •  •  Where should we set the sprite’s velocity? What does it mean if the velocity is...
View Full Document

{[ snackBarMessage ]}