Crystal Space
Welcome, Guest. Please login or register.
October 22, 2017, 04:03:59 am

Login with username, password and session length
Search:     Advanced search
9063 Posts in 2051 Topics by 77626 Members
Latest Member: Titosabrin111
* Home Help Search Login Register
+  Crystal Space
|-+  Associate Projects
| |-+  CEL Discussion
| | |-+  beyond walktut
« previous next »
Pages: [1] Print
Author Topic: beyond walktut  (Read 3446 times)
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?
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 5.552 seconds with 16 queries.