Danwood's Recent Forum Activity

  • I got a sprite (blood decal) i want to spawn not only at the same layer of another sprite (animal), but at the same "level" (i dont know how to call it, i mean the inter-levels in the same layer, where you decide bottom/top etc).

    Is there a way to do this?

  • The good part is that i manage to optimize it relatively well so far: a major factor impacting performance which is map size; the bigger the map, the more object will be there. Adjusting map size before starting a game will have a huge impact on performance and will even allow to play via phones

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This is a quick preview i'm throwing here, there is also a survival mode where you either control an animal or a human, with very complex survival mechanics

  • I'm building a very complex game with C2. It is a simulation game where a whole ecosystem is simulated trough many viariables like humidity, water, terrain fertility, weather, seasons etc. Animal AI and plant energy mechanics are also simulated...

    I MUST absolutely say that what i'm creating is simply too complex for a simple game making program; C2 is much more than that, if you know how to use it. I'll throw you something about the game in future if you're interested.

    Congrats to C2 developers, you really rock! Every new update is just amazing and i cant wait for the upcoming update!

  • Try to export to Html5 and see how bit is the file

  • If you exported in node-kit, the file includes the chrominum files to run the application. That would explain it maybe.

  • The question is:

    I got 2 examples:

    Behaviour "destroy outside layout"

    and

    Every 40 sec

    Item is outside layout

    -> Destroy item

    Will i get a performance benefict by using the second one? Because i don't care if the effect doesn't trigger at every tick, i just need to clean the items outside layout every few seconds... but if there is absolutely no difference in CPU usage, then i'll go with the first solution.

  • You actually could get rid of the "For each stone" and just go with "Set Isolation = Stone.PickedCount"

    This will return the actual number of instances which are overlapped by the pinned object.

    Btw, if you have a license you can use the container to get rid of the condition "Fire pick nearest pinned object" and directly referenced the "radius" object you use for detection.

    Awesome suggestions!

  • It is working! but with some adjustments

    Condition:

    "Every 1 second" (to make it less CPU heavy)

    Pinned objects "is overlapping stone"

    For each Stone

    Fire "pick nearest to pinned object"

    Event:

    Fire -> add 1 to isolation

    in order to make it dynamic, i've added another event right after "every 1 second" (but before the isolation +1 addition): Fire -> set Isolation to 0

    The isolation every 1 sec is:

    reset to 0

    added +1 for each stone nearby

    so for example, if there are 2 stones nearby, the result is always 2, and if i add another stone, after 1 sec it's 3. If i remove all stones or move the fire away, it's 0!

    Now, every event involving the isolation variables must trigger 0.01 seconds after the "every 1 second" trigger, in order to let the game correctly calculate the isolation after the 0 reset.

    It works like a charm!

  • Easy way is to create an invisible object that pins to the Fire (make it the size you want for the detection radius) and then have Isolation as the number of stones being touched/overlapped by the invisible object. If it's any more complex than this then we'll need some more details on what the stones are..

    Is that easy, i've already tried creating the invisible pinned object, but im stuck in the " have Isolation as the number of stones being touched/overlapped by the invisible object" part

  • I have the object Fire, witch has the internal variable Isolation

    I want to make isolation = the number of stones the fire is surrounded by

    So i created a line of sight for the fire, but i don't know how to proceed

    Any idea?

  • I've devised a solution, provided that the UI layer is the top-most layer.

    What you need to do is to put an empty layer bellow the UI layer that will act as an Adjustment Layer in After Effects: it will affect every thing bellow. The way it works is to add to it the experimental "water background" effect as the first effect on that layer, and any effect you want to apply to all the layers bellow after that. The water background will force the effects to the layers bellow but it won't apply any watery distortions if the layer is empty.

    I've attached a capx file to see what I mean.

    I missed this reply last month, it worked!! thank you very much!

Danwood's avatar

Danwood

Member since 2 Jan, 2014

None one is following Danwood yet!

Trophy Case

  • 10-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
  • x5
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

16/44
How to earn trophies