Teki – The turtlegirl

Reading Time: 2 minutes

This tutorial is about a 2D game, Teki. Teki is a girl, a turtlegirl. The game is very simple. The track has three things. Teki, our heroine, the nice background about her  home, and some barriers, and they can be stones, and colorful birds as well.


The game is a side-scroller game where the player controls a turtle, attempting to run on the ground and to avoid the barriers front of her.

GDX framework

The game is a side-scroller game where the player controls a turtle, attempting to run on the ground and to avoid the barriers front of her.


libGDX logo
libGDX logo

GDX framework is a free and open-source game-development application framework. It is written in the Java programming language with some C and C++ components for performance dependent code. It allows for the development of desktop and mobile games by using the same code base. It is cross-platform, supporting Windows, Linux, Mac OS X, Android, iOS, BlackBerry and web browsers with WebGL support.

Agenda

We’ll begin by looking at how we can use sprites in our games and how we can use backgrounds and starts to make those backgrounds and sprites interact with each other. Then we’ll put it all together with a scoring system and a game over slash start again scoring.

We are going to add a High score system as well, where the game will check the username and previous score of the useres. The game will sort by descending the best 10 users and save it on the actual devices memory.

    1. Introduction, and agenda
    2. Get and install Gdx library 
    3. Create an app icon 
    4. The background
    5. The game states
    6. Add Tekithe Turtle 
    7. The timer
    8. Calculation of scores and levels
    9. Scoring and level Textures
    10. Up and down arrow
    11. The touch of the arrows
    12. Jump, crawl and gravity
    13. The barriers
    14. Collision Detection
    15. Game Over screen
    16. The restart and back buttons
    17. The main menu
    18. Change the username
    19. Save the username
    20. High score
    21.  AdMob
    22.  Upload to Google Play 

Questions

I hope the description was understandable and clear. But, if you have still questions, then leave me comments below! 😉

Have a nice a day! 🙂

Follow and like us:

Click to rate this post!
[Total: 0 Average: 0]

Leave a comment

stay informed!

Subscribe to receive exclusive content and notifications