kyshaws25's Recent Forum Activity

  • Final product which allows the system to set the "occupied" instance variable instead of entering it somewhere else. I try to use the KISS method as often as possible (keep it simple stupid). Less variables to keep track of.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Say what you want but how silly an additional instance variable had to be used to help "if sprite.x isn't overlapping sprite.y" condition. I would have thought that condition could stand on its own. Solution found regardless, hopefully this helps someone else trying to find it on their own.

    This post from Dop2000 put me in the right direction

    https://www.construct.net/en/forum/construct-3/how-do-i-8/spawn-random-not-overlapping-152676

  • Closer but only 4 instances of boxes should exist at a time (one off screen, three spawned by the spawner). However if I set one of the boxes to "selected = 1", five instances exist the next time I run it.

  • Hey there.

    Trying to get a condition where sprite (spawner) detects whether sprite (boxes) is overlapping it. Not sure how I managed to make this such a riddle.

    I've tried combinations of "for each spawner", setting an instance value if boxes is overlapping spawner, plus several other attempts to see what would stick. Collisions is enabled on each sprite.

    Any help would be greatly appreciated.

  • Hey C3 world.

    I have one sprite (key_gen) that has several copies (id=1, 2, 3) and all have an instance variable of "codes" (8 characters of random numbers and letters) and "encryption_type" (values of 16, 32, 64...etc).

    key_gen.codes

    key_gen.encryption_type

    The dropdown list is populated by checking all the sprites to see if "codes" is blank and if the variable isn't, an entry is made of the string of characters.

    However, it escapes me on how to configure the dropdown so that when one of the codes is selected, the codes and encryption values for that sprite are copied to a different sprite:

    ssh_key.codes

    ssh_key.encryption_type

    Since the values are random, it's hard to set "text selected". The answer might be "not possible" which is fine but had to exhaust all avenues for the question before trying a different avenue. Thanks in advance.

kyshaws25's avatar

kyshaws25

Member since 22 Jul, 2024

None one is following kyshaws25 yet!

Trophy Case

  • RTFM Read the fabulous manual
  • Email Verified

Progress

2/44
How to earn trophies