kerrambit / InterStellar-Pong

A terminal-based resource-collecting Pong game.
1 stars 0 forks source link

draw.h & draw.c - Create objets structs and bind function which prints object's pixels to pixel's buffer #12

Closed kerrambit closed 1 year ago

kerrambit commented 1 year ago

draw.h & draw.c - Create object structs and bind function which prints object's pixels to pixel's buffer

The biggest problem is the implementation of the rendering itself, or more the system of it so the transitions are as smooth as possible.

kerrambit commented 1 year ago

Setters are planned for now. Access to attributes is not anyhow limited.

kerrambit commented 1 year ago

Created square, circle and rectangle objects. A lot of work was done on rendering (double buffering). Rendering of circle is strange (looks like meteorite which actually is not bad for the game).

Done.