This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
notes:unix:fall2023:projects:fwg1 [2023/11/01 23:14] – [displaying sprites on screen] gsalce | notes:unix:fall2023:projects:fwg1 [2023/11/02 02:41] (current) – [declaring] xcroft | ||
---|---|---|---|
Line 18: | Line 18: | ||
Stanely.height = 74; | Stanely.height = 74; | ||
====declaring==== | ====declaring==== | ||
+ | int SpaceshipX = screen_width / 2 ; | ||
+ | can replace 2 with any number depending on where you want the starting point. Replace x with y for y axis | ||
====accessing==== | ====accessing==== | ||