User Tools

Site Tools


notes:sysprog

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
notes:sysprog [2019/04/10 23:08]
wprice2 [Game implementations]
notes:sysprog [2019/05/01 19:07] (current)
bstrong2 [Game implementations]
Line 84: Line 84:
 ==Possible Obstacles== ==Possible Obstacles==
   * <​del>​walls</​del>​   * <​del>​walls</​del>​
-  * spikes +  * <del>spikes</​del>​ 
-  * portals +  * <del>portals</​del>​ 
-  * reversed gravity zones(Special level effect)+  * <del>reversed gravity zones(Special level effect)</​del>​
   * <​del>​pits</​del>​   * <​del>​pits</​del>​
-  * Ice/​Oil/​Slick platforms+  * <del>Ice/​Oil/​Slick platforms</​del>​
  
 Things that need to be figured out for thee impossible game. Since we have moar time to figure out the game we will be adding some more awesome things! Here is the order that we plan on implementing things. Things that need to be figured out for thee impossible game. Since we have moar time to figure out the game we will be adding some more awesome things! Here is the order that we plan on implementing things.
Line 96: Line 96:
   * <​del>​Death/​start over</​del>​   * <​del>​Death/​start over</​del>​
   * <​del>​oil slick, and portal testing</​del>​   * <​del>​oil slick, and portal testing</​del>​
-  * Set up the map (level 1 in progress)+  * <del>Set up the map (level 1 in progress)</​del>​
   * start menu   * start menu
-  * level change animation +  * <del>level change animation</​del>​ 
-  * Level 2 and level 3 (map setup)+  * <del>Level 2 and level 3 (map setup) ​in progress</​del>​
   * End/​beginning cut scene   * End/​beginning cut scene
   * Boss Battle!   * Boss Battle!
   * Multiple sprites for Nunia during boss fight   * Multiple sprites for Nunia during boss fight
 +  * Implement a save file(being able to skip levels)
 +  * Implement a scoreboard(best times)
 +  * Circle Nunia as he builds the map as you play!
 +      -This is done by looping the objects falling out of view on the left side of the screen around to off the edge of the right side of the screen.
 +
  
  
Line 115: Line 120:
  
 + Single screen mouse-click shooter, in the vein of early browser-based flash shooters + Single screen mouse-click shooter, in the vein of early browser-based flash shooters
 +
 +
 +== Shooter game math ==
 +When using a mouse in a shooter game you might wanna use a little math to get your projectile to behave like you want.
 +It's easy to compare the distance of where you clicked to where your character is and divvy up the X and Y however in my instance of the game this made the bullet move faster if you clicked further away. So one way to deal with this is to find the angle of the shot. Using some simple geometry this can be done, SOH CAH TOA, we'll use TOA since we want to
 +change the hypotenuse depending on how fast we want the bullet to move. Tan(Opposite/​adjacent) will give us our angle and from there. Tan(angle) = Sin/Cos you'll have to use sin for y and cos for the x and simply solve from there and you'll get a consistent speed based on your angle and hypotenuse choice. ​
  
 Will post finalized idea here, working stuff out on paper Will post finalized idea here, working stuff out on paper
 =====DokuWiki wrap plugin===== =====DokuWiki wrap plugin=====
 http://​www.dokuwiki.org/​_media/​plugin:​wrap_plugin_example2.png http://​www.dokuwiki.org/​_media/​plugin:​wrap_plugin_example2.png
notes/sysprog.1554952092.txt.gz · Last modified: 2019/04/10 23:08 by wprice2