- Smashball is fun physics-based mobile game developed in C++ using cocos2dx game engine
- Box2d C++ physics engine is used for realistic physics simulation
- The objective of the game is to score as many points as possible in one minute by flicking the ball towards a target board. There are multiple stages with different kinds of boards and obstructions, so the optimal strategies would potentially change per stage (see demo below for the different objects implemented).
- Some features implemented:
- Implemented following different kinds of
Board
s:HingeBoard
SpikyBoard
StaticBoard
- Implemented following different kinds of
Obstruction
s:RectangularObstruction
RectangularHingedObstruction
TriangularObstruction
TriangularHingedObstruction
- Implemented
SpikeFixture
that can be attached to aSpikyBoard
- Implemented a cool
Wormhole
that can teleport the ball between two locations!
- Implemented following different kinds of
- These objects are implemented in a clean class hierarchy so that the code that lays out levels is generic, and thus level prototyping is quick
- Following additional functionalities are also implemented:
- Pause/resume functionality
- Combo-multipliers
- Highscore saving per stage
- Click on the image below to watch a video walkthrough on YouTube
Classes
contains the source codeResources
contains the assets/resources