Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
Commit6aad9721fdd39bf138c1655a0d0488ee1f8d6cb6 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-02-20 13:25:30 +0200
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-02-20 13:25:30 +0200
Files495a8e61de58cabcf51c706a74cb1f16f92717eb /src
syndamia.com-6aad9721fdd39bf138c1655a0d0488ee1f8d6cb6.tar
syndamia.com-6aad9721fdd39bf138c1655a0d0488ee1f8d6cb6.tar.gz
syndamia.com-6aad9721fdd39bf138c1655a0d0488ee1f8d6cb6.zip
Parentbc5188fc21a825f4849139cd9888b0476fd34a99 (diff)
Updated mundus article texture rendering to pixelated
2 files changed, 6 insertions, 2 deletions
-rw-r--r--src/blog/mundus-first-shot-at-gamedev/timeline.md4
-rw-r--r--src/styles.css4
diff --git a/src/blog/mundus-first-shot-at-gamedev/timeline.md b/src/blog/mundus-first-shot-at-gamedev/timeline.md
index 3ade67c..41c4b5b 100644
--- a/src/blog/mundus-first-shot-at-gamedev/timeline.md
+++ b/src/blog/mundus-first-shot-at-gamedev/timeline.md
@@ -30,7 +30,7 @@ Finally, it was time to plan the actual game.
So far I have only done preparation but on this day, I started actual programming. The UI and most of the mechanics were completely sketched.
-Around a week later I also drew the first proper textures for the game world: a [tile of grass](https://gitlab.com/Syndamia/IT-kariera/-/blob/a100f71372496ba89e26fedc520edcefd2442848/Year%202/Software%20development/Mundus/Mundus/Icons/Land/Ground/grass.png) ![](./img/grass-tile.png) and a [tile of grass with a boulder on top](https://gitlab.com/Syndamia/IT-kariera/-/blob/a100f71372496ba89e26fedc520edcefd2442848/Year%202/Software%20development/Mundus/Mundus/Icons/Land/Ground/boulder.png) ![](./img/boulder-tile.png). These replaced the [grass](https://gitlab.com/Syndamia/IT-kariera/-/blob/7b2c8cbc1d6adb874ca6a41f2871ea1950866d70/Year%202/Software%20development/Project/Mundus/Mundus/Views/Icons/Land/Ground/grass.jpg) ![](./img/placeholder-grass-tile.jpg) and [rock](https://gitlab.com/Syndamia/IT-kariera/-/blob/7b2c8cbc1d6adb874ca6a41f2871ea1950866d70/Year%202/Software%20development/Project/Mundus/Mundus/Views/Icons/Land/Ground/rock.jpg) ![](./img/placeholder-rock-tile.jpg) placeholder textures I made on the 29th.
+Around a week later I also drew the first proper textures for the game world: a [tile of grass](https://gitlab.com/Syndamia/IT-kariera/-/blob/a100f71372496ba89e26fedc520edcefd2442848/Year%202/Software%20development/Mundus/Mundus/Icons/Land/Ground/grass.png) <img src="./img/grass-tile.png" class="pixelated-render"> and a [tile of grass with a boulder on top](https://gitlab.com/Syndamia/IT-kariera/-/blob/a100f71372496ba89e26fedc520edcefd2442848/Year%202/Software%20development/Mundus/Mundus/Icons/Land/Ground/boulder.png) <img src="./img/boulder-tile.png" class="pixelated-render">. These replaced the [grass](https://gitlab.com/Syndamia/IT-kariera/-/blob/7b2c8cbc1d6adb874ca6a41f2871ea1950866d70/Year%202/Software%20development/Project/Mundus/Mundus/Views/Icons/Land/Ground/grass.jpg) <img src="./img/placeholder-grass-tile.jpg" class="pixelated-render"> and [rock](https://gitlab.com/Syndamia/IT-kariera/-/blob/7b2c8cbc1d6adb874ca6a41f2871ea1950866d70/Year%202/Software%20development/Project/Mundus/Mundus/Views/Icons/Land/Ground/rock.jpg) <img src="./img/placeholder-rock-tile.jpg" class="pixelated-render"> placeholder textures I made on the 29th.
Concerning the temporary textures, I just drew them in half an hour in GIMP, so I could test out some of the code.
@@ -40,7 +40,7 @@ The proper textures, I believe, turned out fairly well, given that I've never be
Slowly and steadily I had been making fine progress, but a lot of issues started to surface. As it turns out, I hadn't thought everything completely through, so I mostly went back to the drawing board.
-But at the very least, I had some important systems in place, like breaking and placing stuff, proper movement through the map and using items. Also, I had drawn my favorite texture from the whole projects: [the tree](https://gitlab.com/Syndamia/Mundus/-/blob/c47a34847e52ef76361394dba2c4f524a56d1b92/Mundus/Icons/Land/Items/tree.png) ![](./img/tree-tile.png).
+But at the very least, I had some important systems in place, like breaking and placing stuff, proper movement through the map and using items. Also, I had drawn my favorite texture from the whole projects: [the tree](https://gitlab.com/Syndamia/Mundus/-/blob/c47a34847e52ef76361394dba2c4f524a56d1b92/Mundus/Icons/Land/Items/tree.png) <img src="./img/tree-tile.png" class="pixelated-render">.
> ***06.04.2020***&emsp;Day 58
diff --git a/src/styles.css b/src/styles.css
index abe7006..e99096c 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -58,6 +58,10 @@ img {
image-rendering: crisp-edges;
}
+.pixelated-render {
+ image-rendering: pixelated;
+}
+
img, hr {
border: 1px solid black;
}