hopr37's Recent Forum Activity

  • That's EXACTLY what I was looking for!

    I have been struggling with this for days trying to figure it out.

    Thank you so much Paradox!

    Learning as I go thanks to people like you

    So simple. I knew there had to be an easier and more efficient way of doing this.

  • I have the free version so families are out of the question.

    I will look this over and see if I can wrap my head around it and incorporate your direction into my own project.

    Thank you so much for responding.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ok.Maybe this will help someone help me.

    This is a trimmed down basic idea of what I'm talking about.

    https://db.tt/SgcnlgN1

  • bumpitty bump

  • I have a variable attached to my invisible sprites called 'occupied"

    value is zero

    I I set a condition of:

    box equal to or less than 0...do something

    I can get that to work

    What I can't figure out is how to tell it that if something is there already, prevent anything else from going there....

    My brain hurts but I'll keep trying

  • "Another way is to put a Boolean variable on the invisible sprite, marking if its "on" for spawning. when you spawn one there, turn it off. when that one no longer overlaps, turn it on."

    That's what I'm trying to do but I can't wrap my head around it. I'm not sure how to word it

    they are all separate sprites with no animations.

    I've tried the overlapping bit but it just seems like there is a better way.

    Basically, I'm just looking for a way to tell the invisible sprite that if it already has an object overlapping it to not let anything else overlap.

    Not sure if I need to use variables or not.

    I am trying different options but so far I can't figure it out

  • c'mon now. 33 views as of now and only 1 response?

    I'm still playing around using variables which is what I think I need to do. I am slowly learning how they work but still don't know how to get this to work the way I want.

  • families is not available in free version

  • got it..thanks

  • update: I've tried some boolean variables but an't get the hang of it.

    I'll keep trying

  • https://db.tt/4sRWDHHW

    I have 6 sprites ( invisible) ( yellow boxes)

    I also have 6 sprites ( numbered 1-6 ) ( various colors)

    The 6 invisible sprites are placed on my layout at specific locations. ( I have them close to each other for this question)

    The 6 invisible sprites are also 1 single sprite copied 6 times

    The 6 colored sprites are set to appear on top of any of the 6 invisible sprites randomly

    They appear for a few seconds and then disappear.

    There is no set pattern of where any of the 6 sprites appear which is what I want, however, that also means that any of the 6 sprites could appear together on top of each other.

    Right now I am using overlap to determine if a sprite is already in that position and then destroying one of the sprites.

    ( If sprite 1 is overlapping sprite 2 then destroy sprite 2)

    That seems like a waste of time.

    What I would like to know is how I can tell when any of my 6 sprites are already being occupied on top of any of the 6 sprites.

    Something that knows when there is already a sprite on top of one of the invisible sprites and won't let any other sprites go into that position.

    This is the way I have my sprites show up on top of the invisible boxes:

    https://db.tt/FzUiGDM3

  • I was trying to put too many different behaviors instead of just using physics by itself.

    simple

hopr37's avatar

hopr37

Member since 14 Feb, 2014

None one is following hopr37 yet!

Trophy Case

  • 10-Year Club

Progress

10/44
How to earn trophies