MarkMoriquendi's Forum Posts

  • ikke2902

    that is EXACTLY what I am looking for, just vertically

    any chance you could, possibly, flip that round?

  • Still with the theme of this cave jumping game:

    https://www.scirra.com/forum/viewtopic.php?f=147&t=151936

    I wish to generate a set of vertical platforms, that are within a certain distance of each other but also not outside the playing field, that are generated randomly each time the game is loaded (if that makes sense)

    I've come to the conclusion that I need to try to recreate an IF statement to generate a platform:

    IF platform.x < previousplatform.x - 200 OR platform.x > previousplatform.x + 200
    AND platform.x < leftboundary AND platform.x > rightboundary
    THEN regenerate platform.x
    ELSE create platform at platform.x, platform.y[/code:3h0oimej]
    
    Am I over complicating this? if not, how do I go about translating this into events?
    If so, how would I go about doing this?
    
    Here's a screenshot of my events page:
    [img="http://s22.postimg.org/y7kcdxwu9/events3.png"]
    
    ANY HELP WOULD BE APPRECIATED! I AM TEARING MY HAIR OUT!
    
    TIA
  • Anyone able to help?

  • Is this what you meant? Because if so, the game just hangs on loading....

    I think I may have created an infinite loop, but I'm not sure....

  • Hi Lumik

    Thank your for your response -- it is greatly appreciated.

    I'll get on to it and let you know of my progress

  • Hi guys!

    I'm trying to make a cave jumper (akin to Amsoft's Roland In The Caves, if anyone remembers it) and am wanting randomly generated platforms - however at present I can't stop them from being too uniform, too far to jump to or out of the playing field. So, I have a few questions:

    I'm starting with a platform of a random position (horizontally), and a height variable based off that and the players jump height. How do I:

    A) stop the platforms generating out of the playing field

    B) keep them within jumping distance of the player

    C) keep them random enough to avoid boredom (or a staircase)

    The event sheet looks thusly:

    Any advice would be greatly appreciated

    TIA

  • Try Construct 3

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

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

    I'm trying to make a cave jumper (akin to Amsoft's Roland In The Caves, if anyone remembers it) and am wanting randomly generated platforms - however at present I can't stop them from being too uniform, too far to jump to or out of the playing field. So, I have a few questions:

    I'm starting with a platform of a random position (horizontally), and a height variable based off that and the players jump height. How do I:

    A) stop the platforms generating out of the playing field

    B) keep them within jumping distance of the player

    C) keep them random enough to avoid boredom (or a staircase)

    The event sheet looks thusly:

    Any advice would be greatly appreciated

    TIA