bethgrace5 / game Goto Github PK
View Code? Open in Web Editor NEWcs335 final game project
cs335 final game project
Initial animated menu, pause menu
Currently, in getSpritePosition()
in main.cpp
, the position is related to pixels and therefore, moves with the camera. I needs to be related to the window frame instead. If you can think of another way to fix window scrolling, that would be fine too. It needs to keep the sprite in the center of the screen throughout the game with the exception of the very beginning and end of the level.
I tested the game in a linux computer and it says the fmod_playsound
is not declared in this scope in brainS.cpp
game(7652,0x7fff73d5b300) malloc:
*** error for object 0x7f81094291b0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
Blue screen of death shown for failure.
I notice the game being slowed down in Linux.
Did you guys notice it on your own Linux computers?
I don't know if this will be a problem.
stuff
Object.h will be the header file for all the subclasses.
We need a function to cleanup existing enemies/powerups and reset them, so when a user ends the game, it can start new. Currently it does not start new each time.
#ifndef OBJECT_H #define OBJECT_H
at the beginning of the file, and #endif
at the end.So far, there are ideas for powerups and weapons that will be picked up by the sprite. This implementation needs to be taken care of.
They have the same values and functionality.
so instead of this..
Sprite sprite(50, 50, WINDOW_WIDTH/6, 700);
Ground ground_1( 300, 50, WINDOW_WIDTH/2, 200 );
This
Sprite sprite(50, 50, WINDOW_WIDTH/6, 700);
Sprite ground_1( 300, 50, WINDOW_WIDTH/2, 200 );
It may require changing some functions in main, but it will make things a bit easier.
design the map of the level.
detailed report to turn in.
We need to get ready to add sound effects and music. But,
even if we have these functions, we also need to get sound effects and music files.
Get as much sound files and music possible, so we can compare and choose the best possible ones.
Here's one place to get sound effects:
8 bit sound effect: http://www.bfxr.net/
- you can customize you own 8 bit sound effect
- also you can make music with this, but I don't know how
When the sprite falls of the floor, or is killed by an enemy, it needs to respawn.
Create the falling numbers in the background, similar to the rain forest in lab02. The numbers need to disappear before hitting any physical surfaces so they appear to be in the background.
Idea: They also may change colors as falling by relating the y-position to the color, depending on how hard this would be to implement.
The sprite needs to stand on the existing floor, and fall off screen when not on it.
When we make more objects in the code. We might end up with lots of...
43 Object Enemy1(50, 150, WINDOW_WIDTH/6, 700);
44 Object Enemy2( 300, 50, WINDOW_WIDTH/2, 200 );
45 Object Enemy3(400, 100, 50, 200);
46 etc...
We need a way to save and load these objects instead.
Most of the new classes will inherit from our existing object class, because they share similar properties. Also give input on whether some of the following classes are extraneous, and what classes are missing from the list.
implement bullets and shooting functionality
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.