Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
endless runner

c123
Registered User
Quote
2020-09-10 15:35:33

how do u make an endless runner in cc6 like subway surfers


Robo
Guest
Quote
2020-09-11 02:00:27

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...


c123
Registered User
Quote
2020-09-11 15:43:43

thks robo. but i can't find the file ,pls help me


Robo
Guest
Quote
2020-09-11 23:00:42

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..


chrisgonzalez
Registered User
Quote
2022-06-18 17:57:13

you can find games of the same genre as Subway Surfers apk game everywhere, such as Temple Run.


serguell
Registered User
Quote
2022-06-21 16:46:26

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.


veganpete
Registered User
Quote
2022-06-22 13:54:59

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.


serguell
Registered User
Quote
2022-06-22 17:47:31

I'm creating a similar test game.


serguell
Registered User
Quote
2022-06-26 21:39:40

Here's example I'm using room map.

https://youtu.be/-cCPYeSvylk


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "I?ternational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact