Saurygiel's Recent Forum Activity

  • For my survival game, I want to create a system to spawn enemies / AI on the map in random areas. I do not however, want them to spawn in water or on screen to make it seem believable. All water is a seperate sprite / sprites. So I am wondering if it would be possible to make them spawn every couple seconds randomly anywhere on land and away from the player.

  • Sorry for the Triple post, but I fixed it myself.

  • It does not work at all. It simply instantly sets all ferns to animation frame 3, which makes it invisible to see (which is what animation frame 3 is for.) I don't see how this has any difference at all to be honest, it has the same effect as labeling each amount of capacity as a different frame while breaking it completely.

    Alright, I noticed a problem and moved the On collision with small fern and it's actions into a sub event, but it didnt change anything. I can still eat the ferns while they are invisible which is what i wasnt able to do before, but i dont want them to be able to be eaten while invisible. Although if I do manage to accidentily eat one, then it automatically skips to 1 capacity, therefore skipping 1 whole capacity number and animation frame. It doesn't even regenerate after fully eaten either.

    My problem is only the damn timer, the timer starts, but stays at 0 and seems like it's resetting and none of these 'fixes' you have said make any sense to me or work in the slightest.

  • It does not work at all. It simply instantly sets all ferns to animation frame 3, which makes it invisible to see (which is what animation frame 3 is for.) I don't see how this has any difference at all to be honest, it has the same effect as labeling each amount of capacity as a different frame while breaking it completely.

  • You need to make all of your Capacity checks under a sub-event of the Collision. Right now, only Capacity>= 1 is checked on the collision. The rest are checked constantly, which is resetting your timer constantly.

    I don't quite understand what you mean. Could you elaborate please?

  • I wanted to set up a certain timer for a specific 'SmallFern' that was already eaten, or in other terms, it's Capacity = 0. Capacity 0 meant you could not eat it anymore and it went invisible by switching to a frame in the 'animation' that had no sprite. Upon Capacity turning 0 I wanted it to start a 'Regrowth' timer set to once, which, once the time was reached that specific instance of 'SmallFern' were to change it's frame in the animation to fully-grown and it's Capacity to 3. Each time you eat the plant while it is atleast 1 or greater then 1 capacity it would fill some hunger and subtract one capacity, therefore changing the frame of the animation to a more eaten look.

    The problem is that the timer never starts, when using Debug testing the timer does start, but stays at the number 0 and never goes up, therefore the plant never regrows.

    Here is a screenshot of the events.

    Thank you for your help.

  • https://m.youtube.com/watch?v=V6Ifv0iGbPM

    A video that shows off the improved skins and walking animations. Slightly outdated.

  • Bumps?

    Recently started making my first animations. All walking and running animations are now finished so the last thing to do is finish the map, spawning, and AI until the next playable update

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Bumpo!

  • Try this, under the sprite you want the nearest picked of, choose Event "Pick Nearest/furthest"

    Set the X & Y to the X & Y position of your player.

    Looking through examples I've posted in the past, there is also the turret behavior, that you could use to set the angle when the target is within range:

    https://dl.dropboxusercontent.com/u/854 ... Range.capx

    (this example is like zombies turning toward the player when within range, and slowly moving that direction.)

    Thank you so much! <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

  • I played it for a little bit, as you say it's very early in development i'd say keep it up.

    I think the "sprint" should recharge abit faster, it's very slow.

    *Screeches in excitement*

    But no, really, thanks

    The stamina is a pretty iffy subject for us, as at night (once I turn the day/night cycle on) you can sleep and regen your stamina AND health 3x faster. I think since each time of day will be a little while it would a be a good experiment to try and lower it even more.

  • Bump!

    I mean, I guess it's sort of understandable that no one really cares about it too much. It is pretty weird looking and probably no one cares about dinosaurs but it was worth a shot. :/

Saurygiel's avatar

Saurygiel

Member since 27 Mar, 2015

None one is following Saurygiel yet!

Trophy Case

  • 9-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies