@tatiang The enemy object still spawns outside of the game "boundaries" and I made the changes you're showing in the current version. You can still see the enemy objects but you can reach them, which is a problem. I will add the current project below.
I would reduce it to under those numbers by half the length/width whichever is greater. Remember GS calculates location of an actor off it's center so if 480 is max on the screen size if you actor is say 100pixels half of it will be off the screen when it spawns at 480. So give yourself some play there so if it was me I'd set it to ran(50,430) on X and ran(50,270) Y.
I don't mean this as an offense, but this is pretty basic stuff with game development with GS. If the company your pitching to is going to take over development then that's one thing but if you're gong to develop it, you're not ready for a development deal.
@NovicaStudio Oh, could you take a quick look at the project again? the enemies is spawning on the border of the scene making it impossible for you to destroy them. Once again Thanks!
@NovicaStudio Oh, could you take a quick look at the project again? the enemies is spawning on the border of the scene making it impossible for you to destroy them. Once again Thanks!
I think what your problem is is the same as mine every once and a while: sometimes gamesalad clears the numbers on my positoin, so just go back to what Socks said and change it to the correct position.
@Socks@NovicaStudio and my problem is still the same. I have tried to change everything on x if it dosen't spawn under the player object then it spawns to often to the right and in the end it's on the border of the scene.
I'm sorry if I'm annoying you with obvious question but I have tried to solve this for 3 days straight and I still haven't find a proper. That's why I'm turning to you who have more experience in Game Salad than I do.
Yeah, that Game Arcade thingie I can never get to work. I usually just start over in the new format. To make it easier I have two windows open, one of the original one and one of my new format one, then copy the code over changing all the math to make it work. Tons of work but well worth the troubleshooting in my opinion.
@Socks I've tried your suggestion in the spawner actor and for some reason it just dosen't work. I don't really know what I'm doing wrong, maybe I'm doing the code wrong, if it dosen't spawn under the player object or it dosen't spawn at all.
Comments
The enemy object still spawns outside of the game "boundaries" and I made the changes you're showing in the current version.
You can still see the enemy objects but you can reach them, which is a problem.
I will add the current project below.
Thanks!
https://www.dropbox.com/s/vok1k7dh53xwb17/Project_Re_imagination_3-1.0.zip
I don't mean this as an offense, but this is pretty basic stuff with game development with GS. If the company your pitching to is going to take over development then that's one thing but if you're gong to develop it, you're not ready for a development deal.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
I started learning GS last week and I don't know everything in GS either.
But don't worry no offense is taken.
Oh, could you take a quick look at the project again? the enemies is spawning on the border of the scene making it impossible for you to destroy them.
Once again Thanks!
https://www.dropbox.com/s/vok1k7dh53xwb17/Project_Re_imagination_3-1.0.zip
So try something like random (20,460)
and my problem is still the same.
I have tried to change everything on x if it dosen't spawn under the player object then it spawns to often to the right and in the end it's on the border of the scene.
I'm sorry if I'm annoying you with obvious question but I have tried to solve this for 3 days straight and I still haven't find a proper.
That's why I'm turning to you who have more experience in Game Salad than I do.
Thanks
My suggestion above works just fine, why not give it a try ?
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
-LewisOne (My Website, FB, Twitter, IG, YT)
I've tried your suggestion in the spawner actor and for some reason it just dosen't work.
I don't really know what I'm doing wrong, maybe I'm doing the code wrong, if it dosen't spawn under the player object or it dosen't spawn at all.
Can you upload your project (the one where you try my suggestion) so we can take a look ?