Trapped in a Dream

Trapped in a Dream

Trapped in a Dream

Original name: Trapped in a Dream

When: Global Game Jam 2016 (Lima)

Genre: Point and click.

Engine: Unity 3D

Programming Language: C#

Target Platform: MS Windows, Mac OS X

It was a surprise that working with a totally different new group of people I ended up working again in a point an click video game. The previous experience helped a lot, one example is the user interface which improved a lot compared to the inexistent menu that my game had in the 2015’s Global Game Jam.

 

pickingupitem

Trapped in… has a bottom menu with all the items collected.

This time the idea was just a word, “Ritual”, so after the traditional brainstorming we decided to stage a guy in a dream, who must follow a serie of steps in order to awake. If the character skips or makes a wrong action, he dies in the dream and the game starts over.

 

start

This is the starting point in the dream.

 

lost1

And this is what happens when you fail any ritual’s step.

The Item menu was created using the Unity’s tools for creating User Interface such as the Grid Layout Group and for the effect when dragging and item, the game simply updates the position of the image to the mouse during the dragging.

We’ve got some issues when going upstairs because we decided to don’t let the character jump, probably we should gave him the ability to make a small jump.

The ritual in the dream consists of picking up items and decide whether give them or not to another characters and reaching certain areas having accomplished some steps previously.

 

givingitem

Every time you find a character, you have to find out if giving him one item is part of the ritual.

Programatically, for implementing the ritual, every action like picking or giving an item has a code, these codes could be concatenated or saved in a data structure, like a stack. Once the player pass by a checkpoint, every checkpoint will check that the player has the correct sequence of codes, if the character’s code sequence matches the one from the checkpoint the game continues, otherwise the character dies and the game restarts.

The link to the game in the Global Game Jam site is:

Global Game Jam Link

 

Leave a Reply

Your email address will not be published. Required fields are marked *