fardell24 ([personal profile] fardell24) wrote2015-03-28 07:01 pm

Digital and Interactive Games 2015 – Week 7, Session 1



Digital and Interactive Games, 2015 – Week 7, Session 1
Graphics

// YOU

 photo week 7 01_zpscmq2b24v.png

Sprite Sheets

 photo week 7 02_zpscujglmz6.png

Source rectangle
Source Rectangle
draw Rectangle

 photo week 7 03_zpskfnbm8aw.png


velocity = speed with direction
(distance over time)

x.Speed *= -1;
x.Speed = x.Speed * -1;
Use the above!

= 799;
= 599;
Minimum calculation is the best in games




Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting