The Daily Click ::. Forums ::. Klik Coding Help ::. making things move faster than 100
 

Post Reply  Post Oekaki 
 

Posted By Message

Maaaartin



Registered
  04/10/2003
Points
  219
20th February, 2004 at 07:03:43 -

I'm making a isometric shooter in TGF and i was wondering if there was anyway of making projectiles move faster than 100, Also whats the best way to create machine gun fire using the left mouse button.

 
www.geocities.com/martinbonne7

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
20th February, 2004 at 07:18:39 -

There is no way to make a bullet exceed 100 that I know of, without making a custom movement for it, such as always set position to position +5

 
n/a

renneF



Registered
  02/08/2003
Points
  672
20th February, 2004 at 07:25:09 -

use fastloop extension to start loop number whatever for 100 or so loops and move the object by 1 pixel on that loop



 
Image

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
20th February, 2004 at 07:27:05 -

Yeah, you need to make a custom movement to do that.

Here's an old example I have:
http://sfgames.clicksplat.com/cgi-bin/download.cgi?examples/tgf&InstantHitBullet.zip

Machine gun fire? Use the 'Repeat while left mouse-key is pressed' condition and the 'Restrict Actions' condition (set it quite low e.g. 00-05" for submachine guns). You'll probably want to make it less accurate from kickback so create a counter and add to it in the same event that you shoot the bullet. You then adjust the angle of the bullet by a random value based on that counter.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click