Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
(1 edit)

Day 5.

Started creation of player actions menu. Player will be able to start dialog with any entity which provides dialog :)

Currently, player could start dialog with planet:

Implementation steps:

1) add ComponentWithDialog for certain planet entity

2) detect planet appears in camera view and refresh global visiblePlanets(entities) variable

3) start PlayerActionDialog (in my case it is button in UI) which will add options to call each planet(entity) in visiblePlanets(entities)

4) start selectedPlanet.dialog when player presses Call planet option

PS: each dialog is a custom implementation of state-machine with descriptions, options-for-selection, active-picture
Quest state-machine driver implementation