Page 2 of 2

Posted: Sat Apr 26, 2008 7:47 pm
by zxtunes.com
How to replace the original cursor with the sprite?

SDL used only 3D sprites?

HGE have cool procedure for sinhronization and stable work of game:

float Timer_GetDelta();

Use Timer_GetDelta inside your frame function to synchronize with various execution speed and to detect periods of time. The timer resolution is 1 ms, so you'll never get a value less than 0.001.



SDL not have analog function?

Posted: Sat Apr 26, 2008 8:37 pm
by Anonymous
Meta texture is one file with a lot of texture , like this :

Image

you have a four texture.
For displaying only the black , you can change the UV coordinate.

u0 = 0,0
v0= 0,0.5
v1 = 0.5,0.5
V2 = 0.5,0

SDL not have analog function?
i don't known


SetGLSpriteVertexColor (
param1 = Sprite pointer
param2 = Vertice Number ( 0 to 3 or 1 to 4 )
param3,4,5,6 = Color (R G B A )

Posted: Thu Jun 12, 2008 11:31 pm
by Rook Zimbabwe
Bator,

You have a map editor worked out or can you use mappy?

Posted: Fri Jun 13, 2008 10:33 am
by Anonymous
i don't use any "home made" editor , and i don't use mappy , for 4x4 example , terrain is based on heightmap file.