cermakm / pong Goto Github PK
View Code? Open in Web Editor NEWA very simple demonstration of PONG game made in C++ using SDL2 library.
A very simple demonstration of PONG game made in C++ using SDL2 library.
#### AUTHOR : MAREK CERMAK #### #### DATE: 12_2016 #### PONG - SIMPLE ADAPTATION OF A FAMOUS PONG GAME - SINGLE PLAYER #### CREATED IN ASSOCIATION WITH ##SDL2, ##SDL2_TTF, ##SDL2_IMAGE LIBRARIES #### #### Launch via the exe file in "Release" folder CONTROLS: USE ARROW KEYS OR 'A' 'S' 'D' KEYS FOR DIRECTION MOVEMENT AND STOP : USE SPACEBAR TO JUMP PLATFORM : PRESS 'P' OR 'ESCAPE' FOR PAUSING THE CURRENT GAME : WHILE IN PAUSE MENU, USE FOLLOWING KEYS : 'ESC' / 'ENTER' / 'P' TO RETURN TO GAME LOOP 'M' TO RETURN TO MAIN MENU AND START CURRENT LEVEL ALL OVER 'Q' TO EXIT : WHILE IN MAIN MENU, USE THE FOLLOWING KEYS: 'ENTER' / 'S' TO PROCEED TO THE GAME LOOP 'H' TO OPEN HELP FILE 'Q' TO QUIT YOU CAN QUIT ANY TIME, YOUR CURRENT LEVEN AND SCORE WILL BE SAVED FOR DIRECT CONFIGURATION OF YOUR GAME INCLUDING WINDOW SIZE AND SKIP INTRO, CONFIGURE 'CONFIG.TXT' FILE WITH PROPER PARAMETRES - USED FOR TESTING PURPOSES ONLY #### KNOWN ISSUES: -- The collision between the Paddle and the Ball works even on the level of the paddle - requires better collision calculating -- The "config.txt" requires strict parametres and has very little exception handling, therefore, if something goes wrong, it might be the couse. Delete the "config.txt" file and see if the issue persists.
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.