(IM)MORAL
(EN) English
This is the English page. But we also have one in Spanish!
Introduction
(IM)MORAL is a competitive game, which may seem fast and chaotic at first but in which, with strategy, you can win any game.
The theme of the game is the conservation of spaces, whether natural or urban, in short, being a good citizen and taking care of the environment. For this, the players can use Bernie, the good-natured and altruistic hero of this story who seeks to keep everything in order; or Jonas who follows him, destroying everything he touches.
In this repository are the scripts used in our game (or you can download it from our itch.io).
Goal
The goal is easy, both players have three minutes to interact with the stage they are playing in (currently forest or city). Interacting with the elements gives points (depending on the element). When the time is up the one with more points wins.
Controls
Movement
The W, A, S and D keys move us on stage forward, left, back and right respectively.
Interact
The spacebar is used when we are close to an interactive object, to earn points from it (see the elements).
Exit
While in game escape shows a menu that allows you to go back to the main one.
Objects
Elements
- Asymmetric: a player can activate it to earn points over time, but if activated the opponent can destroy it to earn points.
- Progressive: if a player activates it, begins to level up and generate points (according to the level), but if the opponent interacts with it, the other returns to the first level and the other begins to earn points. If it reaches the maximum level it gives a lot of points and disappears.
- OneTime: it can only be activated once, the one that activates it first will get points.
- Reversible: it starts from one side, if the other activates it, it earns points but changes sides, it gives less and less until it disappears.
Examples (Forest)
- Asymmetric: the bonfire is activated by Jonas, but Bernie can destroy it if it is lit.
- Progressive: the tree generates more and more fruit if activated by Bernie or burns more and more if activated by Jonas.
- OneTime: flowers can be watered by Bernie or burned by Jonas.
- Reversible: garbage can be collected (inside the container) if Bernie has touched it or scattered if Jonas has done it.
Potions
There are currently two: yellow to run and blue to earn double points for a while.
Tools and more
The game is developed purely in Unity and C#. What is found here is just the code of the same, there are parts that require knowledge of how Unity works or the possibilities it gives when associating elements from the editor, etc. If it is for learning we are open to questions, within our capacity.
The game is multiplayer and PUN (Photon Unity Network, from Photon 2) has been used for this. You can also ask us questions about this.
Code
As stated before, the code can be found in our GitHub page (check the button at the top ;D). It has comments in Spanish but the actual code uses English (for example, the variable names, functions, …) so you can follow it too. If it is still hard for you to understand it you can also try using a translator for the comments or contact us using one of the links down below.
Contact
Itch.io
YouTube
Gmail
games.adrift@gmail.com