platform-test/README.md

46 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

2017-06-16 16:14:24 +00:00
![alt text](https://github.com/posweg/platform-test/raw/master/textures/title.png "Platform test!")
=====
2017-04-29 19:21:20 +00:00
2017-06-16 16:14:24 +00:00
This is my first semi-big or not-so-small project, made to get my hands dirty with SDL2, have fun and experiment how feels to make an actual game, with its structure and stuff.
2017-04-29 19:21:20 +00:00
2017-06-16 16:14:24 +00:00
So far I have implemented a regular platformer, with its player, player physics, powerups, walls/blocks, and a menu system. It's all messy and clunky but hey, it's my first time and I'm doing what I can so have patience with it if you watch some huge stupid mistake thingy. And of course if you see one of those, tell me, correct it and make a pull request or put an issue!
2017-04-29 19:21:20 +00:00
## Controls
2017-06-16 16:14:24 +00:00
**In the menu:**
- **UP** and **DOWN** to navigate
- **SPACE** to accept
**PD:** the first button is to play, the third one quits the game and the second one... does nothing.
**In-game:**
- **ARROWS** To move around
2017-04-29 19:21:20 +00:00
- **SPACE** To jump
- **LSHIFT** To run
## Compiling
Dependencies:
2017-06-16 16:14:24 +00:00
- SDL2
- SDL2_ttf
- SDL2_image
- SDL2_mixer
2017-06-16 16:14:24 +00:00
To compile it just follow the standard CMake procedure:
mkdir build && cd build
cmake ../
make
make install
2017-04-29 19:21:20 +00:00
## References
2017-06-16 16:14:24 +00:00
Lazy Foo's SDL guide: http://lazyfoo.net/tutorials/SDL/index.php
2017-06-16 16:15:43 +00:00
2017-06-16 16:14:24 +00:00
Jorge Rodrigez's YouTube series on Math for Game Developers: https://www.youtube.com/playlist?list=PLW3Zl3wyJwWOpdhYedlD-yCB7WQoHf-My
2017-06-16 16:15:43 +00:00
2017-06-16 16:14:24 +00:00
Khan Academy's algebra series: https://www.youtube.com/watch?v=kpCJyQ2usJ4&list=PL7AF1C14AF1B05894