Problem with Auto instantiating in X seconds in C#
Hi! I'm new to Unity and C# and wanted a little help with this little Script of mine.I'm not quite sure if the title is explicit.So, what I want to achieve is, basically:I have an enemy with a Gun...
View ArticlePlayOneShot keeps playing for ever (loops)
for easily(er) playing some soundeffects, I made a small script:SoundController:private static var Singleton : GameObject; static function GetController() { if (!Singleton) Create(); return Singleton;...
View ArticleGame Object moved by mouse x,y input is limited to screen resolution. How to...
function Update () {transform.position.x = (Input.mousePosition.x*0.05); transform.position.z = (Input.mousePosition.y*0.05); }With his code I can move my object around but its constrained by the edges...
View ArticleEndless stiched terrain
Hi, I'm trying to create an endless terrain in Unity. As I walk closer to the edge of the screen I want another mesh to appear, and the player must be able to interact with it. I can place two...
View Article2d toolkit randomly calling in sprite batches?
Hi, Im making a 2d sidescroller and have made a load of ground levels, which the character travels on, and made them into different sprite batches, i was wondering if there is a way, and if so how, to...
View ArticleMaking an endless tunnel
Hi again! Right now I'm trying to make an endless tunnel. I have say about 5 prefabs stuck together to make a tunnel at the beginning of the level, for a start. When you get close to the end of this...
View ArticleBest practice: endless driving game
I'm just getting started with Unity, although I've been doing development for a long time. I want to make an endless driving game, but I'm not sure what should move and what should be static. Is it...
View ArticleHow to create an endless track?
Hello everybody! I'm creating a game where i need an endless track. I've got a object, which moves always in z-direction. Now the script should generate a track for the object to move on. It should...
View ArticleRendering only when player is nearby.
I am trying to make a script that only renders a particle system when the players view can see it. My game is basically a 2d space sandbox game and having too many star particles causes it too lag out....
View ArticleMoving the world or the Player??
I am planning to make an endless runner game like temple run. need to know techniques for dynamic world creation. should i move the world back or move the player forward,because of the fact that unity...
View ArticleMaking a 3d endless runner?
I'm currently stuck on a 3d runner, so I've come here to find some help. Looked all over for an answer, but haven't had any luck. What I'm aiming for is how the buildings continue endlessly in this...
View ArticleInfinite 2d terrain generation methods
I found two methods of creating infinite 2d levels. 1. [Dynamic 2D Terrain Generation in Unity ][1] 2. [Dynamic Level Generation][2] Which among these is a better method to create infinite 2d levels?...
View ArticleEndless Running game random generator ?
**Hello i am working on mobile game and it's endless running game and it's about trying avoid traps as far as you can .. and i have problem about how i can make the terrain generate to become endless...
View ArticleHow could I create an endless stairs effect?
I am looking to create an endless stairs effect similar to that in Super Mario 64. So the player would go up the stairs, and no matter how far they go, if they turn around they will be at the bottom...
View ArticleEndless runner ground movement
Hi guys, i am having a serious problem, with my runner game, so a little about it, so the system i am using is keeping the player still and moving the ground, basically as you swipe up with the mouse/...
View ArticleEndless Terrain "Loop"
Hello, I am curious to how to achieve a endless terrain, A terrain that loops back on itself making it infinity, I would never see the edge and would always stay on the terrain no matter how far i go,...
View ArticleHow to mantain informations between scene transition?
I am working on temple run like game using this Kit. https://www.assetstore.unity3d.com/#/content/3292. I want to insert a room with two doors , when my player enters in the room it stops running and...
View ArticleHow to create a "save me" feature like subway surfers .temple run, etc ?
please help me how to create "save me" feature in the infinite runner..
View ArticleEndless Runner with List
Hi! I have written a code to generate endless platforms (always the same) and works perfectly. using UnityEngine; using System.Collections; using System.Collections.Generic; public class...
View Articlehow to move hinge joint anchor with the object?
I am building a simple endless level with script i found here [http://forum.unity3d.com/threads/183638-Endless-Terrain][1] so all my objects are children of terrain and get relocated according to...
View Article