JesseJames11's Forum Posts

  • Also Ive noticed while running in debug that once the inspector displays the large variables as something like 9.999e+38, that's the moment it stop displaying the number during gameplay

  • Hmm yeah. I might have to stick with a 'MoneyThousand ' MoneyMillions' 'MoneyBillions' typw thing with multiple variables

  • Ill give it a try.

    Just wondering if this is even something i should be having trouble with. An example of what im doing is along these lines

    Upgrade1Level>1000 - Set Upgrade1Multipier to 10^18.

    That seems to make the text that displays that number freeze

  • Hello. I am currently making an incremental game and I seem to run into a problem when the numbers get quite large (10^18 or so) Just wondering if there's another way of going about this. Thanks

  • Thanks, that helps with the subtraction of money. Another problem I have with it is that the cost is displayed before buying it. Still trying to figure out how to have the math work out how much it is going to cost before actually buying it

  • Hi, Just wondering how to do the math for a 'Buy Multiple' button (x1, x10, x25 etc) but the price increases with each one you buy.

    In this case it looks like this:

    1st one Costs $10, 2nd Costs $21, 3rd Costs $44 etc.. With an increase of floor(cost*2.1).

    The problem I'm having is that, for example, if I click buy x10, the cost will be $1000 instead of (I believe) $15018.

    Hope this makes sense. Thanks.

  • Okay I seemed to have fixed it by adding -

    if "Level 1 words" = "0" - set "Level 1 Words to ""

  • Doesn't seem to do much. What I am doing for example -

    On item "SAVE" exists -

    Set Global Variable "Level 1 Words" to Array.At(1,0,0)

    Set Global Variable "Level 2 Words" to Array.At(2,0,0) etc..

    But if there is no previous data stored in the array, by default it will set the Variable to 0 and because the text is being displayed, it shows a 0, when I would prefer it to show nothing at all.

    Hope this makes sense. Thanks

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi, Basically I'm wondering if it's possible to clear an Array to no value, rather than 0. I'm trying to save strings of text into an array, but each line of text is being saved as - 0Level1, 0Level2.. etc.

    Basically I'm trying to clear the array before I load the saved Strings onto the array at the start of the layout.

    Thanks.

  • Basically I'm wondering if its possible to check if a value exists in an array but only along one row,

    So basically like a shortened version of this -

    Compare at (0,0,)(1,0)(2,0)(3,0) etc..

  • Wow, Perfect. Thanks so much. Though I'm not sure exactly whats going on.. Mind explaining as a learning experience?

  • Basically Im wondering if this sort of thing is possible.

    Start of layout - Global text - set to "WORD"

    on object clicked - Subtract "D" from "WORD"

    Global text is now "WOR"

    sorry if I'm not being clear enough

  • In this fast paced Math game, you'll need to think quick, smart and strategically to collect as many points as possible. With 3 unique game modes, test your speed, patience and luck to beat your personal best.

    https://play.google.com/store/apps/deta ... dios&hl=en

  • I'm making a game where you drill into the earth and I'm using a scrolling tiled background that breaks away as you drill through it. My problem is that when I increase the scrolling speed (to have the effect that you're drilling faster) the newly spawned tiled backgrounds start to show gaps between them.

  • It works fine on my PC, but once I am running Construct on Administrator (which I need to do to test on a device) The Geolocation stops working on both the PC and the device.