rap men initialization (#742)

Co-authored-by: vincells <101846355+vinceiis@users.noreply.github.com>
This commit is contained in:
Obelisk
2024-03-05 01:34:46 -03:00
committed by GitHub
parent b72440ca3c
commit 041f61d8e4
18 changed files with 3876 additions and 81 deletions

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 111f322c771e15041824b07bbcd8a425
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,52 @@
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using HeavenStudio.Util;
using HeavenStudio.InputSystem;
using Jukebox;
namespace HeavenStudio.Games.Loaders
{
using static Minigames;
/// Minigame loaders handle the setup of your minigame.
/// Here, you designate the game prefab, define entities, and mark what AssetBundle to load
/// Names of minigame loaders follow a specific naming convention of `PlatformcodeNameLoader`, where:
/// `Platformcode` is a three-leter platform code with the minigame's origin
/// `Name` is a short internal name
/// `Loader` is the string "Loader"
/// Platform codes are as follows:
/// Agb: Gameboy Advance ("Advance Gameboy")
/// Ntr: Nintendo DS ("Nitro")
/// Rvl: Nintendo Wii ("Revolution")
/// Ctr: Nintendo 3DS ("Centrair")
/// Mob: Mobile
/// Pco: PC / Other
/// Fill in the loader class label, "*prefab name*", and "*Display Name*" with the relevant information
/// For help, feel free to reach out to us on our discord, in the #development channel.
public static class AgbRapMenLoader
{
public static Minigame AddGame(EventCaller eventCaller)
{
return new Minigame("rapMen", "Rap Men", "ffffff", false, false, new List<GameAction>()
{
}
);
}
}
}
namespace HeavenStudio.Games
{
/// This class handles the minigame logic.
/// Minigame inherits directly from MonoBehaviour, and adds Heaven Studio specific methods to override.
public class RapMen : Minigame
{
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 098eada39e8fca7429fe40e5edfa9e7c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -402,7 +402,6 @@ namespace HeavenStudio
{
Debug.LogWarning("Game loader AgbQuizShowLoader failed!");
}
game = NtrPingpongLoader.AddGame(eventCaller);
if (game != null)
{