Game
Clever Cogs
9 years ago

In game menu and pause


To help players understand which character they are controlling I had to put some visual cues into the game. To do this I have created in game interface that is quite simple, but it does the job. It consists of 3 image objects as shown on the image below (images are temporary):

5d0b33de93b90.png

Each image object will have an image representing a character. The active character will have their eyes glowing to signify that it the active character, while the other 2 will be in the “Turned off” stated with their eyes not glowing. When a player switches to a character the icon for that character becomes active.

This wasn’t hard to implement since when player switches between characters, there is a method that gets executed, so I just added a line to it that changes icons.

What was a bit more difficult was the pause menu. I had to figure out a way to pause a game, but also insure that when it’s resumed all of the forces are saved and objects don’t just drop down. Luckily my classmate David (his game blog: ) had managed to find an easy way to do this by setting timescale to 0 and back to 1 when it’s resumed. When the game is paused a small menu shows up to allow players to quit or resume.

5d0b33e0d9d1d.png

The problem I did encounter is the camera tracking. Even after the game was paused camera continued to follow the mouse. To solve this issue I just disabled camera tracking script when the game is paused and enabled it when it is resumed.



1 comment

Loading...

Next up

Menu Changes and Death mechanic Just a quick update on the menu changes. I have added a restart option to the pause menu The same function will be used to restart the level when a player hits “Death spikes”.

Base for 3rd character The last of three characters is complete… well the base model is.

First character is finished (well, modelling is) Texturing will be done when other characters are ready. The model is far from perfect, but it will do for now.

Base for 2 characters (need to be finished) The base models for small and medium characters are done (see below) I had to remake the legs for the character since they looked way too small. The new ones look better:

Smile! Here, take some happy pills! ✨💊 #Blender #3DModelling #3DArt Buy me a Ko-fi: https://ko-fi.com/barbarafb_

Runestones: from concept to in-game model🗿

We're glad to announce that Baby Dino Adventures 🦖 is now available in Early Access here on GameJolt! Link: https://gamejolt.com/games/babydinoadventures/508121 Walk, run, and jump as a baby t-rex in this cute platformer Free demo available #IndieGame | #GameDev | #PixelArt

Let me introduce you to the new Mech line: Gendai Spec. Those are Mech that specializes in surprise attacks, covered operations, and stealth. They are equipped with melee weapons but one of Gendai's frames supports sniper rifles.

A few screenshots of the places you'll cross in the Demo of Blu. You can play it today on #gamejolt !

Some time ago, we posted a screenshot of the Mexico level. A curiosity about it is that, like some other scenarios of the game, it was inspired by a real landscape, The Basaltic Prisms of Santa María Regla. It is one of the natural wonders of the country!