Author Topic: Coding Question  (Read 4079 times)

creamycat

  • Guest
Coding Question
« on: August 12, 2005, 05:47:09 pm »
I noticed that the ship moves really smoothly with the mouse...something I have been trying to achive in a similar game with crystalspace.  Mind sharing how you did this with crystalspace/cel?

Thanks,
Tim.

Offline whitelynx

  • GNE Founder
  • Head Code Monkey
  • Commodore
  • *****
  • Posts: 304
  • Karma: +4/-0
  • Internet Idiocy Pundit
    • View Profile
Coding Question
« Reply #1 on: August 12, 2005, 07:28:56 pm »
iPcCommandInput... I did some dev work on it that allowed it to take advantage of multiple axes and correctly do mouse and keyboard binding. All the changes I made are in CEL itself. Check the CEL API docs for info on how to use it.

Dave
"Without music, life is a mistake, a trial, an exile."
 - Nietzsche

creamycat

  • Guest
Coding Question
« Reply #2 on: August 12, 2005, 07:55:25 pm »
Ah yes, thank you, I see the mouse events.  And how did you go about obtaining the amount the mouse moved and what function did you call to reflect this change on your camera?  

Thanks,
Tim.