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/02/06 22:59]
wprice2 [Course Notes Wiki]
notes:sysprog [2019/04/10 23:08] (current)
wprice2 [Game implementations]
Line 44: Line 44:
   * combine the generated files with the header file   * combine the generated files with the header file
     - gcc -Wall --std=gnu99 -o desiredname firstfile.o secondfile.o -lSDL -lSDL_image     - gcc -Wall --std=gnu99 -o desiredname firstfile.o secondfile.o -lSDL -lSDL_image
 +
 +  ***Protip: Put these within a bash/​makefile to save time and frustration. ​ No need to smash the up arrow for an hour!**
  
  
Line 61: Line 63:
  
 -The SDL_GetKeyState(int *numkeys) points the numkeys pointer at an array indexed with SDLK_* symbols. Each pointer in the array corresponds with a button on the keyboard. If the value is 1, the key is pressed and the opposite for if the value is 0. It is important to note that the returned pointer should not be freed by the caller as it is a pointer to an internal SDL array. -The SDL_GetKeyState(int *numkeys) points the numkeys pointer at an array indexed with SDLK_* symbols. Each pointer in the array corresponds with a button on the keyboard. If the value is 1, the key is pressed and the opposite for if the value is 0. It is important to note that the returned pointer should not be freed by the caller as it is a pointer to an internal SDL array.
 +
 +======Game implementations======
 +
 +===Impossible Game/Square Dash(pending name) by Brandon and Billy===
 +==Concept==
 +You are a square that constantly speeds to the 
 +right. With only the ability to jump, you must 
 +maneuver around the obstacles that may cause you
 +harm.
 +
 +In the kingdom of Polygonia, The twin nobles
 +Prince Radii and Princess Diameter have been 
 +kidnapped by the Notorious Troll Nunia. Nunia 
 +you may ask? Nunia business. As the only shape
 +able to jump, you must go on a great voyage ​
 +to stop Nunia from enacting his terrible plans, ​
 +rescue Radii and Diameter from a inevitable death,
 +and save Polygonia from plunging into darkness.
 +
 +==Possible Obstacles==
 +  * <​del>​walls</​del>​
 +  * spikes
 +  * portals
 +  * reversed gravity zones(Special level effect)
 +  * <​del>​pits</​del>​
 +  * Ice/​Oil/​Slick platforms
 +
 +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.
 +
 +  * <​del>​Hit detection</​del>​
 +  * <​del>​text indicating death</​del>​
 +  * <​del>​Death/​start over</​del>​
 +  * <​del>​oil slick, and portal testing</​del>​
 +  * Set up the map (level 1 in progress)
 +  * start menu
 +  * level change animation
 +  * Level 2 and level 3 (map setup)
 +  * End/​beginning cut scene
 +  * Boss Battle!
 +  * Multiple sprites for Nunia during boss fight
 +
 +
 +
 +
 +==IDK what i'm doing yet (Pending ideas) by Josh==
 +==Concepts==
 +
 ++ Side/​vertical scrolling metroid-vania style game; post apocalypse themed
 +
 ++ Physics based moon/​planet/​asteroid lander
 +
 ++ Single screen mouse-click shooter, in the vein of early browser-based flash shooters
 +
 +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.1549511995.txt.gz · Last modified: 2019/02/06 22:59 by wprice2