Saturday 9 June 2007

Smooth walk'n'turn in a planned village

I've tried to make use of JME's own matrix calculated rotation, but ended up with my own little rotation code, calculating between the 'from' and 'to' Vector3fs. The same for the location of the camera when moving ahead. So mostly 4 direction movement is rather complete and nicer than ever. Worth to check out and see the village planned in the int[][][][][] arrays of the main application Jcrpg.java. :-) Or just click on the screenshot to have a closer look. A bit more work on the 3rd dimension of height, and the basic space render will be considered usable and complete, so the project can move onto the next task...
P.S.: Use W/S/A/D and try Q/E (strafe), R/F (move up/down), CursorUp/Down (look up/down).

4 comments:

Renszarv said...

Azért elég viccesen néz ki, de csak így tovább! :)

pzi said...

Ha vicces, akkor máris jó valamire! :)

Kocka said...

Ok, now I can walk, how can I KILL? :)

pzi said...

It's on the corner! If you are fast enough you can catch the monster! :)

Twitter