Menu

Script

2004-11-05
2012-12-25
  • Nobody/Anonymous

    I have made some script with the Scripting wizard but I cannot make it work with the project

     
    • Ed

      Ed - 2004-11-07

      That's too bad.

       
    • Nobody/Anonymous

      Very funny, but my problem is I am using The scripting wizard to make shoooting script and the bullet sprite will only show 1 state. It continually faces up, even when I shoot at an angle. How do I fix that?

       
    • Nobody/Anonymous

      And also, I cannot get the bullet to stop at solids, so If you are ging to answer the above question,answer this one too

       
    • Benjamin Marty

      Benjamin Marty - 2004-11-08

      Did you make the bullet an 8-state sprite?  Did you make it inert?  Don't make it scripted.  Those types of sprites are only intended for when you plan to handle collisions, animation and states in script, but the shooting scripts do not do that with bullets.

       
    • Nobody/Anonymous

      So what should I make the bullet controlled by?

       
    • Ed

      Ed - 2004-11-09

      Inert

       
    • Nobody/Anonymous

      When I do that, there is a small flash that looks like the bullet on top of the Player Sprite

       
      • Benjamin Marty

        Benjamin Marty - 2004-11-09

        Could that be because you are deleting the sprite when it stops moving and you set the inertia to 0?

         
    • Nobody/Anonymous

      Ok then, now when I play it, the player Sprite is sent back to the start, but I still see the flash of the bullet anyway. Also, I know where the inertia is, but what is it and what should I set it to?

       
      • Benjamin Marty

        Benjamin Marty - 2004-11-10

        The inertia should be set to the max (all the way to the right) to allow the bullet to continue moving without slowing down.

         
    • Nobody/Anonymous

      I have done that but the problem still happens

       
      • Benjamin Marty

        Benjamin Marty - 2004-11-13

        I can't guess any more at what might be wrong without seeing the project.  You may have to send/post it so I can get it.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.