karthikchintapalli / laser-game-opengl Goto Github PK
View Code? Open in Web Editor NEWA 2D laser game built using openGL
A 2D laser game built using openGL
Brick Breaker ------------- This game involves falling bricks, a laser gun and 2 buckets. Bricks of colors red, blue and black fall from the top of the screen, there are two movable buckets of colors blue and red at the bottom of the screen, and a movable laser gun stuck to the left edge of the screen. The objective game is to collect as many red bricks in the red bucket and blue bricks in the blue bucket as possible; and to shoot down as many black bricks as possible. There are also mirrors placed randomly, that deflect the laser beam. Scoring ------- Shoot a black brick : +10 Shoot a blue/red brick : -5, lose a life. Collect a blue/red brick in the corresponding bucket : +10 Note: Score always remains positive. Game Finiteness --------------- Each time a blue/red brick is shot down, you lose one life. The game ends if you lose all three lives or if you collect a black brick in any of the buckets. Controls -------- Keyboard -------- a - Tilt gun up s - Move gun up d - Tilt gun down f - Move gun down n - Increase brick speed m - Decrease brick speed Space - Shoot Up - Zoom in Down - Zoom out Left - Pan left Right - Pan right k - Pan up l - Pan down Mouse ----- Click and drag on buckets, gun to move. Click on any other area of the screen to shoot in the corresponding direction. Scroll mouse up to zoom in and scroll mouse to zoom out. Right click and drag to pan in corresponding direction.
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.