Skip to content

hasan-kamal/Smashball

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Smashball

About

  • 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:
    1. Implemented following different kinds of Boards:
      • HingeBoard
      • SpikyBoard
      • StaticBoard
    2. Implemented following different kinds of Obstructions:
      • RectangularObstruction
      • RectangularHingedObstruction
      • TriangularObstruction
      • TriangularHingedObstruction
    3. Implemented SpikeFixture that can be attached to a SpikyBoard
    4. Implemented a cool Wormhole that can teleport the ball between two locations!
  • 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:
    1. Pause/resume functionality
    2. Combo-multipliers
    3. Highscore saving per stage

Demo

  • Click on the image below to watch a video walkthrough on YouTube

Smashball Walkthrough

Repository structure

  • Classes contains the source code
  • Resources contains the assets/resources

Installation

Screenshots

1

2

3

4

5

6

7

8

9

10

11

About

Smashball is a fun physics-based mobile game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages