# Lab46 Wiki

### Site Tools

journal:spring2019:wprice2:week6

# Differences

This shows you the differences between two versions of the page.

 journal:spring2019:wprice2:week6 [2019/03/06 23:13]wprice2 [MONTH Day, YEAR] journal:spring2019:wprice2:week6 [2019/05/07 10:26] (current) Both sides previous revision Previous revision 2019/03/06 23:13 wprice2 [MONTH Day, YEAR] 2019/02/28 07:18 external edit 2019/03/06 23:13 wprice2 [MONTH Day, YEAR] 2019/02/28 07:18 external edit Line 4: Line 4: While adding the shooting mechanisms for the asteroids game, I came to a particular crossroads. My first plan was to simply have 3 shooters on the left, right, and upper spots on the map out of view. The left and right shooters would move up and down while the upper shooter would move left to right. I wonder how the constant manipulations of the shooters would effect the run time of my game. More importantly however, it would be easy to discover the patterns and deduce when the asteroids would come before they were even shot out. I then decided that there should be multiple shooters on each side of the map. They would all stay in place next to each other and they'd fire in different speeds. Writing this general gave me an idea for another alternative. Does the code even need shooters for the asteroids? The shooters were being used for a position to shoot from in space. With a static map, we already know what coordinates there are so we could just send the asteroids to those coordinates and begin its voyage. Also, while the starting y-coordinate will be locked, the x-axis will be constantly changing so the asteroids fall at various points in the screen. While adding the shooting mechanisms for the asteroids game, I came to a particular crossroads. My first plan was to simply have 3 shooters on the left, right, and upper spots on the map out of view. The left and right shooters would move up and down while the upper shooter would move left to right. I wonder how the constant manipulations of the shooters would effect the run time of my game. More importantly however, it would be easy to discover the patterns and deduce when the asteroids would come before they were even shot out. I then decided that there should be multiple shooters on each side of the map. They would all stay in place next to each other and they'd fire in different speeds. Writing this general gave me an idea for another alternative. Does the code even need shooters for the asteroids? The shooters were being used for a position to shoot from in space. With a static map, we already know what coordinates there are so we could just send the asteroids to those coordinates and begin its voyage. Also, while the starting y-coordinate will be locked, the x-axis will be constantly changing so the asteroids fall at various points in the screen. - =====sysprog week6===== - ---- - ====MONTH Day, YEAR==== - - Filler text- your entry goes here; remove this line to receive full credit.