by the way how do you set magenta as the clear color?
I can only see GL_TEXTURE_COLOR0_TRANSPARENT which uses black
the texture packer uses magenta
I tried deleting GL_TEXTURE_COLOR0_TRANSPARENT from the source and put -gT #FF00FF into the GRIT file but it didnt help
Search found 43 matches
- Thu Sep 13, 2012 4:16 pm
- Forum: User Contributions
- Topic: Easy GL2D
- Replies: 56
- Views: 271551
- Thu Sep 13, 2012 3:40 pm
- Forum: User Contributions
- Topic: Easy GL2D
- Replies: 56
- Views: 271551
Re: Easy GL2D
yep, im using that technique to animate human characters On other platforms Im used to drawing for example, the torso, then saving its matrix values e.g.(1,0,0,1,50,40) Then when I am ready to draw a limb I load the torso's matrix (glLoadMatrix) and rotate and translate for each limb. Maybe I could ...
- Wed Sep 12, 2012 6:46 pm
- Forum: User Contributions
- Topic: Easy GL2D
- Replies: 56
- Views: 271551
Re: Easy GL2D
thanks for the help on sprites,
I realized the texturedquad function is all you need to do do funky stuff like parenting etc. as long as xtranslatef32 is copied from gl2d.c as its inline
I realized the texturedquad function is all you need to do do funky stuff like parenting etc. as long as xtranslatef32 is copied from gl2d.c as its inline
- Wed Sep 12, 2012 2:52 pm
- Forum: User Contributions
- Topic: Easy GL2D
- Replies: 56
- Views: 271551
Re: Easy GL2D
do all sprites have to be power of 2? what about sprites that are NOT power of 2 on a texture that IS power of 2? also I would like to alter the gl2d source so I can parent one sprite to another, so I would have to remove some calls to glLoadidentity as gl2d is included as a .a file how would I do t...
- Tue Sep 11, 2012 4:57 pm
- Forum: DS/DSi Development
- Topic: background tutorial cant find woodPalette_bin_size
- Replies: 4
- Views: 7410
Re: background tutorial cant find woodPalette_bin_size
I tried to compile this project: http://www.liranuna.com/wordpress/wp-content/uploads/2007/03/lesson2.zip simply use make on the zipped folder (after unzipping of course) It uses a different image convertor called gfx2gba. I also tried out the pern map editor but it doesnt allow the programmer to cr...
- Tue Sep 11, 2012 4:41 pm
- Forum: DS/DSi Development
- Topic: background tutorial cant find woodPalette_bin_size
- Replies: 4
- Views: 7410
Re: background tutorial cant find woodPalette_bin_size
There doesnt seem to be a tutorial that combines
1 converting images
2.loading tiles
3.drawing backgrounds with tiles
that works.
The patater tutorial only shows how to draw a single bitmap in the background which isnt useful for big environments. The other tutorial doesnt compile.
1 converting images
2.loading tiles
3.drawing backgrounds with tiles
that works.
The patater tutorial only shows how to draw a single bitmap in the background which isnt useful for big environments. The other tutorial doesnt compile.
- Tue Sep 11, 2012 3:13 pm
- Forum: DS/DSi Development
- Topic: background tutorial cant find woodPalette_bin_size
- Replies: 4
- Views: 7410
Re: background tutorial cant find woodPalette_bin_size
I couldnt see the edit button so I double posted.
There is a tutorial here:
http://static.patater.com/files/project ... #id2612791
but it doesnt say what command line options to use with grit,
there are a lot of different options which is overwhelming
There is a tutorial here:
http://static.patater.com/files/project ... #id2612791
but it doesnt say what command line options to use with grit,
there are a lot of different options which is overwhelming
- Tue Sep 11, 2012 2:42 pm
- Forum: DS/DSi Development
- Topic: background tutorial cant find woodPalette_bin_size
- Replies: 4
- Views: 7410
background tutorial cant find woodPalette_bin_size
Im following this lesson on backgrounds:
http://www.liranuna.com/nds-2d-tuts/lesson-2/
When I compile it says 'woodPalette_bin_size undeclared'
http://www.liranuna.com/nds-2d-tuts/lesson-2/
When I compile it says 'woodPalette_bin_size undeclared'
- Sun Nov 06, 2011 6:38 pm
- Forum: DS/DSi Development
- Topic: dstwo supercard development?
- Replies: 2
- Views: 4531
dstwo supercard development?
Has anyone tried to compile a game for supercard dstwo?
also, are the pseudo-opengl graphic commands available for dstwo?
also, are the pseudo-opengl graphic commands available for dstwo?
- Thu Aug 11, 2011 6:07 pm
- Forum: DS/DSi Development
- Topic: How do you know when you run out of texture memory?
- Replies: 19
- Views: 17750
Re: How do you know when you run out of texture memory?
Using unsupported stuff is fun when it allows you to do new things. :D Im not asking anyone to solve my problems , I realise this is all self-inflicted. Im simply asking for the tools needed i.e. the debugging tools which have been kindly given to me, and the opinions of forum members on whether the...