lukejerry / sdl-platform Goto Github PK
View Code? Open in Web Editor NEWA very basic attempt in creating a one-screen platform game with SDL
A very basic attempt in creating a one-screen platform game with SDL
/******************************************************************************/ /* PICK-the-virus - A simple 'one screen' platform engine in ANSI-C and SDL */ /******************************************************************************/ /* */ /* # History: */ /* */ /* - 13-08-2012: . Added platforms and walls collisions, but would be */ /* better to use pixel-precision detection like from: */ /* http://sdl-collide.sourceforge.net/ */ /* */ /* . Added 'on-the-fly' screen size change with F2/F3 keys */ /* at the moment only 2x and 3x selectable. */ /* Code still needs lot of rework/optimization in this area */ /* */ /* . 16-08-2012: . Added fullscreen mode - cleaned screen init code */ /* . Added window icon */ /* */ /* . 20-08-2012: . Moved definitions and declarations in .h files and */ /* functions in different, appropriate .c ones */ /* */ /* . 21-08-2012: . Started code optimizations and cleanuop on global, */ /* static and const variables */ /* */ /* # TO DO: */ /* */ /* . Pixel accurate collision */ /* . Fonts/Writing on sceen for debug and game info (lifes,energy,etc.) */ /* . Joystick support */ /* . Sound (Music and FX) */ /* . Port to web (JavaScript) with emscripten */ /* . Port to Amiga 68K with Amiga SDL */ /* */ /******************************************************************************/ References: http://moosader.com/resources/tutorials/beginners-guide-to-game-programming-1-SDL/ http://lazyfoo.net/SDL_tutorials/index.php http://lazyfoo.net/SDL_tutorials/lesson01/windows/devcpp/index.php
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.