codah's Recent Forum Activity

  • Can you give more detail? What do you mean by a 'list', do you mean an array? I assume 'to have an item selected' means selected by the user, on-screen? What are the 'items'?

    If you have a long list of Text items in an array, and you want to populate another array with a subset of the large array, you can delete the items (in an Action) then export that to a JSON file and then re-import it into the other arrays (or edit them offline into sub-files). Depends on what you want. There might be a more advanced way I don't know of.

  • Kind of like a fog of war? For the link just replace the . with dot and with at or something

  • Oops forgot the part about the 'limit'. It was late... I was tired 😀

  • I did a slight mod, seems to work better. Funny, but I removed the min(). Hope it helps.

    [attachment=0:2zjcp3ke][/attachment:2zjcp3ke]

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I just gave you one general technique. You need to work out how to display them in the places you need them. Just calculate the X and Y for your requirements. Happy to help out more if you can't get it working. Maybe post another capx that you have tried.

  • Yes I looked in the Play store description after, but just a simple screen is nice That technique is similar to how I pictured it, it's quite effective. More enemies would be good.

  • Not all.. I 'elsed' the check of keys down. You can only have one of those states valid at one time anyway. Check the capx and compare with yours The order of events itself is not important.

  • email sent

  • No worries.. even after I corrected mine I still seemed to be having issues. Switched to numeric variables and been fine since. I think they are less error prone because you can't misspell a constant variable's name

    Edit: Yes if you don't use quotes where you need them, it will tell you. But if you use them where you don't have to, it won't. But if yours are fine, then I'm not sure. You could post a capx

  • Make sure in your 'default value' for any Text variable, you aren't using quotes... Something along those lines anyway. Generally some places you need quotes, others you don't. Check them all.

    Edit: I changed from using Text to Number in one place for this reason. I recommend using Number, and have constant variables to denote different 'states' or whatever, like MONSTER_ATTACKING = 1, MONSTER_DEFENDING = 2, etc.

  • sent you a pm

  • I'm not sure this is your solution, but on a quick test it seems to work so might help.

    I've moved events around a bit so I could 'else' the key down ones.

    [attachment=0:24dphdpy][/attachment:24dphdpy]

codah's avatar

codah

Member since 30 May, 2014

Twitter
codah has 1 followers

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies