K
Kleber_Ferreira
Guest
I'll try to explain what I want to do the best I can.
I've been looking into the function sprite_create_from_surface, so I can save a sprite from whatever is drawn in a certain spot on my screen.
What I need for my design is actually to create this sprite "behind the curtains". The player will be seeing whatever I want him to see, but on deeper layers I'll be spawning some sprites to create a random character, and the player can't see that yet. How to use sprite_create_from_surface, and specify that I want to use the surface at the right layer?
I've been looking into the function sprite_create_from_surface, so I can save a sprite from whatever is drawn in a certain spot on my screen.
What I need for my design is actually to create this sprite "behind the curtains". The player will be seeing whatever I want him to see, but on deeper layers I'll be spawning some sprites to create a random character, and the player can't see that yet. How to use sprite_create_from_surface, and specify that I want to use the surface at the right layer?