Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
how do u make an endless runner in cc6 like subway surfers |
||||
|
There are some nice examples of that posted on the forum here - one comes to mind - the file name was "modelo_runGame" but you might have to search for this download. Get that and edit to suit what you want... |
||||
|
thks robo. but i can't find the file ,pls help me |
||||
|
Was this the type of game you were after ? https://www.ambiera.com/forum.php?t=8273 Note that forum search function only searches for exact match of words so you have to vary it up a bit.. |
||||
|
you can find games of the same genre as Subway Surfers apk game everywhere, such as Temple Run. |
||||
|
c123 wrote: how do u make an endless runner in cc6 like subway surfers Use two long plane mesh, place proximity sensors on both plane mesh. When the character reach a certain point reposition the planes continuously. |
||||
|
Not played the game but another simple way I would do it is to add a vertical billboard to an empty scene, then add the "animate texture" effect, and apply the frames from a (looped) video clip animated texture.... https://pixabay.com/videos/neon-terrain-80-retro-abstract-21368/ Using this website... https://ezgif.com/video-to-jpg Just paste the video url, download the frames as a zip. Scene/Map Attach/child the billboard to a static camera and adjust its position so it takes up the full screen. (0,0,-5) for position relative to camera. Then adjust image scale to fit the screen. Character You can then place your animated character at the bottom/middle of the screen to give the illusion of endlessly running forwards. Use the arrow keys to move them left/right, use space to jump etc. Game Play Then, for the gameplay, use the "at random intervals" action move obstacles (simple photos attached to other billboards will do) towards the player to jump over/duck/avoid etc. (You can hide all these objects behind the billboard until the are needed.) Place "on proximity" events on all the obstacles so that if the player hits them, a sound is played and health is deducted, level is restarted etc. Score Use a 2D overlay to display the current score by Add a "every few seconds" event to the player - set variable "Score" +1. So while the player runs without hitting anything, he will generate +1 score. Then add an "update 2D overlay" (score) and add Score:$Score$ to display and update the Score. Levels To swap levels, you could use the action "If variable (score) =100", make invisible "Billboard level 1", make visible "Billboard" Level 2", then just load different animated texture to the 2nd billboard (probably reduce the time between frames in the animation to make each level faster) and play some different music. To beat a level, you could add a photo off a finish-line to a billboard and a change level event attached to its proximity -you could do the same for health pickups/super-jump ability upgrade etc. |
||||
|
I'm creating a similar test game. |
||||
|
Here's example I'm using room map. https://youtu.be/-cCPYeSvylk |
|