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

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

Lord Vader decides to delete his Minecraft world

Made in Blender.

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

My Pokémon Baking Book arrived today

#MyPokemonBakingBook #InsightEditions #Giveaway

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

It's just rain

Made in Blender using Dynamic Paint and particles.

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

Dive into the cozy post-apocalyptic open world of Critter Cove!

Gentleman Rat Studios (@GR-Rob ) describe it as “a little bit Animal Crossing, a little bit Stardew Valley. Maybe even a little bit Windwaker, too."

Wishlist the game: https://bit.ly/CritterCove

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

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

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

PC - I've never had a console.

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

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.