jiama843 / 2D-Experiments

A set of 2D experiments to gain an in depth understanding of how to effectively use the Unity game engine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2D-Experiments

Developing good habits by conducting 2D Experiments in Unity

Some Observations

Movement

Object oriented approach by separating vertical and horizontal motion. This makes it easier to add additional functionality and abilities.

Attack

Generation and augmenting lifetime of projectiles allows for a simple shooting solution.

Alternatives are:

  • Wait until bullets leave screen and keep count of maximum
  • Set fixed intervals in between projectiles

Dialogue

Display text using dictionary to represent characters (keys) and text (value). Printing individual characters and manipulating the text update thread allows for more natural looking speech.

Final Result

  • Something like this:
Screen.Recording.2021-11-17.at.11.54.45.PM.mp4

About

A set of 2D experiments to gain an in depth understanding of how to effectively use the Unity game engine.


Languages

Language:C# 100.0%