Today is 14th April 2022, New Year's Day in Sri Lanka, a good day to create a new blog . So I created one. Welcome to my brand new blog; dev-tharinda ! About Me I'm Tharinda, a developer from Sri Lanka. I'm following an IT degree and am currently in my final year. Since my childhood, I love computers. So I started following a degree in Information Technology after finishing school. I love programming. Java is my first programming language. I also know HTML, CSS, JavaScript, and a little bit of Android/Kotlin. I'm proficient in relational database concepts and SQL. I'm also passionate about game development. I'll talk more about that topic in my next blog post. About My Blog I decided to create this blog because I want to share my developer journey. I'm planning to share with you what technologies I'm learning, what are the projects I'm working on, and other related stuff. I'm also going to share my knowledge with some tutorial blog posts. Beca...
Today I completed the core game mechanic of my game! First I created a Snake object using a free image downloaded from the internet. I wanted to appear the snake at random positions. So instead of deleting and creating the object, I used the clever trick of changing the position of the object. Then I created 2 texts for losing ("Game Over!") and winning ("You Won!") the game. Then I added the events to hide and show these texts along with other actions. I haven't decided yet the number of apples the farmer should collect to win and whether the farmer has more than 1 life.
Today I tried to implement the health of the player but it didn't work. I couldn't figure out why. So I couldn't make much progress. But... I learned a cool feature in GDevelop. I haven't used the GDevelop asset store yet because the assets are too small. When I resize them, they are blurred. I asked about that from someone I met on Instagram (who uses GDevelop). He sent me a link to a YouTube tutorial explaining how to resize without being blurred. Then I searched the asset store and found a character for the farmer and a red apple. Both of them are pixel art. The character has 4 animations (Up, Down, Left, Right). So it is better because I previously had only 2 animations for Left and Right.
Comments
Post a Comment