The tag has no usage guidance.

learn more… | top users | synonyms

-3
votes
1answer
37 views

Repeating an anim at various positions in unity 2d

I never worked in unity 2d before. I just started developing a 2d game couple of days back. The gameplay of my game is almost similar to flappy bird. I successfully imported an animation file (.anim ...
1
vote
0answers
27 views

Unet spawning my 2 players in same location [closed]

I have min and max number of players set to 2. I have 2 empty game objects in my scene with Network Start Position scripts attached. I have "Round Robin" as the player spawn method in my Network ...
0
votes
0answers
30 views

Spawning multiple objects randomly

I have gold spawning all the time though I sometimes ( rarely ) want to spawn a gem, and at other times I want to spawn boosts, how would I make a function to choose between what item to spawn. I ...
4
votes
1answer
322 views

Set a 'chance to spawn' for each GameObject in an array

I have an array of gameObjects in a spawner. I want to randomly spawn these gameObjects based on a weighted chance. I want to be able to manually set in the Inspector a percentage chance that an ...
0
votes
1answer
76 views

UNET spawn dynamically generated object unity

Spawning works when all clients are connected, but if a client connects after I spawn all my prefabs there are errors. I spawn the object before changing its Rigidbody's velocity, which seems to ...
1
vote
1answer
201 views

Libgdx spawning enemies at random time

Hello I want to spawn enemies at certain location but at random time,like for example every 10 seconds. Atm I am spawning enemies whenever I click to spawn heroes but with delay, but I sure does not ...
0
votes
0answers
20 views

Unwanted Pawn spawn at viewport location

I made pawn Blueprint which I control its rotation with my keyboard. I assigned it to a new game mode then I assigned the latter as the default game mode, then I created a top down camera and made it ...
1
vote
1answer
70 views

Spawning Object 1 Within Object 2's Collision Box [Gamemaker]

I was wondering if any of you could help me with a specific Gamemaker question. Am using Gamemaker Studio. I have an object (oSpecialSolid) which rotates and moves across my level. At random ...
2
votes
2answers
699 views

How to randomly spawn obstacles for infinite runner?

I am trying to create randomly generated path properly? Think of flappy bird (its not really) but my code/algorithm is all wrong. If I make BarMax, BarMin too large, then player can cheat cos in ...
0
votes
1answer
99 views

Extra sprite spawning when the enemies are redrawn SFML

I am making a game in sfml and at the moment when all of the enemies die. They are set to respawn however when this is happening they are respawning with one extra sprite than before. The code for ...
2
votes
1answer
2k views

How do I spawn an enemy at one of many spawn points in Unity?

I have a spawn script that so far only creates one Enemy spawn point and enemy trigger while only spawning one enemy. Instead, I want it to create multiple spawns and triggers, but keep it such that ...
1
vote
0answers
99 views

Particle System Tracking

I have a particle system where instead of tracking the time each particle is alive, I just track the time of the oldest particle and the time of the youngest particle. Basically, the oldest particle ...
4
votes
2answers
513 views

Why should I use a list of enemies instead of an array of enemies?

I have been making 2d shooter similar to galaga using xna in C#, where the enemies (2 types) are all in rows above the player's ships, and are supposed to randomly launch attacks. I had previously ...
1
vote
1answer
465 views

making a monster encounter method

I'm currently making my own little 2d text based game and I've got a 11 / 11 grid where a monster spawns in the middle and when i stand on it's position and it brings me to another 11/11 grid where i ...
0
votes
2answers
287 views

How can I make a power-up spawn system semi-random?

Basically I'm working on a similar game to achtung die kurve (http://curvefever.com). I'm almost done with the game, however I'm not completely fine with the way power up spawning works. As for now, I ...
2
votes
2answers
260 views

Obstacle spawn constraints in Jetpack Joyride

Jetpack Joyride: https://www.youtube.com/watch?v=3KENMuzsras tl;dr What's the best way to add constraints to obstacle spawning (algorithms) or how to design obstacle spawning to allow constraints? ...
-1
votes
1answer
90 views

Movieclip to spawn in in a set perimeter

I like to make a movieclip randomly spawn in a set area. But theres a little more to it, usually you'd have something like the X pos set to something like 250 (say the centre) and the Y pos set to be ...
2
votes
2answers
161 views

Fair spawning of players on a 2D grid

As new players enter a game, they are given a location on a large grid. The first player is given the location in the center. Now, how should the second player be placed? Then, the third and so on? ...
2
votes
2answers
691 views

How do I write a wave-spawning system for a shoot-em-up?

I recently played Knightmare Tower and was amazed by the way how different monsters are beign spawned. I'm aware of time-based and count-based spawing systems in shoot-em-ups. Count-based systems ...