Jump to content

Simple interaction between two characters


Recommended Posts

Hello guys,

i am currently building a simple 2D platformer and want to create a simple interaction between my main character and a NPC. Im trying to figure out which functions i should use for this scenario:

What i want to achieve:

Main character walks until it reaches the sprite of the NPC.

Soundeffect plays only one time and speechbubble (i will use a simple image) appears.

Speechbubble can only be confirmed by pressing Enter. While speechbubble is not confirmed character cant move.

When player hits enter, speechbubble disappears and character can pass the NPC without anymore interaction.

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...