Hill Climb Racing – Deconstructed – Hud, checkpoints and tricks

Hi and sorry for delaying this chapter about HUD, checkpoints and tricks for so long, in this part we will go through how to identify tricks and checkpoints in the game using collision listeners etc. All aforementioned will be displayed on a HUD so user gets the feedback properly. Let’s start this chapter by creating … Read more

Hill Climb Racing – Deconstructed – Car, controls, camera, coins and fuel cans

Hello, in the last chapter we went through on how to create terrain and now we will focus on creating four main things we now lack. We will start by creating car which can be driven with reverse and accelerate pedals. In order to keep the car centered on the screen, we will create camera … Read more

How to develop Hill Climb Racing using Cocos2d-x

I decided to start writing a tutorial which covers creating a similar gameplay experience compared to Hill Climb Racing, which is very popular game for mobile devices and which in my opinion cover some essential aspects of developing games for limited mobile platforms. We will be developing Hill Climb Racing using Cocos2d-x v3.0 engine. As … Read more

How to develop Hill Climb Racing with Cocos2d-x – Terrain

Hi, this is the first part of the How to develop Hill Climb Racing with Cocos2d-x tutorial. I will presume you have some basic knowledge about programming and of using Cocos2d-x v3.0 engine. I’ll try to follow good coding practises while also giving links to related topics as we progress. Let’s get straight to the … Read more

Creating fading music effect in Cocos2d-x 3.0

Hello, In case someone is having some sort of difficulty implementing fading music effects in Cocos2d-x 3.0, feel free to click link below and see my implementation. https://github.com/joni-mikkola/cocos2d-x-tutorials I have inherited ActionInterval class for my MusicTo class, which means that it can be used as any Action in Cocos2d-x 3.0. To fade out music completely … Read more

Creating spotlight shader in Cocos2d-x 3.0

Hi! I’ve been working on a game project with Cocos2d-x 3.0. From time to time as I’m searching for documentation I can’t find any clear examples of how thing x works. So for now I decided to write simple samples/tutorials for such topics. The first one will be creating light shader for a dark scene. … Read more

I made LadderX for Ludum Dare 30 48h competition

Hi, long time since last post. Anyway, I participated in Ludum Dare 48h game development competition which ended about 12 hours ago. Because I haven’t taken a part in these kind of competitions before, I thought I’d have hard time getting my game completed in such a short time. Theme was “Connecting worlds”. The theme … Read more

Cocos2d-x 2.x keyboard implementation for Mac OS X

In case someone has problems implementing Mac Cocos2d-x 2.x keyboard like I did, here is link to GitHub with working solution: https://github.com/joni-mikkola/cocos2d-x/tree/keyboard I have provided sample project with the implementation code. I downloaded the original code from somewhere in Cocos2d-x forums and modified it properly to work with Mac OS X. All you have to do, … Read more