🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Ok, another entry

posted in DruinkJournal
Published September 13, 2005
Advertisement
I decided I may as well post another entry. I got bored coding though, so I didn't do that much.
You can put down colision lines, and select them (hover the mouse over them), and they turn white. But that's about it. I did my optimization too; it won't try to render or test for mouse intersections with collision lines that are offscreen. And I added a little bit more optimization, so when you draw lines, if the editor finds two lines that are less than 7.5? apart (I.e. you just made an almost straight line from two shorter segments), then it'll take out the middle vertex, and give you one longer line.

I still need to add the ability to copy, paste and delete lines, and they still need to be loaded and saved with the map file. I expect to get the copy, paste and delete done tomorrow, and perhaps the serialization. It just depends if I'm in the mood or not.

Here's a slightly better screenshot, showing the mouse over the dot under the exclamation mark:
Teh lollar
Previous Entry Ukh
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement
Advertisement