Quantcast
Channel: Tech Support
Viewing all articles
Browse latest Browse all 1648

sprite_add_from_surface and the number of textures

$
0
0
Hi!

I'm creating a sprite within the game using sprite_create_from_surface.
Then I'm adding images using sprite_add_from_surface.
The result is 1 sprite that holds 16 images.

Does it create 1 texture page or 16 texture pages?

I'm a little bit confused by the manual as it says this for function sprite_add_from_surface:
GameMaker will store the sprite as a texture page and it will also be stored in GPU memory
Thanks a lot!

Mana

Viewing all articles
Browse latest Browse all 1648

Trending Articles