787 reputation
415
bio website zackthehuman.com
location United States
age 27
visits member for 4 years, 5 months
seen Nov 23 at 7:15

Game programmer by hobby. Actively developing an NES-style platform game in C++.


Mar
6
answered Mega Man screen scrolling in JavaScript
Oct
5
awarded  Notable Question
Jul
23
awarded  Yearling
Apr
17
comment Sprite Animation Best Practices
@MajidFouladpour We're talking about different things. The answer that I'm giving here only applies to sprite-based animations. This has nothing to do with 3d models vs. 2d sprites. The OP is most certainly referring to 2d animation rather than 3d.
Apr
15
comment Sprite Animation Best Practices
@MajidFouladpour I don't think that kind of limitation exists using this technique. You simply have different AnimationData objects for each "viewing angle".
Mar
14
awarded  Popular Question
Jan
8
comment Is there a sound library for C to generate sound samples from code?
I personally find this question a good question. Since I like to program retro-style games it is hard to find resources for things like this without being part of some obscure community.
Jan
8
answered Is there a sound library for C to generate sound samples from code?
Dec
6
revised Markup format or script for data files?
fixed "sometime" typo
Dec
5
answered Markup format or script for data files?
Dec
3
answered Animating sprites in HTML5 canvas
Dec
1
revised How to efficiently map tokens to code in a script interpreter?
added 18 characters in body
Dec
1
answered How to efficiently map tokens to code in a script interpreter?
Nov
27
awarded  Popular Question
Nov
11
revised Creating a retro-style palette swapping effect in OpenGL
Added the shader I used to create this effect.
Nov
11
accepted Creating a retro-style palette swapping effect in OpenGL
Nov
8
comment Creating a retro-style palette swapping effect in OpenGL
Thanks for the update -- this makes it clear for me. One more clarification: the OpenGL example says that either texture could be in "any format" or "a format of your choice". In my case, all textures are GL_RGBA since I'm using SFML and SFML loads textures as GL_RGBA. Is it still possible to use a shader with two GL_RGBA textures?
Nov
8
awarded  Nice Question
Nov
8
comment Creating a retro-style palette swapping effect in OpenGL
I'm sorry, I wasn't clear in my original comment. I'm familiar with indexed colors and how they work, but I'm not clear on how they work within the context of a shader or a 32-bit texture (since those aren't indexed -- right?).
Nov
8
comment Creating a retro-style palette swapping effect in OpenGL
I'm having some problems getting this to work for me, mostly because I don't understand how the index in the color is determined -- could you possibly expand on that a bit more?