Questions tagged [spawning]
The spawning tag has no summary.
85 questions
0 votes
1 answer
109 views
How to make enemies spawn off-screen in Godot 4.5?
I am trying to make a game using Godot 4.5 where enemies spawn off-screen, but I faced this bug where they spawn on-screen instead: The white squares are the spawned enemies and the red is the player....
0 votes
1 answer
149 views
Dynamically-created cube with mouse follow script does not follow mouse
The goal of this script is that the object it's attached to should move with the mouse. ...
0 votes
0 answers
107 views
Spawn prefabs in a vertical stack with a fixed gap
I am making a simple game with a ball that moves left and right when it hits a wall. I want the game to be like an arcade type game where the ball is on a platform and it keeps jumping up. I've ...
0 votes
0 answers
289 views
transform.localPosition does not wok in Unity
When im breaking fence GameObject there should pop up scores, so it works fine. But position of pop up scores is too low, im trying to raise it by ...
0 votes
2 answers
2k views
How to Spawn GameObjects at Random Positions in Unity? [closed]
Hello GameDev Community, I have a problem with this pice of code. If I start the "Game", it crashes right away. Probably is its the list of GameObjects or the foreach loop. I have no idea ...
1 vote
1 answer
321 views
Ensure that random enemies don't spawn just near the player
I need to find a method using which I can ensure that random enemies and objects don't spawn just near the player. In fact, if they do, the player will be more likely to collide with them and lose. ...
0 votes
1 answer
126 views
Why does my spawner spawn multiple times at start-up, only in build?
I'm making a small game similar to Super Hexagon. I've recently asked a question about making the game harder as the player progresses by increasing the obstacles' spawn rate. I was able to implement ...
0 votes
0 answers
205 views
How can I improve the current enemy spawning system for my strategy game
I'm currently making an RTS game for mobile where mini battles would take place on tiny battlegrounds. The problem is that currently the player is spawning its units based on a currency system, ...