Author Topic: Scripting  (Read 3092 times)

AjVback

  • Visitor
  • *
  • Posts: 12
    • View Profile
    • Email
Scripting
« on: 2005-05-13, 04:36:09 AM »
Hey all. Im wondering, for my street racin game, (see the projects forum) Would it b possible to use the scripting wizard to create a bu rnout mark behind the player as they take off. It could be like a bullet but with o inertia, but it needs to appear behind the player. Any ideas?
-Aaron Snoswell

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Scripting
« Reply #1 on: 2005-05-14, 07:06:08 AM »
I don't think you need script to do that.  Just create a global function that gets removed after use.  It activates when the player presses the acceleration button (whatever that is -- up arrow?) and the effect is to A) create a skid sprite at the current location or B) Alter the map to put a skid tile where it belongs.