Crystal Space
Welcome, Guest. Please login or register.
November 27, 2014, 02:20:27 pm

Login with username, password and session length
Search:     Advanced search
9026 Posts in 2046 Topics by 9146 Members
Latest Member: Olavinka
* Home Help Search Login Register
+  Crystal Space
|-+  Associate Projects
| |-+  CEL Discussion
| | |-+  beyond walktut
« previous next »
Pages: [1] Print
Author Topic: beyond walktut  (Read 2403 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.18 seconds with 15 queries.