LittleStain's Recent Forum Activity

  • there is also event..System pick by comparison

    now you can add ad another condision...pick nearest..

    That would only work if the other coordinate is exactly the same, right?

    Maybe a sprite is between y-values would solve that..

    Without knowing what the exact aim of this check is though, I chose not to limit the comparison in any way..

    I would recommend adding other conditions to my event, so the amount of sprite2 that are being compared are less and maybe the moment when it is done is not every tick..

  • Something like this?

    Example R218

  • If you could share your capx, I could have a look..

  • if there is any logic in the way the value increases, there should be a way to tell the program that..

    You might have a variable already present in the object(s) that you can use..

    Another option might be adding a condition "is on layer" or something similar before setting the variable..

    Setting everything is not what you want, so in the worst case even using 60 conditions would get more satisfactory results..

  • >

    > > Greetings Construct 2 community, I am currently looking at buying game creation software for my own personal use for myself and games for friends/family.

    > >

    > > After a week of research I have my final choice down to two packages, Clickteam Fusion 2.5 or Scirra Construct 2. If you would answer some questions I have, it would help my final decision.

    > >

    > > 1: can I truly create a game with ^NO^ programming whatsoever?

    > > 2: can someone who pretty much sucked at school and mathamatics create games? (for example, like Jetpack Joyride)

    > > 3: can I output native windows code in a single .exe file?

    > > 4: Would you recommend I buy a book to learn it, or pay for an online course?

    > > 5: is it viable to create a roleplaying game with this software? (no, I'm not silly enough to expect to make a new Skyrim, but something like the old bards tale games?)

    > >

    > > Thank you

    > >

    >

    > Why not download the free version and try before you buy?

    >

    Thats a good idea but ideally I don't want to spend a few weeks testing something, I'd rather get feedback off people and buy or not buy right now. just the way I am.

    Well, I wouldn't want to make you someone else..

    But if you download and look at the examples shipped with Construct2 (which would take less time than waiting for an answer) most of your questions will be answered..

  • Well they can't be in a layout under the character, so I guess you mean layer..

    If they are in a layer under the character they can never show in front, so this must be untrue..

    Are you spawning your objects in the right layer?

    Is the character moved to a different layer in the events?

    Would it help to have an on collision event - move character to top?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • System every x seconds starts counting from the start of the app..

    As resetting the start of the app isn't possible, you could for example add a wait-period at the start of layout before activating the event..

    Another way would be to use timer behaviour instead of the every x seconds, or just add 1 to a global variable (which you can reset before restarting) every second and have the actions performed when variable%5 = 0..

  • Seems like you would want a for each animal, instead of a for each tree, but I might misunderstand the event..

  • Not really, Your second action of event 28 is setting HP of all familymembers of the "layer" family to LayerHP..

    If you don't want this to happen, why have that action?

  • You do not have permission to view this post

  • I don't understand your question..

    What are you trying to achieve?

    "How do objects communicate?

    How do I let the other 3 layers know that they are supposed to be destroyed?

    "set layer.Hp to dirt.Hp""

    You want to destroy something, obviously, but the whole layer?

    Why does the layer have hp (Layers don't have variables, do they?)?

    Why do other layers get the same hp?

    Couldn't you use a condition to determine what the hp should be if dirt = 50 if granite = 100, etcetera?

  • You do not have permission to view this post

LittleStain's avatar

LittleStain

Member since 26 Apr, 2011

Twitter
LittleStain has 4 followers

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies