Crystal Space
Welcome, Guest. Please login or register.
December 18, 2014, 05:35:58 pm

Login with username, password and session length
Search:     Advanced search
9032 Posts in 2046 Topics by 9288 Members
Latest Member: Lorrainewhite
* Home Help Search Login Register
+  Crystal Space
|-+  Associate Projects
| |-+  CEL Discussion
| | |-+  beyond walktut
« previous next »
Pages: [1] Print
Author Topic: beyond walktut  (Read 2413 times)
ghaz
Newbie
*
Posts: 20


View Profile
« on: September 19, 2006, 09:01:18 am »

In my "quest" to learn more about Crystal Space and CEL I'm trying to turn the CEL walktut into more of a game (this could maybe end up as a follow-up tutorial to walktut).

My first step was to make the monkey follow the player, instead of flying along a preset path. I got it to work, but it doesn't seem like a very good implementation. I set a pctimer with the wakeup action for about 10 msec. So a couple of times a second the monkey adjusts it rotation and direction to match the player's current position. It works, but it just seems wrong and inefficient. Is there a better way that I just didn't see?
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 4.198 seconds with 16 queries.