player

Help
2007-09-21
2013-04-09
  • Ulrik Enstad
    Ulrik Enstad
    2007-09-21

    hi

    what does the function "(player)" do?

     
    • Hi,

      this function gives a reference to the current player. The result from this function can be used with any of the functions listed under "Operations on animated objects" in the API reference. See the examples below

      To give a speed mod for the player:
      (set-modtime (player) *mod-speed* 10)

      To move him to a given point
      (set-position (player) 10.0 10.0)

      Hope this clarifies the function a bit.

      cheers

      / M

       
    • Ulrik Enstad
      Ulrik Enstad
      2007-09-26

      Thanks. I'm currently working with two level sets which will be ready soon. Since you're interested in receive level sets to your extra levels-page at trackballs.sf.net, i could maybe mail one or two of them to you when they're done?

      from Ulrik, (the author of Great Escape)

       
      • Hi Ulrik, this sounds like a good idea. Please mail me the levels when you are finished with them.

        Thanks

        / Mathias