are0planes's Forum Posts

  • 7 posts
  • If they are different types of objects, you can add them to a family, and if you spawn from that family, it randomly chooses one.

    Without the full version, you can use a local variable and assign it a value with floor(random(2)) and then If var == 0 spawn ground0; elseif var == 1 spawn ground1 elseif var == 2 spawn ground2 etc.

    Makes sense. Thanks. Looks like its time to purchase a license.

  • I have a set of premade objects. The objects move across the screen at X speed. I want to make it so whenever the current object on screen reaches X on the X-axis it will randomly pick one of the other premade objects to begin behind it to create a infinite loop but with random order by which the objects appear.

    Say I have 'ground1' moving across the screen, once it reaches X on the X-axis, I want it to randomly choose one of the other objects from a list to create a object following 'ground1' such as 'ground4' and when 'ground4' is at X to load another random 'ground' object to follow it.

    Thanks in advance.

  • Now that UHQ and UHQ+ and even 4k screens and monitors are becoming a norm, is there any plan to support these new resolutions? For a majority of the things, it handles well with sizing but not with the mini-icons of objects when in the event screen or instance variables etc, anytime there is a little example of your selected object. It's not a big issue just an annoyance when your laptop screen is 3200x1800 on a 13in screen.

  • If you set your character object's behavior to include platformer, you can then set the 'default controls' to 'no' and in the event sheet for each key you want to character to move use 'stimulate object movement' and select the action you want the character to perform.

  • You can use "Is overlapping at offset" to check for an overlap below the player.

    Thanks, that got it to work. I expanded the Y coordinate down a little. I thought I tried that but apparently not. Appreciate the help!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is there any way to detect which object I "on landed" or is it just uniform for all objects.

  • I have a platformer game where barriers move from right to left until off the screen. The player object which you can control moves from right to left too unless you are moving the player right to prevent from going off the screen. Whenever my player object lands on the barriers, it's speed left is doubled so that he slides off the barrier then lands on the 'ground' and returns to a normal speed going left.

    Here is my event's for further verification as well as a crappy gif.

    My question is, how do I check if the player object is on the barrier object, which each time it is generated is at a different height, so that I can set the object speed to the the right to negate the double speed caused by the barrier.

    As well, if you have any suggestions for better doing things in how I update the player movement, don't

    hesitate to let me know.

    Click the link, the screenshot is really big, forgot to resize it.

    i.imgur.com/xEs7eeo.png

  • 7 posts