Game
Rogue Cadet
8 years ago

Day 124


Day 124: Today I still didn’t start any content. I don’t really like doing this. So I procrastinate as much as possible. But I’ll have to start at some point… I wanted to finish early to play games. But I got surprise bug fix to do. So It’s getting late. I even rage quit it.

Daily interesting stuff:

Tasks done:

  • Fixed the exit detection. Since yesterday I had to rewrote the collider automation, the exit automation which was very much alike was broken too. So I did the same thing as yesterday, I painfully logged and crawled through vertices positions to see the problems. It was easier to fix than the collider since most of the behaviour was already independent of the order of the vertices. I still had to modify the horizontal exit detection and adjust my magic numbers. Yes it uses ugly un commented magic numbers.

  • Looked at the rooms and what content I want in adition of that. Right now I have 50 rooms in the first zone. And some copies of them in the other. I decided I wanted to have 100 rooms in the first zone and 75 in each of the other zones. Each room should have two to three enemies configuration instead of one to two now.

  • Played the game. I actually ended up playing it for a long time. It’s too repetitive and too easy. But I like it. I like playing and crawling through the rooms. I think that with a bit more content, a lot of tuning, and proper assets, it’ll be a decent game. Maybe I’m not just wasting my time and my career after all.

  • Tried to use a 128*128 tileset for the walls of the room. I’m just testing things with the new assets. I like it better with smaller walls. But then I did a terrible thing. I tried to export the new map to Unity. And then… The colliders and exit were broken AGAIN…. That was very unpleasing (as you can guess that’s not what I yelled to my screen).

  • Fixed the freaking collider again. It was hard. The mesh generation really do anything it pleases. I had a lot of trouble finding the origin of the problems. It turned out that there’s a case where a triangle could be already inside a collider and in my code it wasn’t handled and it would create a new collider. Then the horizontal merging of the collider wasn’t working because it assumed that the collider would be ordered from left to right, just like how the triangles are ordered. But no, if it pleases the mesh it can make triangles from 1 to 30 and then from 0 to 1 or anything else really. It’s like there’s no rule. So I took a shotgun approach and just sorted the collider based on their x position. Then the vertical merging was also fucked up. But that was because I didn’t check that the Y difference between two row wasn’t too big. So I added a check that makes sure you can’t merge vertical collider from separate places.

  • Tried to fix the exit automation again. It turns out that the method I use (saving the max X of the border line) doesn’t work. Because you see, this freaking mesh does the triangle on pos 58 and 59 and THEN start the line on 0. So of course my code doesn’t work then… I rage quit on this. I’ll solve this tomorrow.



0 comments

Loading...

Next up

So

i may or may not make an full art of some person or i may just leave this like that-

Smile! Here, take some happy pills! ✨💊 #Blender #3DModelling #3DArt Buy me a Ko-fi: https://ko-fi.com/barbarafb_

Another house i made long time ago.

Protege el conocimiento, salva la historia. Guardian of Lore es un platformer 2D en el que debes luchar para mantener viva la memoria de la mitología latinoamericana. El juego llegará a Steam el 18 de mayo: https://steam.pm/app/1211740 #ScreenshotSaturday

What you all think

The whole squad is here!

Interested? Follow me!

Shuiro Haname. #Commission

Commission for @ShuHaname

Path of Kami, running around the shrine area

Some time ago, we posted a screenshot of the Mexico level. A curiosity about it is that, like some other scenarios of the game, it was inspired by a real landscape, The Basaltic Prisms of Santa María Regla. It is one of the natural wonders of the country!