DotS's 'prototype' is beginning to become a lot more than that now. It's been fun delving into OpenGL a bit after having avoided it for so many years.
In this video I show that I've got 3D object picking working properly. It's actually quite accurate too. In DotS's case I'm only interested in picking the cubes/cells that make up the maps. When clicked on the unit that's contained in the cell (if there is one) becomes selected.
Anyway, it may seem like five days is a lot for getting picking working. In reality it only took me about two hours to completely figure out out and to put together that highlighter square. Mostly the last few days have been improving the code quality and moving code into proper objects where applicable.
I want to point out that the choppy frame rate is caused by the recording software. It's the same problem that I pointed out with the videos of LoM's development.
---------------------
The Legend of Mazzeroth is a 2D open-source RPG/MMORPG project that's been in development since February of 2008. Originally based on The Mana World, LoM dumped that code base and started a new code base, entitled New Age, in September of 2008. I decided once there was enough material to record to video I would chronicle the development of LoM by recording short clips of each test phase.
For more information about The Legend of Mazzeroth, its developers and how you can participate, visit our website http://lom.newagesoftware.org
@Zeptoflop Thank you... :)
ldicker 4 months ago
Awesome :)
Zeptoflop 4 months ago