Streemon

【Introduction】

ANee is a monster who’s broken his UFO. As the going says, it never rains but pours, so ANee go into Billy’s house to take shelter from the rain… Here comes the story…



【Game link】



【Thoughts】

When I attended the Young Designer Exhibition, I thought puzzle games would be less popular in the fairgrounds, but it turned out that many people spent a lot of time playing to get a good ending (there are 8 endings, 1 good, 2 normal and 5 bad), which surprised and delighted me!
So our game is liked by many people and can bring so much joy to so many people, this is the biggest recognition to us😁



【Github】



【Note】

The most important thing about puzzle games is the puzzles and scripts, and the main features are as follows.

  1. Dialogue System
    The dialogue is basically the same as in Crazy Food, but this time it is presented in one sentence, and some parameters are added to determine the status.
    If you need something special, such as the end, or let the character do some special performance in the middle of the speech, you can use the different parameters to adjust.
    a. Parameter meaning: the person who speaks, the first sentence spoken, the next person to speak, the next person to speak is his first sentence, the content of the speech.

    csvmainTalk.csv
    1
    2
    3
    4
    bird,1,yellow,6,唷!
    yellow,6,bird,2,唷!
    bird,2,yellow,7,你在這裡做啥?
    yellow,7,bird,3,噢,我是在各處旅行的途中,因為飛行器壞了,又剛好遇上

    b. Keep calling talk from the main program until the conversation ends

    talktalk.cs
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    public void nextTalk() {        
    if (nextName != "0" && nextParagraph.ToString() != "0")//1.special, 2.normal
    {
    setSpecialTalkBehavior();
    }
    else //1.talk end 2.set talk num
    {
    setTalkBehavior();
    GameManager.game.Player.Playerstate = Player.PlayerState.idle;
    GameManager.game.Player.OnItemEndTalked();
    GameManager.game.Setactive(GameManager.game.TalkUI, false);
    }
    }
  2. Item Interaction
    Interactive items usually only have the ability to talk or be picked up, if there are other special cases and then inherit this category.

    InteractiveItemInteractiveItem.cs
    1
    2
    3
    4
    5
    6
    7
    public float interactiveDistance; 
    public event EventHandler OnItemClicked;
    [SerializeField]
    protected bool canPick;
    [SerializeField]
    protected bool canTalk;
    public event EventHandler OnItemTalked;
  3. Save System
    Write a fake Singleton Pattern, declare the class as a static object, and other classes can be accessed at any time to achieve the effect of cross-scene save data.

    SaveDataSaveData.cs
    1
    2
    3
    4
    5
    6
    7
    public class SaveData {
    public static SaveData _data = new SaveData();
    public SaveData()
    {
    //init
    }
    }
prev:Spy Run Run next:Sumo