- Redistribution is not allowed, but you are free to modify the game and contribute!
- If you submit a pull request, it is likely to be included in the next patch! ^^
To compile, you will need:
- Maven
- Copy the
srcfolder into a blank Java 18+ Maven project - Set the
resfolder as the resource folder - Set the
srcfolder as the source folder
- Copy the
A copy of the game to copy over the necessary assets. Copy the following into the root of this project:
- Make a
res/folder and copy into here the foldersshaders,fonts, andlinux-x86-64from insidebin/racingmaybe.jar - The following folders:
audioimagesmodels
- You should now have 5 folders in the root folder;
src,res,audio,images, andmodels. - Then, either "Update Project" or "Install Packages" using the pom.xml
-
Exporting the final
.jar(optional, using Eclipse)- Click "Export" → "Runnable JAR file"
- Set Launch Configuration to
"Main - Racingmaybe" - Set Export Location inside the
bin/folder - Select "Copy required libraries into a sub-folder next to the generated JAR"
- Click Finish
- To launch, run in CLI:
.\jre\bin\java.exe --enable-preview -jar bin/racingmaybe.jar
-
Exporting the final
.jar(optional, using IntelliJ)- Create
/binfolder in the project root - Open
File -> Project Structure(Ctrl+Alt+Shift+S), navigate toArtifactsand click the+button - Select
JAR->From modules with dependencies - Select main class as
Main.main - Directory of manifest should be the
/resfolder in the project - Set Output Directory in Artifacts menu inside the created
bin/folder - Click Apply and OK
- Build the artifact by selecting
Build -> Build Artifacts...and selecting the artifact - To launch, right-click created
RM.jarand selectRun
- Create
UIUsernameModal ┌─────────────────────────────────────────────────┐
▲ │ │ │
│ ▼ ▼ │
│ Lobby/Race ◀────────► GameInfo ──► Message ──► Remote ──► Message ──► Translator
│ ▲ │
│ │ ├── GameMode
SceneHandler ◀─ InputHandler │ • Points Management
▲ │ • Money Management
│ │ • Track Length
Main │ • Rounds Management
│
├── Players
│ └── Player
│ ├── History
│ ├── Bank
Lobby │ ├── Upgrades
├── CarChoiceSubscene │ ├── Layer
└── UpgradesSubscene │ └── Car
│
Race ├── Store
├── RaceVisual │
├── FinishVisual └── GameRemoteMaster
└── WinVisual • Game End Control
Car
├── CarFuncs
├── CarStats
├── CarAudio
├── CarModel
└── Rep
Upgrades & Layer & TileVisual (+TilePiece)
├── Upgrade
│ ├── RegVals
│ └── UIBonusModal
├── Tool
└── EmptyTile
Features
└── Global Interaction Access