Skip to main content
Filter by
Sorted by
Tagged with
-3 votes
1 answer
35 views

In my Unity Project when my game runs my world item prefab initiates sprites that don't show on my inventory display only the canvas that can't be seen on screen and it doesn't spawn any collectable ...
Duane Cooper's user avatar
0 votes
2 answers
79 views

I'm working in something on godot engine 4. I create code to spawn objects in different parts of the screen. But I try to prevent to generate items in the same coordinates twice. How I can do it? ...
Diego Sandoval's user avatar
1 vote
2 answers
45 views

I want to multiply my prefab (bandit) every few seconds, but if I remove my prefab in the hierarchy it is no longer spawned. I put this in my project view as prefab but this doesn't seem to work. The ...
Romy Lambrechts's user avatar
0 votes
1 answer
96 views

After i press restart button game restarts but it does not spawn the targets when i first start the game it works but after restarting it does not spawn targets, cursor should also disappear and turn ...
maark7's user avatar
  • 11
-2 votes
1 answer
72 views

Hello I am currently making a 2D topdown game in unity, in which I want to randomly generate trees and rocks throughout my map. Both are prefabs that you can interact with. This is my current code. I ...
Ted Hutter's user avatar
0 votes
0 answers
50 views

PROBLEM SOLVED thanks to hijinxbassist In the below codes i changed the SetUp function to SetUpClientRpc and called it after i spawned the tiles. I'm trying to create a grid through the network, and ...
Mike The Elf's user avatar
0 votes
1 answer
273 views

So i just started working in godot 4 and i have to make a project for school. i chose to make a tower defense game like perfect tower 2, but now im having a problem. i have been watching a lot of ...
Tiago Costa's user avatar
2 votes
0 answers
170 views

I have a simple Node.js express app that just serves some static files. const express = require('express'); const cors = require('cors') const app = express(); app.use(cors()) app.use(express.static(...
Zakaria Ahmed's user avatar
0 votes
2 answers
51 views

in this video, https://youtu.be/klBvssJE5Qg I shows you how to spawn enemies outside of a fixed camera. (this is in GDscript by the way) How could I make this work with a moving camera? I wanna make a ...
oliver james's user avatar
0 votes
1 answer
271 views

I am trying to get my 3-D Tic-Tac-Toe game project to work, I have game objects which are named cells that are instantitated I press OnMouseDown() click it makes a cell object spawn in its grid space. ...
Jesse Gober's user avatar
0 votes
1 answer
580 views

When I shoot the asteriod they disapear which is what i want however I want more asteriods to spawn instead of them just disapearing forever.Im not sure what to add in this code to make more spawn ...
Ivanna's user avatar
  • 3
-2 votes
1 answer
289 views

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 ...
Raf Kam 's user avatar
1 vote
1 answer
1k views

How an I spawn an Isolate blocking on an async function in Flutter? I tried dart:cli's waitFor function, but it seems that dart:cli does not work together with Flutter.
porton's user avatar
  • 5,909
0 votes
2 answers
353 views

I am trying to automatically spawn a desired amount of enemies within an area, which is currently a test area. The idea is that if the current amount of enemies are less than the amount of desired ...
WolfPG's user avatar
  • 33
0 votes
1 answer
51 views

at the moment I am creating a wave based game but I have a problem when it comes to checking whether all the enemies were killed. I have three different Enemies with the Tags "Enemy1", "...
Josh's user avatar
  • 17
0 votes
1 answer
315 views

I have a class, where my enemies spawn at the start of the game. When my player dies, I wanna call the spawn class again to let the enemies spawn again. But when I do so, nothing is happening. public ...
HappyJava's user avatar
1 vote
1 answer
53 views

I have trouble finding a good solution (and a good title) to the following problem: Say I have a blueprint of a sphere. This sphere-blueprint contains an array of unique colors. Each sphere will take ...
Florian Wolf's user avatar
0 votes
0 answers
2k views

this is the fix at top use this to create a string that Static Mesh Object can accept as a unique identifier so the engine doesn't crash FName name = *FString::Printf(TEXT("Sphere %i"), i); ...
GSchian0's user avatar
0 votes
1 answer
1k views

I'm working on a 3D game in Unity where you die if you fall off the platforms. The aim is to respawn after you fall off a platform. At first it worked, but after I made a completely new movement ...
AbstractStopcontact's user avatar
0 votes
0 answers
3k views

I'm trying to undestand when and in which thread Unreal loading assets of Actors. I have Spawner that call's SpawnActor for different actors (which have Meshes, Sounds, etc) in the game thread in ...
Robotex's user avatar
  • 1,026
0 votes
0 answers
27 views

I would like to push elements into a queue using vector of threads, but am getting an error: no matching constructor for initialization of thread. Can you please help me to fix it. #include <thread&...
Suresh Atukuri's user avatar
-1 votes
1 answer
378 views

I'm currently making a "free roam" 2D space game from a birds-eye view. I am trying to randomly spawn in asteroids around the scene so that they can be used to collide with ships, although I ...
Trigger Happy's user avatar
1 vote
2 answers
560 views

Currently I am using random positions outside of camera view to spawn my enemy. I want to spawn my enemies in selected areas: How can I do that?
HitesH's user avatar
  • 55
0 votes
1 answer
288 views

Consider the following scripts #!/bin/bash # fee.sh echo "fee" #!/bin/bash # foo.sh echo "foo" ./fee.sh & Now execute the foo script. $ ./foo.sh foo Only the output from foo....
tcamuso's user avatar
0 votes
1 answer
66 views

When ever I run my code I just see the one cement block sprite falling from the top of my pygame window. Thats exactly what I want except I want an infinite amount of cement blocks falling from the ...
J.R. BEATS's user avatar
1 vote
1 answer
329 views

Scenario locust test with gradual spawn-rate, chart looks like a 45-degree angle. I would like to know the RPS of the system while all threads are running. The out-of-the-box RPS value from locust ...
Guy's user avatar
  • 830
0 votes
1 answer
5k views

Here's a problem: my goal is to have a ball game with obstacles. I made two obstacles (cubes with triggers) and the spawner code does not spawn them - nothing at all. It does compile without errors, ...
user avatar
-2 votes
4 answers
3k views

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 ...
Fx Games's user avatar
1 vote
1 answer
4k views

So im building a small Bulletgell game, and im at the point where I want Enemys to spawn in at random Spawnpoints in a given area. I did that with help of the BoxCollider2D, everything works fine but ...
Dimosaurier's user avatar
3 votes
2 answers
6k views

I'd like to spawn several child processes in Bash, but I'd like the parent script to remain running, such that signals send to the parent script also affect the spawned children processes. This doesn'...
Geremia's user avatar
  • 5,844
0 votes
1 answer
744 views

I am having trouble with path2Ds. So the enemies spawn at intervals as per the "your first game". However, what I want is for them to spawn and move towards/go to a stationary character or a ...
Elliot Cullen's user avatar
1 vote
0 answers
206 views

I'm developing a video game in Unity and I have come across a vector mathematics problem designing one of the levels. I want to spawn two rectangular blocks attached to each other parallel to the ...
Maurice Bekambo's user avatar
0 votes
1 answer
2k views

I use the output of a Python script in my node.js app. However, I need to query it another time (and, possibly, several times). I cannot do this because the Python process ends and cannot be restarted....
Aerodynamika's user avatar
  • 8,614
1 vote
2 answers
584 views

I am a beginner in Libgdx and I have a simple Galaga type game setup where the player earns points through waves with different level enemies with various stats. The player can then upgrade certain ...
alejandrogarcia's user avatar
1 vote
2 answers
101 views

Trying to understand why I can't create a new object. I have one spawning object that comes up slowly and once it is done with frame 5 it is supposed to spawn a new object and die. It is throwing a ...
user2899211's user avatar
-1 votes
1 answer
109 views

So here is the code, right now i only spawn each frame x Prefabs (Its a simple Game im new to unity so the player is a ball and dodges stuff etc. So i have an amount of prefabs (Floors) that is ...
Arror404's user avatar
1 vote
0 answers
102 views

Due to memory constraints I need to convert some Python scripts to C. In my script they used a module called "pexpect" which allows spawning child applications and controlling them ...
Niranjan Mahesh's user avatar
0 votes
1 answer
113 views

import time from multiprocessing import Pool, RawArray, sharedctypes from ctypes import c_int def init_worker(X): print(f"{X}") def worker_func(i): print(f"{X}") time.sleep(i) # Some heavy ...
Shouvik Das's user avatar
0 votes
3 answers
5k views

I am trying to make an RTS game using Photon Networking For Unity. What I am trying to do is depending on the players in the specific room (2 in this example) all the players spawn at a different ...
CrazyGamer's user avatar
0 votes
0 answers
2k views

I'm working on an Angular project and was wondering if someone knows if it is possible to make a mde-popover spawn next to the hovering element instead of above or below it. So far I haven't been ...
imkeVr's user avatar
  • 472
0 votes
0 answers
136 views

I have a little code snippet in UE4 c++ that is supposed to give me a bunch of FVectors in a grid. However, printing out the FVectors gives me (0,0,0) every single time FVector deltaLoc; float xGap = ...
Shrey Ghildiyal's user avatar
0 votes
1 answer
47 views

In the below code snippet I'm trying to instantiate gameobjects at different probability rates but I keep on getting the following error: No appropriate version of 'UnityEngine.Object.Instantiate' ...
Random Binaries's user avatar
0 votes
2 answers
58 views

I am spawning objects on startup,(maxObj = 75) then destroying Obj's on event and disabling spawner Obj. When player wants they can re enable spawner. I need count to start at 0 on enable. Another ...
Vix's user avatar
  • 9
0 votes
2 answers
93 views

I'm writing a python 3 program that will start another python program to process files. I need the main program to keep an arbitrary number of processes running at any time. I'll read the arbitrary ...
JimF's user avatar
  • 171
0 votes
1 answer
3k views

The 2019 input system package provides a component called Player Input Manager. It has the option Join Player When Join Action Is Triggered" as Join Behaviour. How Can I trigger that action? I can't ...
Anno's user avatar
  • 871
0 votes
1 answer
409 views

I am currently creating a game where the player is on a square platform and I want the enemies to spawn randomly from the four edges of the platform. So far I am able to make my enemies spawn randomly ...
FloodAndBones's user avatar
2 votes
2 answers
109 views

In simple words my spawning system doesnt work I am making a dodge the blocks game and I want 1 out of 5 spawnpoints to be empty so that the player can dodge the others. Of course that spawnpoint is ...
M. Michalopoulos's user avatar
0 votes
1 answer
1k views

I'm currently developing a game in Unity and I had a question. When spawning a new clone of a prefab that I created I want the instantiated game objects to move to the position that another gameobject ...
Maurice Bekambo's user avatar
0 votes
1 answer
2k views

I want to add an object reference to an array in unreal blueprints, but I don't want to spawn it in the level. Is this even possible? I tried setting the collision override to 'Do not spawn'. But it ...
ProRedMax's user avatar
-1 votes
1 answer
67 views

I have a unity-c# code that will spawn player on position(0,1,0) on start. I want them to be able to overlap on the same position. Right now my code only spawns 1 player. but when I drag another one ...
Archadia's user avatar