mbuckenmeyer90's Forum Posts

  • Thanks for the responses!

    I think I understand what R0J0hound is saying, but unfortunately alextro, yours seems a bit beyond me.

  • Also, could I set it up to pick 4 or 5 locations?

  • Can you elaborate on this a little bit more, please?

    (So basically I have when sprite1 gets destroyed I want sprite2 to spawn in a random location (location A or B))

    Should I make an event saying "Sprite1 On Destroyed" ...and then what?

  • How could I get an object to spawn in either location "A" or "B"?

    Location A

    X - 400~600 and Y - 300~500

    Location B

    X - 100~300 and Y - 1000~1100

  • How could I get an object to spawn in either section "A" or "B"?

    Section A

    X - 400~600 and Y - 300~500

    Section B

    X - 100~300 and Y - 1000~1100

  • Thanks that worked. But I now have an even trickier question. Would It be possible to add the Y coordinates and say hypothetically I want to spawn an object in either the bottom left corner or the top right corner, would that be possible?

    perhaps it might look something like:

    X - choose(random(95,210),random(350,450))

    Y - choose(random(900,1000),random(300,500))

    (unfortunately, I think this would mix and match the possibilities, rather than keeping it "bottom left and top right")

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • Say I want to spawn an object on an X coordinate but there is a specific spot I don't want it to spawn, how would I write that expression? Is it possible?

    IE " random(95,210) and random(350,450) "

    would It be written as random(95,210 : 350,450)

    OR

    random(95,210 * 350,450)

    Or is there another way to write it out?

  • Ok, Thanks

  • Thanks

  • So I made an enemy and they're supposed to float up and down (while moving across the screen)

    I noticed if I have one in the layout the moment I test the game it works fine, BUT if I remove that first one and wait for the enemies to spawn naturally they don't move up and down (but they do still float across the screen)

  • So I got a Mario sort of pipe to block the player except for the perpendicular pipe. I was hoping to get the player to either be able to go through the perpendicular pipe or hit the one side and then teleport onto the other side.

    But then I realized I have no idea how to do this. Any help would be appreciated.

    Thanks

  • Thanks for the comment but I managed to create a workaround that seems to work fine. But I still don't understand why this issue was happening. Oh well.

    Thanks for commenting though!

  • Hello,

    So I am working on a scrolling game. Really it's just the ground that's moving and not the player. I set up the action for the ground platforms to be created every "5" seconds and POS was X(1150, 1250) to create different size gaps. However, at the start of the game, the first platform is either being created at any X coordinate or at a time frame from either on "start of layout" or about 8 seconds in.

    I can't seem to figure out why the first created ground platform is random.

    Any help would be appreciated!

    Thanks!