0 Favourites

How do I Make Random Selected Scenes

  • I want to make a game like follow the line where you have prebuilt levels and let the game randomly rearrange them to make an infinite level that's unique.

  • I've never played that game but are you trying to make it it's like after you beat a level it goes to another level at random?

  • I've never played that game but are you trying to make it it's like after you beat a level it goes to another level at random?

    not really i just want to make one endless level which chooses the terrain from a set amount preset levels. like color switch

  • > I've never played that game but are you trying to make it it's like after you beat a level it goes to another level at random?

    >

    not really i just want to make one endless level which chooses the terrain from a set amount preset levels. like color switch

    hmm... that's gonna be an interesting one to pull off. if I come across something i'll let you know.

  • You mean something like this?

    Endless scroller

    I wasn't very accurate with the green line, you should make sure that it enters and exits each frame seamlessly at the exact same point.

    CAPX

  • Is it possible to go back in your level ?

    I mean, is it like a randomly generated runner level where you go left to right in a never-ending way, or can your character go back on its steps like in a platformer ?

    For a runner, you could consider something like having "structures" of the level in memory (in an array, or some text file for example) and create those on the fly when you are almost at the end of the current "scrolling".

    A mix between the randomly generation from the endless runner template and something like

    [quote:1e5qwtxk]Random Terrain generation via Midpoint Displacement - LINK

    Procedurally create platforms - LINK

    Generating terrain based on random templates - LINK

    (Elements found in the How do I FAQ)

  • You mean something like this?

    http://doptrix.com/C2/EndlessScroller/ Endless scroller

    I wasn't very accurate with the green line, you should make sure that it enters and exits each frame seamlessly at the exact same point.

    http://doptrix.com/C2/EndlessScroller/EndlessScroller.capx CAPX

    exactly like that

  • You mean something like this?

    http://doptrix.com/C2/EndlessScroller/ Endless scroller

    I wasn't very accurate with the green line, you should make sure that it enters and exits each frame seamlessly at the exact same point.

    http://doptrix.com/C2/EndlessScroller/EndlessScroller.capx CAPX

    how do you do that

  • Do what?

  • Do what?

    endless scroller

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • Hmm, I posted link to the capx, have you tried clicking it?

    It's not a complete game of course, just a demo showing how to do endless scrolling.

  • this is capx given in the consruct 2

    1. click on File menu

    2. click on New

    3. scroll down you will find endless scroller game demo

    start that pre-build capx and look how it works you will get the idea

  • You mean something like this?

    http://doptrix.com/C2/EndlessScroller/ Endless scroller

    I wasn't very accurate with the green line, you should make sure that it enters and exits each frame seamlessly at the exact same point.

    http://doptrix.com/C2/EndlessScroller/EndlessScroller.capx CAPX

    what if instead of a background I wanted to make a foreground with enemies and platforms

  • Hmm, I posted link to the capx, have you tried clicking it?

    It's not a complete game of course, just a demo showing how to do endless scrolling.

    sorry didn't see the capx

  • what if instead of a background I wanted to make a foreground with enemies and platforms

    You should be more specific.

    Do you have something like this in mind?

    Subscribe to Construct videos now

    I guess you can use my example, define different collision polygons for each frame, add some image points. Then pin different obstacles to these image points.

    Or do you want to make an endless scrolling platformer game with character running/jumping/shooting etc? For this type of game there is a template in C2, see Zion's comment above.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)