14 years, 2 months ago
Highlights
Yea I was thinking of doing this but if I wanted more then one torch I would have trouble You could implent a basic lightmap: Setup an array as big as your screen: uint8_t light…
14 years, 2 months ago
14 years, 9 months ago
Use two input buffers, that way you can keep track of key presses and releases. I use something like this: static char key_state[2][NUM_KEYS]; static int curinput = 0; // this i…
14 years, 9 months ago
14 years, 9 months ago
This is fine for a 4:3 ratio screen but if you if you do this on a 16:9 screen, guess what? It gets stretched out. Thats why I go for the users native resoultion. and position t…
14 years, 9 months ago
Latest Activity
See all in DiscussionsYea I was thinking of doing this but if I wanted more then one torch I would have trouble You …
14 years, 2 months ago
Use two input buffers, that way you can keep track of key presses and releases. I use something like this: …
14 years, 9 months ago
This is fine for a 4:3 ratio screen but if you if you do this on a 16:9 screen, guess …
14 years, 9 months ago