HBreakout v0.0.1
This is simple Breakout clone written in C++. Project should compile without errors on GCC 5.4.0. If you are using different compiler then please change CMAKE_CXX_FLAGS in CMakeList.txt Currently only available for Windows.
Before compiling update library paths FREETYPE_INCLUDE_DIRS and FREETYPE_LIBRARIES in CMakeList.txt SDL2_image should be in the same directory as SDL2
Project page (polish): http://warsztat.gd/projects/hbreakout Download (win x64): https://www.dropbox.com/s/bt3gw7lpdn4ckwi/HBreakout.rar?dl=0
- Physics module: Collision rarely can't be detected (when in one frame ball will collide with the same object, for example level bounds, twice in a row).
- Physics module: Interlaced collision bounds can't hang up or crash application (stack overflow).
- Physics module: Collision between ball and paddle is checked poorly (paddle is treated as static object).
- FPS widget: Doesn't show part of graph
- Me: My English skills aren't good either :)
- Fix bugs
- Lives
- Power-ups
- Multiple balls
- Smarter asset loading
- Level file format
- Level editor
- Menu
- Not random levels
Currently implemented collisions are:
- Between two line segments
- Between line segment and circle
Collision between line segment and circle will show an normal vector.
- Left arrow - move paddle left
- Right arrow - move paddle right
- Space - shoot ball
- Up arrow - move paddle up
- Down arrow - move paddle down
- Mouse wheel - Speed up/slow down ball
- ~ - Disable/Enable background clearing (for tracing ball path)
- 1/2 - Previous/Next background
- 3 - Show/Hide font cache
- 4 - Show/Hide FPS widget
- 5 - Show/Hide collision shapes
- 6 - Disable/Enable safe game area
- MouseLeft - draw line segment
- MouseRight - draw circle