Skip to content

An adventure game where you practice a language by reading bilingual subtitles while interacting with NPCs in real-life situations.

Notifications You must be signed in to change notification settings

TobiObeck/lingotown

Repository files navigation

Lingotown

Lingotown is a game where you can talk to NPCs with a bilingual dialogue system (proof of concept).

  • Texts are shown in the target language you want to learn
  • Also, a translation in your native language is shown with deemphasized text.

lingotown

You start in a training center...

1_receptionist

...and can play different simulated training scenarios for practicing real-life interactions in common situations. (currently only 1 scenario is implemented)

4_tech_guy

Start the first scenario:

5_computer

You are IN the virtual scenario accomplishing a simple fetch quest:

6_mother

Key Features and Noteworthy Implementation details

  • NPC dialogues are triggered with a sphere collider
  • door switch is triggered with a ray cast
  • The AbstractAfterInteractionAction class defines a method that can be executed after an interaction or dialogue. The actual implementation fo the action happens in an inheriting class. Therefore, different kinds of actions can be triggered after an interaction/dialogue in a composable fashion. E.g. simply by adding a small open door script.
  • ScriptableObjects for the NPC dialogues in german and english
  • animated dialogue
  • usage of singletons for manager classes
  • finite state machine-like pattern for determining the overall game state. This prevents looking and moving in the main menu and in dialogues.

Details about Assets

Tutorial Scene

3D models made with blender:

  • Robot NPC
  • computer monitor and mouse
  • key
  • building, doors, etc. built with unity standard objects

Second Scene

House

Free Fantasy Medieval Houses and Props Pack https://assetstore.unity.com/packages/3d/environments/fantasy/free-fantasy-medieval-houses-and-props-pack-167010

Ground Material

PBR Ground Free https://assetstore.unity.com/packages/2d/textures-materials/floors/pbr-ground-free-158595

Female NPC (host family member)

Girl with clothes. Worker set https://assetstore.unity.com/packages/3d/characters/humanoids/girl-with-clothes-worker-set-162925

About

An adventure game where you practice a language by reading bilingual subtitles while interacting with NPCs in real-life situations.

Resources

Stars

Watchers

Forks

Packages

No packages published