GithubHelp home page GithubHelp logo

flatten_island's People

Contributors

fcicchi avatar francycavallari avatar paolofosso avatar parroyoc avatar stefanocecere avatar vgwb-private avatar wassimbassil avatar zakiapezhman avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

flatten_island's Issues

[BUG] The tutorial get stuck at the first card

image

It happens only in SPANISH giving the following error:

KeyNotFoundException: The given key was not present in the dictionary.
System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) (at <e1319b7195c343e79b385cd3aa43f5dc>:0)
LocalizationManager.GetLocalizedText (System.String localizationId) (at Assets/02_Scripts/game/localization/LocalizationManager.cs:141)
LocalizationManager.GetText (System.String localizationId) (at Assets/02_Scripts/game/localization/LocalizationManager.cs:119)
LocalizationManager.SetLocalizedText (UnityEngine.UI.Text textField, System.String localizationId) (at Assets/02_Scripts/game/localization/LocalizationManager.cs:86)
SuggestionButton.SetButton (SuggestionOptionXmlModel suggestionOptionXmlModel) (at Assets/02_Scripts/game/suggestions/SuggestionButton.cs:14)
SuggestionEntry.SetSuggestion (SuggestionXmlModel suggestionXmlModel, AdvisorXmlModel advisorXmlModel) (at Assets/02_Scripts/game/suggestions/SuggestionEntry.cs:51)
SuggestionMenu.CreateSuggestionEntry (SuggestionXmlModel suggestionXmlModel, AdvisorXmlModel advisorXmlModel) (at Assets/02_Scripts/game/suggestions/SuggestionMenu.cs:44)
SuggestionMenu.ShowSuggestion (SuggestionXmlModel suggestionXmlModel, AdvisorXmlModel advisorXmlModel) (at Assets/02_Scripts/game/suggestions/SuggestionMenu.cs:35)
AdvisorsManager.ShowAdvisorSuggestion () (at Assets/02_Scripts/game/advisors/AdvisorsManager.cs:73)
GameSessionFsm.Suggestion_Enter () (at Assets/02_Scripts/game/session/GameSessionFsm.cs:163)
FsmState.OnEnter () (at Assets/02_Scripts/core/ai/fsm/FsmState.cs:23)
FiniteStateMachine.TriggerState (System.String nextStateName) (at Assets/02_Scripts/core/ai/fsm/FiniteStateMachine.cs:35)
GameSessionFsm.OnAllAdvisorsExitCompletedEvent (Messages.EventMessage eventMessage) (at Assets/02_Scripts/game/session/GameSessionFsm.cs:149)
Messages.EventMessageManager.SendMessage (Messages.EventMessage eventMessage) (at Assets/02_Scripts/core/message/EventMessageManager.cs:105)
Messages.EventMessageManager.ProcessActiveQueue () (at Assets/02_Scripts/core/message/EventMessageManager.cs:64)
Messages.EventMessageManager.Update () (at Assets/02_Scripts/core/message/EventMessageManager.cs:41)
GameManager.OnMonoSingletonUpdate () (at Assets/02_Scripts/game/GameManager.cs:58)
MonoSingleton.Update () (at Assets/02_Scripts/core/singleton/MonoSingleton.cs:21)

[Tool] Text overflow testing

it would be great to have an automated text overflow tool that reports all Card texts that overflow in all languages!

[WebGL] The Donate Button does not work on Itch

A twitter user reported that the Donate button was not working for him on the WebGL version...
... in my case if I press Donate the Flatten Island website opens in the window but it's not interactive.
The Donate page should be opened in a new window.
image

[RTL Languages] sentences longer than 1 line are written from bottom to top

"All the sentences in Arabic that form more than 1 line start in reverse (the 1st line is being pushed down): I have to read the text from the lower right instead from the upper right.
That applies to all cards and texts and buttons."

In order to test it you can simply watch the Credits in Arabic (VGWB should be on the TOP row instead of the BOTTOM one):
image

[Next Day] Too many Suggestion Results at the end of the tutorial

A translator reported that "when the 'next day' card comes out after the training, the indicators buytins don't all fit on the screen"
image

I suspect it's not 100% as I can't reproduce it on my phone (but the translator says it's "recurrent")... maybe we can put an "anti-bug/hack" to prevent the elements to be created more than once?

[Chart] when Capacity reaches 0 the chart is "broken"

The game is now managing correctly Capacity = 0 by calling the Game Over for SANITARY COLLAPE
image
image

But the displayed chart has no sense.
The simplest solution would be to NOT display the curve if Capacity is <= 0... but we should at least paint in RED the Capacity panel.
Otherwise we can think about a more elegant solution: i.e. moving the Capacity line (and panel) down to match the baseline in order to be able to draw the curve as usual.
NOTE: we should be careful that the Patients could be 0 as well.
What do you recommend?

[BUG] Sometimes when launching the game I get the Game Over screen

If you leave the game in the main menu and then re-launch it you will get this!

image

It seems to me that we always try to reload/continue a previous game... and if there's no saved/in-progress game we get this unexpected behavior.

In the console there's an error but i suspect it's not useful:

IndexOutOfRangeException: Index was outside the bounds of the array.
ChartManager.GetPatients (System.Int32 day) (at Assets/02_Scripts/game/gui/chart/ChartManager.cs:372)
ChartManager.DrawOneDay (UnityEngine.Texture2D tex, System.Int32 day) (at Assets/02_Scripts/game/gui/chart/ChartManager.cs:262)
ChartManager.DrawDaySegments (UnityEngine.Texture2D tex, System.Single elapsedTime) (at Assets/02_Scripts/game/gui/chart/ChartManager.cs:220)
ChartManager.CreateChartSprite (System.Single elapsedTime) (at Assets/02_Scripts/game/gui/chart/ChartManager.cs:195)
ChartManager.UpdateChart (System.Single elapsedTime) (at Assets/02_Scripts/game/gui/chart/ChartManager.cs:141)
ChartManager.UpdateFullChart () (at Assets/02_Scripts/game/gui/chart/ChartManager.cs:135)
ChartManager.FirstDraw () (at Assets/02_Scripts/game/gui/chart/ChartManager.cs:67)
MainSceneFsm.Ready_Enter () (at Assets/02_Scripts/game/scenes/MainSceneFsm.cs:56)
FsmState.OnEnter () (at Assets/02_Scripts/core/ai/fsm/FsmState.cs:23)
FiniteStateMachine.TriggerState (System.String nextStateName) (at Assets/02_Scripts/core/ai/fsm/FiniteStateMachine.cs:35)
MainSceneFsm.Init_Update () (at Assets/02_Scripts/game/scenes/MainSceneFsm.cs:38)
FsmState.OnUpdate () (at Assets/02_Scripts/core/ai/fsm/FsmState.cs:31)
FiniteStateMachine.Update () (at Assets/02_Scripts/core/ai/fsm/FiniteStateMachine.cs:62)
MainScene.OnMonoSingletonUpdate () (at Assets/02_Scripts/game/scenes/MainScene.cs:34)
MonoSingleton.Update () (at Assets/02_Scripts/core/singleton/MonoSingleton.cs:21)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.