Design ideias + Work on engine


English

Hi, everyone!

I ended up losting a day of work, because I needed to deal with some stuff and it took all my day. But today I already got back to work and manage to move the project foward.

I did some research to understand how to adjust the isometric tiles and discovered some interesting math knowledge like how isometric coordinates work in 2D. Although I understood the idea of doing a ortographic projection to fit in the tiles in the isometric grid, still is a pretty complex process. Fortunately, in Godot you only need to adjust the tilemap cells size until the tiles fit int like desired.

I got the floor on my scene, but to get the other elements I needed to make some edits, because setting the buildings in a different layer and make them appear in front of the ground is easy, but center it with the tiles is not, most of all for trying to fit everything in the same tileset. I believe I could align the buildings with the floor with more time, but to be faster I just edited the assets to follow the same pattern in each image.

With the map done, I took a separate image of the monster to put as the player. To make it move I used the Godot node CharacterBody2D that already has built in movement functions with gravity implemented. However, I realized that gravity wouldn't be necessary and the movement won't follow the same top-down orientation, because I want the monster to move by tiles. For now I left the basic top-down movement, but soon I'll modify it to make the monster move like I want.

Some ideas that came by during development:
- The monster must destroy the city to survive. When it destroy the building its life increases and gets a score. The game ends when the health points reach zero or the whole city is destroyed. And it would be interesting if the monster could increase its size based on its remaining health. References to this ideas were: Hungry Shark and Katamari.
- The player movement will be limited to tile by tile and to move it spends some health points, that's why it needs to plan carefully how it will move. But it can be buffs, that increases how many tiles the player can move by or decreases the cost of HP for moving.
- Another idea was to make the game a tactical one like "Into The Breach", but for now it's an idea that I don't plan to work on.

Again, thanks for giving some attention to read this and until next time! o/


Portuguese (BR)

Oi, pessoal!

Acabei perdendo um dia de desenvolvimento, pois precisa resolver algumas coisas e acabei ficando sem tempo. Mas hoje já retomei o trabalho e consegui avançar o projeto.

Pesquisei um pouco para entender como ajustar os tiles isométricos e descobri alguns pontos matemáticos interessantes sobre como coordenadas isométricas funcionam em 2D. Apesar de ter entendido a ideia de que é realizada uma projeção ortográfica para encaixar os tiles no grid isométrico, ainda é um processo um tanto quanto complexo. Felizmente, em Godot basta apenas ajustar o tamanho das células do tilemap até que os blocos se encaixem como desejado.

Consegui colocar o chão na minha cena, mas para colocar outros elementos eu precisei fazer algumas edições nos assets, pois colocar os prédios num layer separado e apresentá-los na frente do chão é fácil, mas centralizar com os tiles do chão não era tão simples, principalmente por tentar manter tudo no mesmo tileset. Acredito que conseguiria alinhar os prédios com o chão com mais tempo, mas para agilizar o processo, apenas editei os assets para seguirem o mesmo padrão dentro do tamanho de cada imagem.

Com um mapa formado, peguei uma imagem separada do monstro para colocá-lo como jogador. Para fazer sua movimentação utilizei o node CharacterBody2D de Godot que já possui uma movimentação com gravidade implementadas. Porém, percebi que não precisaria utilizar gravidade e a movimentação não terá a mesma orientação base (cima, baixo, esquerda e direita), pois eu quero que o monstro se movimente pelos tiles. Mas por enquanto deixei uma movimentação básica de jogo top-down e em breve irei alterar para fazer o monstro se mover tile por tile.

E algumas ideias pensadas durante o desenvolvimento:
- O monstro precisa devorar a cidade para sobreviver. Quando destrói os prédios sua vida aumenta e ganha uma pontuação. O jogo acaba quando a vida chega a 0 ou toda a cidade é destruída. E seria interessante se o tamanho do monstro correspondesse a vida restante dele. Referências para essa ideia são Hungry Shark e Katamari.
- A movimentação do jogador é limitada a um tile de cada vez, e para se mover gasta uma certa quantia de vida, por isso o jogador precisa planejar com cuidado como irá se mover. Mas podem ter bônus, como power ups que aumentem a quantidade de tiles que consegue se mover ou diminua a vida gasta por movimento.
- Uma outra ideia que surgiu é transformar num jogo tático como "Into The Breach", mas por enquanto é apenas uma ideia que não pretendo levar adiante.

Novamente, obrigado pela atenção e até o próximo post! o/

Get Slimus The City Destroyer

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.