Game
Rogue Cadet
9 years ago

Day 123


Day 123: Today, I spent the entire day on this freaking collider automation. I now officially hate meshes generation and vertice orders. Like seriously There’s no logic in those meshes. It’s late and I’m grumpy so I’d like to keep it short.

Daily interesting stuff:

Tasks done:

  • Rewrote the collider importer. It’s the piece of code that automatically place colliders on the walls of the rooms. Like I said before, it worked great with the previous tileset. But now it’s fucked up. Apparently having different tiles change the order of the triangles of the mesh. And it defies logic. At first glance you might think it goes from left to right line by line. But it doesn’t! Sometimes it switches on the line below, sometimes it goes back, sometimes it skips tiles. That was enraging! So I tried a LOT of things to get it working back. In the end I had to change my method altogether. Instead of checking the vertices for “holes”, I check each triangle and see if it fits in a collider. If it does I expand the collider, if it doesn’t, I create a new one. I had to separate colliders into one tile height lines. Because if I make colliders with boxes. Colliders are then packed into a list ordered in a dictionary. And their height is the key of the dictionary. So for each triangle, I have to search among a very limited set of existing colliders. But I’m sure you’re thinking “hang on! Wouldn’t that make a lot more colliders than necessary?”. And you’re right. But I work with abstract collider info (just x, y, w, h) so before making box colliders, I merge the colliders when I can. In the end it works as well as the previous importer, but with weird meshes. It might be tad slower, but that’s not done in run time anyway, so it doesn’t matter. Oh and of course my exit automation code is broken. I’ll do that tomorrow as well…

  • Tried the new 256*256 tileset. I didn’t had enough time to do many things. But I noticed a few problems. There’s a depth illusion problem. And I think the walls are too big. With them taking 4 tiles on the border and a minimum of 8*8 for interior obstacles, it’s too much. But It might be interesting to try it with enemies to see of this reduced space doesn’t actually better the gameplay.



0 comments

Loading...

Next up

Short intro of us 💕✌️

We're an eletro duo based in Seoul 🇰🇷 Heavily influenced by the 90s.

Our new album #Xennials is all about the nostalgia of that era 💽 CD listenin 📟 beeper beepin 💾 floppy disks floppin days 😎

Stream now! 🎧

https://open.spotify.com/album/3YwWhnHWVy5cA8XOpbaGRA?si=8E9awqU…

Chiaki Nanami!

"Our work is never over" they said.

Werehog transformation process. #sonicunleashed

a drawing I did because I was bored😪. But I love how it turned out.😊

Spaaaace~

These are background sprites I've created for a game I'm working on at school ^w^ Click on the post to see how the sprites connect. You won't regret it! (personally, I think it's pretty heheh)

Drawn in Piskel using my mouse. Whaddya think?

Regular exercise is key for healthy wings.

Try it out!

https://gamejolt.com/games/AeonNightmares/605184

If you’ve played the Vault demo and enjoyed it, please consider ‘liking’ the game page here on Gamejolt and/or leave a comment!

Also please consider tossing Vault on your Wishlist, I really appreciate your support!

https://store.steampowered.com/app/1251800

A few screenshots of the places you'll cross in the Demo of Blu. You can play it today on #gamejolt !