1-In the EasyGl2d examples folder there is an example called sprites
when I put some black on the 'anya.png' picture it doesnt show up as transparent
(I am using the GL_TEXTURE_COLOR0_TRANSPARENT flag when loading the image )
Is there a way of using the transparency in the png in the sprite?
2-If I include 100 images in a NDS file they wont take up any video ram unless I actually load them with glLoadsprite- is this correct?
png transparency + a texture questions
Re: png transparency + a texture questions
If I include pictures as BIN files they wont take up any normal RAM either will they?
Re: png transparency + a texture questions
yes, they will take up normal ram if you include bin files.
Re: png transparency + a texture questions
For example, GTA for NDS is about 128MB, how do they prevent all assets going into RAM?
If it cant be done thats OK, but I just want to make sure.
If it cant be done thats OK, but I just want to make sure.
Re: png transparency + a texture questions
2 options for ds/dsi homebrew are libfat and libfilesystem. look in the examples\nds\filesystem directory under your devkitpro installation.
Re: png transparency + a texture questions
all the examples are for text files, do you have any examples for loading textures?
Re: png transparency + a texture questions
no, you may need to put some effort in at this point.
the same steps are used to read txt files as bin files.
the same steps are used to read txt files as bin files.
Who is online
Users browsing this forum: Ahrefs [Bot] and 1 guest