Dragon Creek Update 8/8/2020
This week I added the dragon cleanliness system, the dragon fecal system, and the dragon sickness system. All three are tightly connected so it made sense to do them at the same time. The dragon gets sick if it sleeps near poo, and gets dirty if it is near poo. If it is very dirt it gets sick. There's also small stuff like the dragon getting slightly cleaner if it is in the rain.
I think the trickiest thing this week was implementing the dragon shader. The dragon has a back wing web, a back wing, the body, a front wing, a front wing web, a face, a tail accessory, a unique accessory, claws, and horns. That is 10 things a dragon has to draw. Each piece has to go through a shader that draws a texture over that piece. When you draw a texture over something, GLSL (OpenGL Shader Language) needs to get the coordinates of the sprite you are drawing and the coordinates of the texture to draw over it. It needs to know where in a texture page (a giant sheet where the game keeps all its sprite data) the sprite is from. This is made ever more complicated by that fact that every sprite is animated, so the UV coords are constantly changing. I got it to work by changing the coords everytime I draw an individual piece, but I'm pretty sure it is a very bad way to implement a shader. It works though, so I'm going to leave it.
I needed the shader so I could show dirt and grime on the dragon, and make it pale when it got sick. Also eventually when I get the battle system working I need the shader to have a rainbow plasma effect for stat changes.
I started using imgur recently, and I have to say I get way more interaction on it than any other platform. Which is great! Unfortunately a lot of that interaction is very negative, or plain ignorant. People are seeing the game for the first time and making wild accusations or assumptions. Then when I kindly inform them about my game I get downvote bombed by their followers. At the end of the day any attention at this stage in development is good. It's just a bit irritating when someone says something wrong and they get praised for it.
Dragon Creek
A dragon raising sim where every dragon is procedurally generated
Status | In development |
Author | Rekkeld |
Genre | Simulation, Role Playing |
Tags | Character Customization, Dragons, minigames, Pixel Art, Procedural Generation, Singleplayer, training |
More posts
- Dragon Creek is in Early Access!Jan 31, 2021
- Patch Notes v24Jan 24, 2021
- Dragon Creek Demo V18Jan 17, 2021
- Dragon Creek Demo Week One ReviewJan 10, 2021
- Dragon Creek Patch Notes 1/6/2021Jan 06, 2021
- Dragon Creek Demo Patch Notes 1/5/2021Jan 05, 2021
- Dragon Creek: A New Year!Jan 03, 2021
- Dragon Creek Demo Patch Notes 12/31/20Jan 01, 2021
- Dragon Creek: Sounds and MusicDec 27, 2020
- Dragon Creek Update 12/19/20 (Demo Soon!)Dec 20, 2020
Leave a comment
Log in with itch.io to leave a comment.