I’m on mobile rn so I can’t really show you, but I can at least help with the camera.
Click on the Camera behavior, when you do you should see 4 sets of numbers. You can adjust these numbers to expand the screen Up, Down Left, or Right.
If one moves the player without moving the mouse the player can aim in a different direction than the object and when they put the cursor back onto the game screen, then the object is not directly on top of the cursor.
It sounds like “Use Game Coordinates” isn’t selected (inside the MouseMove behavior).
However, you can keep it to Screen Coordinates and get the camera X,Y output then use that to offset the cursor. This will fix the mouse to the proper spot if the camera moves while the cursor isn’t moving.
I’m still on mobile, but I’ll try my best to explain a Wave System
Create a Global called “Total Enemies” (or whatever else you want)
Create a “Spawner” object, this object will spawn the enemies.
Each time an enemy is spawned, -1 from Total Enemies. When it reaches 0, stop spawning.
Whenever an enemy dies, send a message to the Wave System object (whatever you have it was).
When the Message is received, +1 to number starting at 0. When that number equals Total Enemies, the wave is over.
Reset the number the Message added to back to 0.
Add 5 to the Total Enemies Global
I prefer using a Spawner object than a random position because it’s more controlled.
To choose a random one, you can assign each of the spawners their own number, then send a message to all the spawners.
If the number is equal to the assigned value, spawn enemy (unless Total Enemies is = 0)
Thank you, I will use this, but, in the future waves, I will have 30 - 50 enemies, it would take a lot of spawn block to place them. That would take quite a while, and I don’t want all the enemies to spawn in one place, aka using the repeater. Is there anything I can do to fix this?
I will mark you message as a solution in around 8 hours, when I test it out.
I was think of placing the object in multiple different places, not in a single spot.
Let’s say you had 10 different spawning locations, each one would on average spawn 5 enemies (if you wanted 50 total).
If you need more clarification on this I can send a screenshot later when I’m by a computer
I am also struggling a bit with spawning. When the wave starts, the global wave increases to one, which send a message to the spawner. Then it goes into a repeater, which tells the spawner to spawn an enemy on 0,0. Finally it goes into a timer set to 1.