Overview
uGameCore is a powerful framework for Unity game engine that contains core components of what every game should have. It takes care of everything âunder the hoodâ, allowing you to focus on main parts of the game, like game logic and design.
Donât ever again start from scratch, or waste your time on creating menus, settings, multiplayer⌠It is all done for you. You are 10 minutes away from finishing all background stuff, and finally focusing on the game itself.
All features are built on top of Unity, which means it is very easy to extend them, and to adapt them to any existing project.
Repository for library which is used in the project (uGameCore.dll) is here.
Features
- Player management â per player data (e.g nickname), player logins, choosing teams, spawning playing object
- Teams management â every player can belong to a team (select team when joining, or change it later), or be a spectator
- Map cycle â automatic map changing on time interval
- Round system â round ends on time limit or on team victory, causing all players to be respawned
- Spectating other players while dead
- FFA â free for all mode
- Scoreboard
- Chat
- Menu system â hierarchical organization of menus â builtin main menu, start game menu, join game menu, settings menu, pause menu, ingame menu
- Cvars
- Settings menu â allows to edit configuration (cvars) in a separate menu, and save/load them to playerprefs
- Console â displays game log, allows commands to be entered
- Console commands â can be used for server management, interaction between client and server, etc
- Kill events â UI area for displaying kill events (when one player kills another)
- UI for using all available features
- Batch mode â support for running in batch mode (as a dedicated server)
- Bunch of utility scripts
- Demo scene to get you started
- Extremely easy to extend
- One click setup from editor menu
- many othersâŚ
To mention again, the framework is fully extendable. Scripts are communicating using broadcasted messages â new scripts can be added to catch these messages and change behaviour. You can detect almost any event in a game by subscribing to class events.
Download
Download project as zip archive. Demo builds are available here.
One click installation
There is an editor menu which allows you to setup the project in one click (located at uGameCore => Setup => One click setup).
So, go ahead and press that menu. If everything went fine (there are no errors or warnings in the console), then you are good to go => hit the Play button.
Manual installation
If you encounter any errors or warnings during one-click setup, you should try to fix them. Itâs not that difficult, all possible errors and warnings are logged to console, so you can quickly see what is the problem.
Anyway, these are the steps which performs one-click-setup (which you can perform manually, if the setup doesnât work):
-
create new scenes as copies of original startup and offline scenes
-
add them to build settings
-
add demo scenes to build settings
-
open newly created startup scene
-
create modules (prefabs)
-
group modules (you can use menu)
-
assign offline scene in NetworkManager
-
populate map cycle from build settings
-
save scene
Links
Feedback
If you have any questions, feel free to contact us, or post an issue.