paul-schwendenman / cpsc416vg Goto Github PK
View Code? Open in Web Editor NEWThis project forked from amast09/cpsc-416-video-game-project
My Computer Science 416 Video Game Project
This project forked from amast09/cpsc-416-video-game-project
My Computer Science 416 Video Game Project
Name: Aaron Mast Email: [email protected] Date: 04/23/2012 Proj No: 5 Description: 1. Incorporated AI 2. Incorporated a Menu To change the XML file and the animation: Sprite sources, destinations, speeds, number of them. MultiFrameSprite delays between frame updates, number of them. Change how long the explosions last Change how far a missle will travel Change the min and max speed of the player Change the number of any of the sprites other than the player Change all of the locations, player is the only one who takes an exact coordinate the rest of the sprites are randomly generated Setup initial number of enemies Setup player breathing room for the start You can change almost anything through the xml *MAKE SURE THE INITIAL VELOCITY MATCHES UP WITH THE CORRECT ROW OF THE SPRITE (the way mine are, usually negative velocity will correspond to row 1 and positive velocity will correspond to row 0) The Specs that I implemented are: Enemy Class - used composite pattern to wrap MultiFrameClass with enemy features in order for enemies to be any MultiFrame sub class Menu Classes - your menu implimentation, but added a gravity parameter and a help section The Specs that I was unable to implement are: NONE!!! ITS PERFECT!!! Extras: All sprites are feverishly sweat blood and tears made by yours truly. Notes: See help section inside my menu for detailed information Enemey AI = if the player is within the attack range and in front of the enemy then the enemy will increase X and Y velocity by the attack speed, the Y velocity will be set to 0 when it reaches a Y of within 20 of the player this is to reduce jutter if you make it stop exactly on the player Y coord because the player will not be holding to a constant Y coordinate, once these conditions are no longer met the enemy resumes it's previous velocities from before it was tracking the player Mac Instructions 1. Install SDL and SDL_ttf, etc. $ brew install sdl sdl_ttf sdl_gfx sdl_image sdl_mixer 3. Run it $ ./run
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.