Questions tagged [spawning]
143 questions
-1
votes
1 answer
How to get the coordinates of an item that the player is holding in Minecraft? Using MinecraftForge
I am using Minecraft Forge and I want to know how to get the coordinates of a Block or an Item that the player is holding or looking at. Or It can also be just a block that the player just broke. In any case, I need to get those coordinates to be…

SaraFatih
- 139
- 4
- 16
-1
votes
1 answer
Spawning images/pictureboxes
In C# WPF, I'm trying to create a new picturebox on the point where I clicked, whenever I click on the main window. I'm not too sure how to approach this since I could not find anything on the internet about this.

TypicalGC7
- 15
- 1
- 1
- 6
-2
votes
1 answer
How to set the limit to a spawner?
I have a question. Im trying to create a spawner with max limit of 4 spawns. But if a spawn is destroyed I want to start the spawning again up until the number reaches max again. Below I have the code but my spawner just keeps spawning objects over…

Raf Kam
- 1
- 1
-2
votes
4 answers
In Unity how can I set a value to property while initializing a prefab with Instantiate() method like OOP constructor with parameters?
I am a newbie in Unity and game development. I want to make a mobile stack jump game with primitives. I have a player in the center of the screen. The enemy is approaching the player from the right and left of the screen. The player tries to sit on…

Fx Games
- 1
- 4
-2
votes
1 answer
Transfer values while using threads
I've made three classes and I use one of them to create and start two separate threads for other two classes. How can I pass values within those two classes?
-2
votes
1 answer
SpriteKit, Swift 2.0 - Making an object spawn on the game map
I am making a game in SpriteKit and in this game I have platforms that spawn, I want to make it so that an object such as a gem or coin has a chance of spawning on the platform when it is spawned
I need it to be random and also be able to choose…

Astrum
- 375
- 6
- 21
-2
votes
1 answer
XNA Game Programming: Spawn enemies in a circle
Could someone please give me some direction on how to spawn enemies in a circle (XNA Programming)?
I want the enemies to randomly spawn along the circumference of a circle that is just outside the bounds of the window. I want them to move in…

jdewitte
- 131
- 3
- 13