- [Opis]
- [Wymagania]
- [Uruchamianie Projektu]
- [Sterowanie]
- [Tworzenie Poziomów]
- [Struktura Folderu Assets]
- [Skrypty]
"Neurorun" to projekt gry w Unity, w którym gracz może sterować postacią za pomocą pada lub klawiatury. Gra pozwala graczowi na interakcję z otoczeniem, za pomocą urządzenia NeuroSky Mobile 2, za pomocą parametru skupienia.
- Unity (wersja 2022.3.7f1)
- Pad lub klawiatura
- Neurofiszka Bridge i Thinkgear Connector
- Urządzenie NeuroSky Mobile 2
- Sklonuj repozytorium na swoje lokalne urządzenie.
- Otwórz projekt w Unity (wersja 2022.3.7f1).
- Przejdź do folderu "Scenes" i otwórz scenę "Menu" lub wybierz opcję "Build and Run" w Unity.
- Aby połączyć się z urządzeniem EEG NeuroSky Mobile 2, użyj Neurofiszka Bridge i Thinkgear Connector.
Gracz może sterować postacią za pomocą pada lub klawiatury. Urządzenie EEG NeuroSky Mobile 2 jest wykorzystywane do sterowania elementami otoczenia.
Projekt gry "Neurorun" umożliwia tworzenie nowych poziomów. Aby stworzyć nowy poziom, wykonaj następujące kroki:
- Przejdź do folderu "Scenes" i utwórz nową scenę, która będzie reprezentować Twój nowy poziom.
- Dodaj obiekty, teren i inne elementy do nowej sceny, które chciałbyś umieścić na poziomie, gotowe elementy znajdują się w folderze Prefabs.
- Zapisz scenę.
Projekt "Neurorun" zawiera następującą strukturę folderu "assets":
-
Folder to store assets from external sources
-
Is a script that focuses on character actions like interactions with environment
-
Is a script that focuses on player movement and gathering the data about controls
-
Is a script that focuses on making game object available for interaction with player
-
Is a script that focuses on controlls interaction, it should be attached to the Player
-
Is a script that focuses on connecion with Neurosky Device
-
Is a script that focuses on making object kill Player on touch like e.g. spikes
-
Is a script that focuses on managing levels, changing scenes
-
Is a script that focuses on creating logic for exit using portal
-
Is a script that focuses on managing slider, it allows for player to save attention treshold but also to load it from PlayerPrefs
-
Is a script that focuses on counting time that has passed as the player progresses through the level and getting the final result