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).
Saturday, 9 June 2007
Smooth walk'n'turn in a planned village
Labels:
3d,
hardcoding
Subscribe to:
Post Comments (Atom)
4 comments:
Azért elég viccesen néz ki, de csak így tovább! :)
Ha vicces, akkor máris jó valamire! :)
Ok, now I can walk, how can I KILL? :)
It's on the corner! If you are fast enough you can catch the monster! :)
Post a Comment