UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Sakawochi development thread

    Scheduled Pinned Locked Moved App Development
    56 Posts 12 Posters 15.3k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • WendigoW Offline
        Wendigo @advocatux
        last edited by Wendigo

        @advocatux said in Sakawochi development thread:

        @wendigo hi, thanks again for your work! The sound of the snails dying is pretty funny XD

        I'm glad you like it. It was also much fun recording. Didn't even have to raise the pitch afterwards. ^^

        • Question. Once you've read the instructions the first time, is there an easy way to access the instructions while playing your game?

        Currently only by resetting the game (which removes all you progress). But I could add a button somewhere that shows the tutorial again. I need to tidy up the settings screen, it gets more and more convoluted. The credits also need a dedicated screen. Need to think about where to put it all.

        • Minor issue. I think this starting screen is confusing because it says "Please wait while loading" but you can see it's always "Loading...", and you can press the START button at anytime, and the game starts.

        The whole loading screen was only made for Android since I was told that web games only start playing music after the screen was touched. But GDevelop only lets me check if the game is running on Mobile or Desktop. I found a way to read out the browsers operating system via navigator.userAgent or navigator.platform which outputs "Linux armv7l". But I still need to investigate what (if at all) the UT browser App returns when running a local web game.
        I think I should rename it on Android to something like "Tab 'Start' to begin".

        arubislanderA 1 Reply Last reply Reply Quote 1
        • arubislanderA Offline
          arubislander @Wendigo
          last edited by

          Hi @Wendigo

          Thank you for the very sleek looking app. One observation. The verb is 'Tap' when interacting with a touch screen via finger presses, not 'Tab'.

          Great work otherwise, keep it up!

          πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
          Happily running Ubuntu Touch
          Google Pixel 3a (20.04 DEV)
          JingPad (24.04 preview)
          Meizu Pro 5 (16.04 DEV)

          1 Reply Last reply Reply Quote 0
          • WendigoW Offline
            Wendigo
            last edited by

            Thanks, good catch.

            1 Reply Last reply Reply Quote 0
            • WendigoW Offline
              Wendigo
              last edited by

              Version 0.2.11 is now live on OpenStore

              Changes:

              • Fixed a bug that prevented the activation of the fish food button when only crabs were in the tank.
              • Fixed a bug that limited the size bar of fish to about 3/4 of its full size.
              • New feature: Earn some coins by collecting plastic waste that floats through the tank.
              • Reduced price for decorations.
              • Reworked the localization system to make it easier to add new languages

              Due to the first mentioned bug which I consider game breaking, I had to push this Update a little earlier than intended.
              But at least the background work for the localization has been done.
              If you like to contribute an additional language, you can edit the json file linked at the end of this post. (I need to create a repository for this later)
              Looks like I don't have permission to upload text files here so please save the text into a file and name it for example "en.json" for English.

              Unfortunately the format doesn't support line breaks, so please insert a "\n" manually whenever you want to start a new line.
              If it is too cumbersome for you just eyeball it, I can adjust things later. πŸ™‚
              As a license I have chosen CC-BY-SA. Please stick with it since different licenses for different languages would make things complicated.
              If you later intend to edit an existing version of a language file just add a new line (\n) to the "translator" field with your name.

              Template file:
              https://pastebin.com/M7cPHJci

              1 Reply Last reply Reply Quote 1
              • M Offline
                matteo
                last edited by matteo

                It seems I am also not able to attach here text files. However, I pastebined the italian translation here below. I hope I didn't misinterpret the fields to be translated; if so just let me know, I will update the translations once I'll be back from my holidays. In addition, consider I didn't pay attention to the lines segregation (by \n) since I don't know how it will render in your game, so feel free to change it as you prefer.

                https://paste.ubuntu.com/p/KHsCkNJ42b/

                1 Reply Last reply Reply Quote 1
                • WendigoW Offline
                  Wendigo
                  last edited by

                  Wow that was fast. Many thanks for taking the time to translate the game.
                  See you on the credits screen πŸ™‚

                  1 Reply Last reply Reply Quote 1
                  • LakotaubpL Offline
                    Lakotaubp
                    last edited by

                    Possible plastic bottle bug. Three bottles only got coin on first one.

                    1 Reply Last reply Reply Quote 0
                    • WendigoW Offline
                      Wendigo
                      last edited by

                      The garbage bin slowly turns black for every collected plastic part. After collecting 4 parts it is full and you get a coin.
                      There is currently a bug that grants the player a coin after collecting the first plastic part instead of the 4th. The bug only occurs once when the very first part gets collected after the update is installed. It isn't triggered for new players that just installed the game or when the player resets the game. I need to investigate what causes this behaviour.

                      LakotaubpL 1 Reply Last reply Reply Quote 1
                      • LakotaubpL Offline
                        Lakotaubp @Wendigo
                        last edited by

                        Thanks for the explanation. Quite addictive.

                        1 Reply Last reply Reply Quote 0
                        • advocatuxA Offline
                          advocatux
                          last edited by

                          @Wendigo this is the Spanish translation https://paste.ubuntu.com/p/mSgVGFpg75/

                          Characters & lines counted πŸ˜‰

                          1 Reply Last reply Reply Quote 2
                          • WendigoW Offline
                            Wendigo
                            last edited by

                            Thanks a lot @advocatux .
                            Now I can start drawing the flags.

                            advocatuxA 1 Reply Last reply Reply Quote 1
                            • advocatuxA Offline
                              advocatux @Wendigo
                              last edited by

                              @wendigo you're welcome!

                              1 Reply Last reply Reply Quote 0
                              • WendigoW Offline
                                Wendigo
                                last edited by Wendigo

                                Version 0.2.12 is now live on OpenStore

                                • Xenial support
                                • Add Italian and Spanish localization (BIG thanks to matteo and advocatux)
                                • Add backup save game for more reliability
                                • Sea grass now adds another snail for additional fish food
                                • Fix save every frame bug in fish food logic
                                • Fix fish sometimes turns multiple times
                                • Fix wrong order in choose language flags spinner
                                • New fix for screen flickering on some devices

                                The backup save game was originally made for the Fairphone2 where closing of the browser or Web-Apps sometimes makes Unity or the whole phone reboot. Occasionally this seems to wipe the browsers local storage where the game is saved. Unfortunately the patch didn't help against this issue but it should make the save games more reliable on other devices.
                                I need to find a way to fix this issue on FP2 though. Since the local storage seems to get wiped about every two weeks when the memory bug reboots the phone I have to find a way to save the game to the file system instead. Unfortunately the Ubuntu Touch documentation lacks information on how to do it.
                                Maybe I could wrap the game in an Electron container. This would indeed give me access to the file system but it would also increase the file size from about 3.5mb to around 50mb, save games wouldn't be able to get ported and I'd need to run the game via XMir (need to test this first). If I'm really lucky Xenial might fix it but I couldn't test it yet since I'm still waiting for the upgrade to show up on my phone. If you have any problems with the game on Xenial please let me know.

                                A bug in the fish food logic made the game save every frame when spoiled fish food was lying on the ground. After the fix the game should run much faster.
                                However the new fix for the flickering / black screen issue is said to cost a little performance so it might not be noticeable that much.

                                Unfortunately the sea horse didn't make it into this version since I got carried away and spent a lot of time adding new features to the GDevelop game engine instead.
                                I decided to use the sea horses as test candidates for the upcoming breeding system. In the next version (if there aren't any bigger issues in 0.2.12) sea horses will be able to mate when they are grown up and have children whose colour varies a little from that of their parents. So you will be able to breed individuals of different colour.
                                In the next step the economy will get an overhaul and I'll add a quest system where you get asked to breed a certain kind of fish to get a reward. Since this will be a really big update, it's going to take a bit longer to release.

                                So please be patient and stay tuned. πŸ™‚

                                advocatuxA 1 Reply Last reply Reply Quote 1
                                • M Offline
                                  matteo
                                  last edited by

                                  @wendigo I just downloaded Sakawochi on my Pro5 xenial version and it works like a charm! Thank you for the game and also for adding me in the credits page....I appreciated to help you to translate to italian; and BTW it seems to render good in the game, so I'm really happy about that πŸ™‚
                                  Keep up the good work!

                                  Matteo

                                  1 Reply Last reply Reply Quote 0
                                  • advocatuxA Offline
                                    advocatux @Wendigo
                                    last edited by

                                    @wendigo amazing, thank you for your work !!

                                    1 Reply Last reply Reply Quote 0
                                    • LakotaubpL Offline
                                      Lakotaubp
                                      last edited by

                                      Agree with @advocatux Now running on OPO and Nexus 7 on 16.04rc

                                      1 Reply Last reply Reply Quote 0
                                      • WendigoW Offline
                                        Wendigo
                                        last edited by

                                        That's great to read, thanks for your feedback πŸ™‚

                                        1 Reply Last reply Reply Quote 1
                                        • dR0WD Offline
                                          dR0W
                                          last edited by dR0W

                                          Yesterday, I had an issue with the App. I had a crab with a value of 59€ and a fish with a value of 25€. Selling together and with 16€ that I had reserved (by collecting plastic) must allow me buy another fish and another crab and buy a seagrass, but I didn't get enough money for that and I only could buy Crab 😞

                                          advocatuxA WendigoW 2 Replies Last reply Reply Quote 1
                                          • advocatuxA Offline
                                            advocatux @dR0W
                                            last edited by

                                            @dr0w inflation XD

                                            dR0WD 1 Reply Last reply Reply Quote 0
                                            • dR0WD Offline
                                              dR0W @advocatux
                                              last edited by

                                              @advocatux xDDDDD maybe

                                              1 Reply Last reply Reply Quote 0
                                              • First post
                                                Last post