Quantcast
Channel: Questions in topic: "random spawn"
Browsing all 125 articles
Browse latest View live

Weighted loot decision from a pre selected pool

Hey guys. I am doing a xml based loot table system for my framework im making . I am trying to do weighted loot drops using these tables. I basically have a list of items correctly loading and spawning...

View Article


Instantiating object randomly withing the boundaries of an object.

http://prntscr.com/fi8odo Im trying to spawn an object called Asteroid in a random location within the boundaries of the green area with an interval. I can't figure out what i'm supposed to write in...

View Article


Random spawn Gameobject in area

Hi all, i was thought to how make random spawner , i want create srvival game but the problem how can i spawn animals and enemys in randomly position in area , thanks

View Article

How to spawn an object continually while floating vertically like a bubble

For example a bubble floating vertically is spawned to many more bubbles created to also move vertically. How do i make it happen so when i bust a bubble more bubbles would be created again and again.

View Article

How to spawn objects in a given area ?

I want to spawn objects on a road but at some point my road have to ways ... how to spawn on that road ? For example i'm on C road and it splits in two : A_road and B_road if i take A_road ..how to get...

View Article


Ecosystem generator script generating everything in the same place

Hello, it seems that my ecosystem generator script is "randomly" spawning all of the game objects in about three different places, even though the coordinates are "randomized" every time an object is...

View Article

Instantiate a minimum of gameObject (instantiate un nombre minimum de...

hi everybody, i'm a begginer and i tried to spawn item at random spots. but i need to spawn a minimum of gameObject, like 7. actually, it spawns a random number of gameObject. here is my code to spawn...

View Article

random swap the block (block will have color)

![alt text][1] [1]: /storage/temp/108310-block.png I have 5 blocks in my 2d game and a player(blue color) i want random(only four color) color in my 5 blocks at one time when spawned (color must be...

View Article


i want random color in my five block but not same color how i do that

i want random colour in my fuve block but not same colour how i do that and i want to compare that color with my player if color is same(player and block) then it will go if not then gameover![alt...

View Article


Random Map generation like Temple run,Random Map generation like Temple Run.

Hello Guys, I am currently working on a 3d endless runner game and I am stuck at random generation of track. I am able to generate straight tracks like subway surfers, but i am not able to create...

View Article

Random Item Appear (JavaScript), 아이템 랜덤 등장 (자바스크립트)

**I want to write JavaScript to make the items(3D Object=cube) appear randomly. (The section is fixed but the location is random)** If this is a problem you can solve, please help me. I am sorry that...

View Article

Random Object Spawning

Hello im trying to spawn two Objects but i get a error "NullReferenceException: Object reference not set to an instance of an object" I know what that means but i cant find my error. The error marks me...

View Article

Random bitmap generator

Hi! I've been pouring through these posts, but I haven't found anything that could really point me in the right direction. I just want to preface this by saying that I'm a complete beginner when it...

View Article


Spawn Prefab at one of 5 location cubes

Hey guys, I have a issue. Im making a game where the escape pod is the ending and I have 5 cubes on the map placed around, I need it so one of those 5 cubes will spawn a prefab which will be the...

View Article

[C#] How do I randomly pick between 3 specific numbers?

Is it possible to CHOOSE a random number between 3 numbers I have set? I want to randomly choose between -3, 0, 3 but only those exact three numbers. I want my enemies to randomly spawn in one of the...

View Article


How to check collisions of static objects when spawned at Random?

Hi! For my project I am spawning static rooms at random. They should not be influenced by gravity, or move at all once they are placed for that matter. In the class room only the followingis relevant:...

View Article

Random obstacles spawn in 2D side endless runner game ?

Hello there. I am new to Unity. I have developed scrolling backgrounds, floor, animation jump, slide and other things. The only thing left for now is an algorithm to spawn random objects, obstacles (I...

View Article


How to move objects randomly spawned to other random locations

Hi i have a script which spawns objects randomly outside the viewport. Now i want the objects spawned on the right side to start moving to a random position on the left side of the outside of viewport....

View Article

Random platform Generator

Hello, Im trying to create a random platform generator on which a character is supposed to jump higher and higher up on. but whenever i generate my map some platforms are further away or too close for...

View Article

How to generate random clone

Hi, Im new to unity and I really need some help, my project is to click by mouse any where in the screen and it pop up a new clone of the original GameObject, so if some one can help me with a full...

View Article
Browsing all 125 articles
Browse latest View live


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