Mega's Competition Dev Log #2

Posted by Astryl on April 4, 2014, 5:16 p.m.

I've been disconnected from the net since early this morning… or was it yesterday? Can't remember.

Either way, when that kind of thing happens, I get stuff done. And things get stuffed up too.

I added two weapons to the game. The first is one that I wanted to add in Exile, but was too afraid to attempt to draw back then:

So yeah. Crossbow. Yay.

And then there's the gauntlet I'm working on:

This is going to double as both a fallback melee weapon and the primary spellcasting tool.

On the topic of stuffing things up, I kinda screwed up a part of my editor; the bit that allows me to change the height of floors/ceilings in 3D mode. I had a buggy bit of raycast code that was testing where the camera was pointing, and decided to replace it with a simple two-pass color based test.

Works (in a broken kinda way) like this:

- Render visible scene in solid colors. Each unique object to be considered gets

a unique color corresponding to its location on the screen.

- Get pixel from mouse location (Or crosshair location in this case)

- Use color data to determine what was selected and where it is.

And this works. Perfectly. I can get the exact x and y coordinates of the tile I'm pointing at with pixel precision. So I happily go and replace the raycast test with the results from this? My editor does something funky to the coordinates and decided that no, I'm pointing at the square at a 45 degree angle to the right and slightly away from me, if I'm lucky.

Probably a rounding error, but I'm too tired right now to track it down.

Well, enough of that.

Dark Souls

Still playing. Still dying. Just dying a bit less frequently now.

Faced the boss of the Depths, and nearly defeated it on the first try. So close.

And I've now gotten to the point where I have a large number of places I can go, but I have no idea where I should go. In most of the new locations I discover, I peek around a corner and see something nasty and just Nope it back to Firelink shrine.

Well, that's all for now. I'll post more progress as I have more to show.

Comments

death 10 years, 5 months ago

i hate having to rely on keyboard shortcuts, not only do I forget them but i wouldn't be able to expect anyone else to use it and remember them either. it's nice to have them but i think a good GUI is pretty important for these types of editors :P

Astryl 10 years, 5 months ago

Sure, but this editor is just a personal tool. I don't expect anybody to try use it, and the time spent developing a GUI is better spent developing the game itself. :P

eagly 10 years, 5 months ago

Awesome looking crossbow! More games need crossbows. I love crossbows!

So much so that I started working on this:

Stupidly just before the competition! So I haven't done anything more with it. But it's fun just pumping out bolts and then running around picking them up. :)

Crossbows are the future!

Astryl 10 years, 5 months ago

Your link 403'd. :P

eagly 10 years, 5 months ago

Should be fixed!

Astryl 10 years, 5 months ago

Nope.

eagly 10 years, 5 months ago

THERE. ARE YOU HAPPY NOW?!

Because I am. :)