Skip to content

Cross-platform C++ Cocos2d-x game with social media and analytics

Notifications You must be signed in to change notification settings

joeaoregan/LIT-Yr4-PlatformGameDevelopment

Repository files navigation

Platform Digital Game Development

Joe O'Regan (K00203642)

Year 4 (2017/18), Semester 8

BSc Computing (Games Design and Development)

Limerick Institute of Technology

Cocos2d-x Space Game

Side-scrolling 2D Space Shooter

Using SDKBox and Google Analytics

28/04/2018

Cross-platform C++ game for Win32/Android created using Cocos2d-x created for the Platform Games Development module of year-four of Games Design and Development course using the Space Game tutorial at raywenderlich.com as a starting point.

The game includes Google Analytics and Google Play Services Leaderboards and Achievements.


Additions:

  • Changed backing track
  • Added music player (Image 11, 12)
  • HUD for Level, Score, and Timer (Image 3)
  • Additional level and menu scenes (Image 3)
  • Added direction controls for mobile (Image 4)
  • Double laser weapon (Image 5)
  • Lives indicated with icons (Image 6)
  • Additional enemies (Image 7)
  • High scores table (Image 8)
  • Power ups
  • Added status bars (Image 13)
  • Boss Enemy (Image 14)
  • Connect to Google Play (Image 15)
  • Analytics (Image 16)
  • Leaderboards (Image 17)
  • Achievements (Image 18, 19)
  • Improved Menu (Image 20)

Videos:

Space Quest Trailer Youtube

Space Quest Trailer Youtube

Screenshots:

Space Game Space Quest 1: Splash Screen


Space Game Space Shooter 2: Original raywenderlich.com tutorial


Space Game: Added Level Number, Score, and Timer Space Quest 3: Added Level Number, Score, Timer, and keyboard movement


Space Game: Dpad Space Quest 4: Mobile control pad (Dpad (EasyArrowsx-3.0, Jordon Brown), changes made)


Space Game: Double Lasers Space Quest 5: Double Lasers


Space Game: Enemies Space Quest 6: Enemies


Space Game: Level 2 Space Quest 7: Level 2, score and lives carry over from previous level, and background changes


Space Game: High Scores Table Space Quest 8: High Scores Table, displays up to ten scores, and indicates when a new high score is a achieved


Space Game: Menu High Scores Space Quest 9: The high score is displayed in the menu


Space Game: Multiple Laser Weapon Space Quest 10: Multiple Laser Weapon allows from 1 to 4 beams to be fired


Space Game: Music Controls Space Quest 11: Added music controls to add to menu and game scenes


Space Game: Asteroids and Enemies Space Quest 12: Additional Enemies, with different laser spawning/weapons firing functions, and rotating Asteroids


Space Game: Status Bars Space Quest 13: Added status bars for enemy health bars etc.


Space Game: Enemy Boss Space Quest 14: Enemy Boss - DerpStar - with rotating laser canons


Space Game: Google Play Space Quest 15: Sign into Google Play functionality added using SDKBox


Space Game: Google Analytics Space Quest 16: Google Analytics achievements recorded as events (SDKBox support added)


Space Game: Leaderboards Space Quest 17: Leaderboards


Space Game: Pop up achievements Space Quest 18: Pop up achievements


Space Game: Achievements Space Quest 19: Achievements


Space Game: Main Menu Space Quest 20: Leaderboards and Achievements accessed from Main Menu


Links:

Tutorials Used:

RayWenderlich: Cocos2d-x Tutorial for Beginners

RayWenderlich: Cocos2D-X Tutorial for iOS and Android: Space Game