klabundee's Recent Forum Activity

  • I don't think that is possible to do that.

    As boolean just store true or false I think that you just need to create an condition on your object: is boolean instance variable set? for both, if both are set it means that both have the same value.

  • I see, you need to increase the left tilemap size on runtime..

    As is not possible to set the origin image point of the tilemap I don't have an answer..

  • So, I can easily increase the width of my tilemap by setting its width to tilemap.width+100, but this only increases its width on the right side. I need to increase its width on the left side. Is there any way to do this?

    Thanks.

    Im not sure if it solves your problem but at the same time that you use tilemap.width+100 you can set tilemap.X-100

  • I would suggest having a column on the array to store if the question could repeat or not. This way you can control which question could repeat.

    Just store 0 and 1 on a new column, and when this question apper on screen, compare if this column is = 0 if yes, remove this question from array, if 1 just keep it for next random.

  • Are you using a static page on your website or a CMS?

  • When uploading a new game or updating, just use a different name from the preview one.

    You can even use filename?v1 filename?v2

    Not using cache is not a good approach in your case.

  • Dear klabundee and oosyrag,

    Yes, the answer always going to be yes and no. When I save my array as you said, what should I do next?

    Thank u both for answering.

    The way I said is just one way.. its a simple one..

    First, store the index of the array, for example..

    Your current question is 5.0, so you know that the values to consider are on 5.1 5.2 and 5.3 to yes, and 5.4, 5.5 and 5.6 to no.

    On button click yes:

    Set value "Money" to (Self)+(1,index.array)

    Set value "Popularity" to (Self)+(2,index.array)

    Set value "Success" to (Self)+(3,index.array)

    On button click no:

    Set value "Money" to (Self)+(4,index.array)

    Set value "Popularity" to (Self)+(5,index.array)

    Set value "Success" to (Self)+(6,index.array)

    You may also need to compare before set the value to the variable if its negative or positive..

    Here, just made an example:

    mega.nz/file/M1hwwDxR

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Are the choices always going to be yes and no?

    if yes..

    Just save your array like:

    0,0 There is a pandemic. Will you open hospitals?

    0,1 Amount of money, for yes

    0,2 Amount of popularity, for yes

    0,3 Amount of success, for yes

    0,4 Amount of money, for no

    0,5 Amount of popularity, for no

    0,6 Amount of success, for no

    1.0 Next question..

  • You're welcome, go for it, finish it :)

  • Just tried it here..

  • The "+" brings up a Syntax error.

    without the + it just sets the value to 1.

    Am i missing a step? 🤔

    Im not sure if its possible to get the current value using Self and increase it.. maybe using an aux variable would be better. Create a variable and on every second set the variable value to Self+1 and set the HSL to the variable value.

  • i have the keyboard object and condition in place.

    I'm stuck at figuring out the best way to make the parameter continuously increase the value number of the effect while the key is down.

    Use a subevent parent from key is down

    Every 1 second set effect AdjustHSL to +1

klabundee's avatar

klabundee

Early Adopter

Member since 26 Nov, 2015

Twitter
klabundee has 6 followers

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies