Quantcast
Browsing all 102 articles
Browse latest View live

Multi coulored Lighting and acid physics+ spawnpoints

Thaks guys for answering my last question by the way I'm not going to compleatly copy of the idea of limbo just take elements from the game. the game is About an insect and it's mysterious journey that...

View Article


"MissingMethodException: Method not found:" (Javascript)

I am trying to make a button activated spawn point using "Spawner - Free 1.7" and I am having trouble. I am modifying the code of a lift button already implemented in my scene. var Spawner :...

View Article


Spawn after every 5 seconds

Hey Guys, Johnny here :D I was just wondering if anyone knew how to spawn a gameobject after every 5 seconds. I'm creating a survival game where an enemy is spawned every 5 seconds. Is anyone able to...

View Article

Can't get objects from an array instantiate at spawn points in an array

I'm trying to spawn objects from an array to spawn points in another array. The objects chosen to be spawned must be randomly chosen, but not the spawn points. I need the code to go through each spawn...

View Article

Two specific transform values instead of random int? Even distribution...

Hi community I am in need of a little assistance. I'm relatively new to JS (or any other language for that matter and have hit a snag. I have managed to cobble together a script for objects in my game...

View Article


Problem creating a 2D scroller shooting game

Hello everyone , I have a problem with my 2D scroller shooting game (like metal slug), basically I'm not able to create a script to shoot in front of the player . I've created one , but the bullet...

View Article

Spawn multiple enemies from spawn point

Hello, I have a simple spawn script but when I added the var enemy2 : Game Object, it does not want to spawn enemy 2. It will only spawn enemy 1. var Enemy : GameObject; var Enemy2 : GameObject; var...

View Article

Create a streched cube between any two selected points.

I need a script that is allows me to create a cube between two specified points. The desired code would allow me to be in game as a first person controller and create a cube from selecting two points....

View Article


How to move one object's position to another in unity? (c#)

How do you move one object's position to another in unity? I need to make my player object move to the spawn point when he dies. Here is the code I am using: this.transform.position =...

View Article


Spawn object in "set random" location

Hi guys :) hopefully someone can help me :) im trying to make a game where balls come from the right of the screen moving left. i want them to spawn off screen and start moving left. (thats not the...

View Article

Accessing different spawn points

So I have my spawning code for the player working how I need it to, but my problem is I need to be able to access several different spawn points across the game in different scenes, and my code only...

View Article

Making a spawn point

I'm making a level where I have 2 gorge that I have to cross across in order to proceed further on in to the level. The first gorge has a series of rocks to jump across to reach the other side, and the...

View Article

Trying to get a prefab to pop up at various spawn points

Hi. I'm completely new to Unity and sort of making it up as I go along. I've managed to stumble through all the problems I've had so far (mostly thanks to this forum), but this one has me completely...

View Article


Problem with instantiate script

Hello! I've got a problem with my spawn script which i just cant figure out. The point of the script is to spawn platforms aligned perfectly next to each other, without any gap between. The...

View Article

spawn objects in random locations, check if location already taken

Hi! you'll see, i have this scripts that i made, i have 8 letters i wanna spawn in 11 possible spots, i want each letter to be assign to one unique location, but when i run the script, some letters are...

View Article


HOW TO MOVE A OBJECT TO ANOTHER OBJECT SMOOTHLY NOT INSTANTLY?

HI GUYS! ok I want to know how to move an object to another object smoothly, as if im throwing it the other object. Say I have Object A and Object B. I want, if I click Object B, then Object A will...

View Article

Teleporting the player between scenes to a particular spawn point [c#]

So I'm basically creating a simple maze made out of different rooms. There are several doors in each room that all lead to another specific door in another room. For example, this is the script on the...

View Article


2d Obstacle spawner with fixed distance between objects

I have a ball moving forward, and so far a single cube controlled by the mouse, I want to have at least 5 cubes on screen once the game starts with a certain range of space between them and have them...

View Article

Flip sprites in enemy spawner

I am so close to figuring this out. A random running player is selected from the array and placed in a random spawn location (also obtained from an array). If the player spawns on the right he faces...

View Article

I need help with my spawning system(SOLVED)

I am trying to make a spawning system based on time and exact positions, i made something but the problem that i have is that when i break 2 or more game objects at the same time, or even in quick...

View Article
Browsing all 102 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>