The Handmade Essentials Jam just concluded. See the results
beast_pixels's Avatar
beast_pixels
Member since

Recent Activity

I needed a good art pipeline for my RTS-from-scratch project and after some deliberation I came to the conclusion that I should forgo any preprocessing steps and should just load Aseprite files directly. All the information I need, mainly animation data, but also things like layering and Z-order information was already right there.

However, there was no Aseprite decoder for C at that moment so I decided to write one myself.

After 4 days of coding and 1 day of rest it is now production ready: https://github.com/API-Beast/ase_read

  • It is fast, in my testing small ase files can be read and blitted in <1ms, while larger ones take <10ms.
  • It is small, one header, one implementation, ~2000 LOC.
  • It extracts all the meta data you care about: animation tags, slices and user data.
  • ase_draw_frame implements all 18 blend modes available in Aseprite for complex layer setups.
View original message on Discord

Oh right, I forgot you can post here without making a project tag.

Current progress on my game. Spent some time to figure out how to "fit" hexagonal meshes into a height map, to properly present slopes and such.

After two days I figured out that it is simply a 1:1 taper:

vec2 hexTileVertexToUVCoords(vec2 xy)
{
    vec2 uv = xy;
    uv.x += uv.x * abs(uv.y);
    uv.x = 0.5 + uv.x/2.0;
    return uv;
}

Next step is replacing the procedural hex mesh with actual different hex tiles. E.g. adding art.

View original message on Discord

&perspective-drawing Oh god, position becomes rotation in curvilinear. Also, implemented rudimentary curvilinear edge drawing.

View original message on Discord

&perspective-drawing Added the construction lines for subdivison because it's usually important to know where the center of the cube is.

View original message on Discord

&perspective-drawing Added a "Analysis" window that compensates for position, distance and tilt so you can analyse how each parameter effects the cube more accurately. (Sorry, it doesn't actually do the analysis for you. (Yet?))

View original message on Discord

&perspective-drawing Opted for simple, functional, auto-generated UI and added various guidelines. Think this will be all, jamming wise.

View original message on Discord

&perspective-drawing
Damn, I didn't know 1 Point Perspective could do this.

View original message on Discord

&perspective-drawing
Joining the Jam very late but wanted to make a little something to help me learn perspective drawing. Now I have working construction (and parallel) lines, next will be adding UI to tweak all the parameters on the fly.

View original message on Discord

!til Apparently humans with normal color vision can have vastly different ratios of Green vs Red cones, which should imply that different people perceive Red in different intensities(?)

View original message on Discord

An old project: ~20x zoom in on coast line using signed distance field textures

View original message on Discord