Fishing.io
Fishing.io Posted on: 08/03/2021 7:32pm
Quote Post
Ubi Maior Minor Cessat

fun to play casual game
   

https://www.crazygames.com/game/fishing-io

RE: Fishing.io Posted on: 08/08/2021 5:53pm
Quote Post




PlayerMoney -= b

add PlayerMoney += b

its upgrade, add money

example

OnPressedBuyNetSize: function () {
            if (PlayerNetSize >= MAX_FISHES_HOOKED)
                soundManager.playSound("not_enough_money"), SetPoingScaleTween(txtNetSizeVal);
            else {
                var b = SceneGame.instance.getUpdatePriceNetSize();
                PlayerMoney < b ? (soundManager.playSound("not_enough_money"), SetPoingScaleTween(txtMoneyVal)) :
                (textParticles.CreateTextParticle1(game.width / 2, sprFisherman.y + 50, "-" + b + "$", 40, "#cb230b", 0), soundManager.playSound("zakupenie_item"), PlayerMoney += b, PlayerNetSize++, GameData.Save(), fishesToCatch = PlayerNetSize, txtBucketVal.text = "" + fishesToCatch, SetPoingScaleTween(txtBucketVal), textParticles.CreateTextParticle1(btnGameBuyNetSize.worldPosition.x, btnGameBuyNetSize.worldPosition.y - .6 * btnGameBuyNetSize.height, "+1", 40, "#296092", 0), SceneGame.instance.updateShopUIValues(), "undefined" !== typeof gdsdk && "undefined" !==
                    gdsdk.showAd && gdsdk.showAd())
            }
        },

RE: Fishing.io Posted on: 09/08/2021 7:09pm
Quote Post

looks easy to fix money.

Thanks. jowback