Commit Graph

82 Commits

Author SHA1 Message Date
DaniTheSkunk 07ced1f430 basic font rendering implemented, and alpha blending 2022-09-20 06:58:36 +02:00
DaniTheSkunk 3edbc36844 implemented FontTileset 2022-09-20 05:15:31 +02:00
DaniTheSkunk 7a792c2a46 general cleanup 2022-09-18 19:38:02 +02:00
DaniTheSkunk 287d5482e2 fixed member variable visibility 2022-09-18 19:11:23 +02:00
DaniTheSkunk db785d7bca fixed class visibility 2022-09-18 19:00:12 +02:00
DaniTheSkunk d5ca42c83c changed width,height in window creation to Vec2i, added texture atlas debugging, fixed texture atlas bug resizing too early 2022-09-18 18:36:15 +02:00
DaniTheSkunk 2448143454 defer texture atlas update to start of frame 2022-09-18 17:15:37 +02:00
DaniTheSkunk 1316ee560b implemented loadTextureArray (for tilesets) 2022-09-18 03:00:54 +02:00
DaniTheSkunk 829a017d2e added Image.getSubImage 2022-09-18 02:43:11 +02:00
DaniTheSkunk f0e92638af implemented texture atlas 2022-09-16 03:18:12 +02:00
DaniTheSkunk 7c3ee28ba5 added non-scalar and vec2f versions of div to vec2i 2022-09-16 03:10:00 +02:00
DaniTheSkunk 7ace9c3409 non-scalar multiply in vec2i 2022-09-16 03:00:20 +02:00
DaniTheSkunk 4ab459d515 added loading texture from image 2022-09-15 23:16:48 +02:00
DaniTheSkunk 4a16dbfc9f added Image.drawImage 2022-09-15 23:11:35 +02:00
DaniTheSkunk ef937886cc added Vec2i.ZERO 2022-09-15 23:11:01 +02:00
DaniTheSkunk ba42f2d3bf added 3 and 4 op vec2i add 2022-09-15 22:53:37 +02:00
Dani The Skunk bdc7864e0c rendering texture(bypassing texture atlas for now) 2022-09-15 06:02:18 +02:00
Dani The Skunk b74608e8d3 drawing coloured rectangle 2022-09-14 19:08:16 +02:00
Dani The Skunk a5c48c2ef2 Recti can return corner Vec2i now 2022-09-14 18:39:00 +02:00
Dani The Skunk fd46e3196c added IRenderContext 2022-09-14 17:52:55 +02:00
Dani The Skunk 89d9735203 added Recti 2022-09-14 17:51:45 +02:00
Dani The Skunk 94245e7689 tested multiple windows 2022-09-14 16:26:15 +02:00
Dani The Skunk 4848e5f56a added empty Image constructor 2022-09-14 16:25:34 +02:00
Dani The Skunk a3733090d3 changed Color to int, because of lack of unsigned byte 2022-09-14 06:59:14 +02:00
Dani The Skunk 0116082508 made image loading work 2022-09-14 06:49:58 +02:00
DaniTheSkunk 46a94c2b92 added image functions 2022-09-14 06:16:20 +02:00
Dani The Skunk f7295c733e added window and opengl backend 2022-09-14 05:47:48 +02:00
Dani The Skunk 4fae56a220 added Color 2022-09-14 05:46:41 +02:00
Dani The Skunk d43771a4e6 added image loading 2022-09-14 05:45:15 +02:00
Dani The Skunk 77ef6a6e56 added Vec2f and Vec2i 2022-09-14 05:44:38 +02:00
Dani The Skunk fef4151538 tabs, not spaces <_< 2022-09-14 01:09:28 +02:00
Dani The Skunk 02dc582193 initialised idea project 2022-09-14 00:59:35 +02:00