Loading...
130
2 years ago

Dialogue system prototype using an animation state machine that I implemented in my old Unity project.

#Unity #Dialogue #Conversation #Quest #System #RPG #Game


After initiating a conversation, an invisible object spawns on the scene, which plays this conversation as its animation. To control the UI and the flow of the conversation, I wrote several state machine components:

Statement - displays what the NPC says.

unity_2018221f1_personal_64bit_-_testroomunity_-_ante_portas_-_pc_mac__linux_standalone.png

Chose - shows dialogue options. The available options may depend on the player's attribute level (strength in this case) or the stage of the quest.

unity_2018221f1_personal_64bit_-_testroomunity_-_ante_portas_-_pc_mac__linux_standalone.png

If Quest - controls the course of the conversation depending on the stage of the quest.

unity_2018221f1_personal_64bit_-_testroomunity_-_ante_portas_-_pc_mac__linux_standalone.png

Set Quest - changes the stage of a given quest.

unity_2018221f1_personal_64bit_-_testroomunity_-_ante_portas_-_pc_mac__linux_standalone.png

There is also a randomizer component, but it is not used in this case.

image.png


0 comments

Loading...

Next up

What's Your Most Feared Minecraft Mob?

My first thought was this green guy who appears out of nowhere and erases all your efforts in one second

#MostFearedMob #ArtWeeklies #Blender #Animation #Minecraft #Cave #Creeper #3D #3DArt

It's just rain

Made in Blender using Dynamic Paint and particles.

#Blender #3D #3DArt #Animation #Rain #Storm #Window #DynamicPaint

After 7 long years, the wait is finally over. Chapters 1-4 of DELTARUNE are out now!

Celebrate the parallel story to Undertale by completing these quests.

What's Your Favorite Video Game Console Of All Time?

PC - I've never had a console.

#GJAsks #Blender #3DArt #3D #PC #Room #Darkness

Let Them Come: Onslaught by @Tuataragames has come to Game Jolt!

Celebrate by completing our quests!

Play the FREE demo of Let Them Come: Onslaught on Steam: https://bit.ly/LTCOdemo

Lord Vader decides to delete his Minecraft world

Made in Blender.

#StarWarsArt #FanArtFriday #ArtWeeklies #Minecraft #Blender #Animation #3D #3DArt #DeathStar #Space

Chibi drawing by Aikeji, modeled and animated in 3D.

Made in Blender.

#Blender #3D #3DArt #Modeling #Animation #Chibi #Aikeji

The Button Effect – @Frycandle 's minimalist first-person puzzler inspired by The Witness, The Talos Principle and The Beginner's Guide, is coming to Steam! 

Play the demo and wishlist the game now: https://bit.ly/thebuttoneffect

Comparison of view transforms in Blender using Christmas candles as an example

#Blender #3D #3DArt #ViewTransform #Christmas #Candles