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

My Pokémon Baking Book arrived today

#MyPokemonBakingBook #InsightEditions #Giveaway

It's just rain

Made in Blender using Dynamic Paint and particles.

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

Doki Doki Literature Club is celebrating Monika's birthday and the 8th anniversary of DDLC with exclusive stickers, avatar frames and backgrounds on Game Jolt! 

Head over to the shop to collect yours 👉 https://gamejolt.com/#shop

Lord Vader decides to delete his Minecraft world

Made in Blender.

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

Mae Borowski is the main character of Night in the Woods! It's an adventure game that tells the story of her return to her hometown of Possum Springs. She was confirmed as canonically pan in a social media post by the game's creator Scott Benson.

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

PC - I've never had a console.

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

The Knightling launches on August 28! Wishlist it now so you don't miss out: https://bit.ly/KnightlingSteam

To celebrate the game's impending release, we've added The Knightling Pack and The Knightling Community Pack back to the Shop!

Beware of the armored frog

Kikkerstein's tank made in Blender for the War Thunder quest.

#Blender #3D #3DArt #Modeling #Animation #Kikkerstein #Kikkertank #Tank #WarThunder