MarkMoriquendi's Recent Forum Activity

  • You know what, I never thought of that! I'll give it a go

  • Yep I see this now -- I'll let you know I get on!

  • Hi Lumik

    this IS a better effect than I could acheive, but its still a little too, um, "staircasey"

    platforms are all still over one side....

  • 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

MarkMoriquendi's avatar

MarkMoriquendi

Member since 4 Aug, 2015

None one is following MarkMoriquendi yet!

Connect with MarkMoriquendi

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies