The Daily Click ::. Forums ::. Klik Coding Help ::. Faster bullets?
 

Post Reply  Post Oekaki 
 

Posted By Message

Andy G



Registered
  07/07/2002
Points
  860
9th November, 2003 at 01:43:54 -

I've noticed how the "shoot object" command can only shoot bullets at a maximum speed of 100. Is there any way to make this faster? Considering some games, 100 it too slow. I've tried messing around with the "fast loop" extension but to no avail. Has anyone found a way to overcome this problem? I've been stuck on this for about 2 days now. Any help is greatly appreciated!

 
Beach Invasion II will come out if you are lucky.

Radix

hot for teacher

Registered
  01/10/2003
Points
  3139

Has Donated, Thank You!VIP MemberGOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!
9th November, 2003 at 02:04:10 -

It depends if you have backgrounds that can block the bullets. If not, use the x/y positions to test if the shot hits instantly. Otherwise, maybe try very large (or long, rather) invisible bullets moving at 100.

 
n/a

Andy G



Registered
  07/07/2002
Points
  860
9th November, 2003 at 04:47:23 -

Yeah I've tried both of them. Unfortunately I do have obstacles that'll block the bullets.



 
Beach Invasion II will come out if you are lucky.

Mutantleg



Registered
  15/05/2002
Points
  244
9th November, 2003 at 08:59:47 -

make sure the default dir of the bullet is right -->
then
every 00:02 set position of bullet to
to bullet x:5 y:0; in direction of bullet

 
n/a

renneF



Registered
  02/08/2003
Points
  672
9th November, 2003 at 10:07:41 -

Dosen't that skip alotta pixels though mutantleg?

 
Image

Mutantleg



Registered
  15/05/2002
Points
  244
9th November, 2003 at 10:55:13 -

well, it skips 5 pixels but if you want to, you can copy
the event like 10 times and change the bullets position
only by x:1 y:0 per event


 
n/a

Pete Nattress

Cheesy Bits img src/uploads/sccheesegif

Registered
  23/09/2002
Points
  4811
9th November, 2003 at 11:16:30 -

make the bullet 5 pixels long

 
www.thenatflap.co.uk

Grazzum - Scorpion E



Registered
  25/10/2003
Points
  918
9th November, 2003 at 11:57:25 -

Ahhh, I don't know how to use fastloop extension or anyat all and I need one of you guys to either give me a tutorial program or come over to cananada and show me how,

 
n/a

Knudde (Shab)

Administrator
Crazy?

Registered
  31/01/2003
Points
  5125

Has Donated, Thank You!Clickzine StaffKlikCast StarVIP MemberGhostbuster!Dos Rules!I donated an open source project
9th November, 2003 at 12:01:18 -

Wow! Where's Cananada? Is it close to Canadia?

 
Craps, I'm an old man!

Keatonian



Registered
  15/07/2002
Points
  571
9th November, 2003 at 12:17:49 -

Lol Shab!

 
-Above post is ancient and probably irrelevant-

An old account of mine, recently cleared out. It's a blast to the past, the age was marked as 14 when I found it. If you know where to look, you can track me. Au revoir.

Radix

hot for teacher

Registered
  01/10/2003
Points
  3139

Has Donated, Thank You!VIP MemberGOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!
9th November, 2003 at 15:55:28 -

I thought of a very interesting (and complex) method last night that doesn't necessarily need fastloop. I'll test it out and post an article.

 
n/a

Grazzum - Scorpion E



Registered
  25/10/2003
Points
  918
9th November, 2003 at 16:24:46 -

Cananada is on the Planet Q. Duh you tard

 
n/a

Daniel[Crazy_Productions]

Possibly Insane

Registered
  29/12/2002
Points
  2505
10th November, 2003 at 12:29:11 -

it is?? i thought it was on the type-error planet... oh well...

 
Beware of life ...so far noone have survived it.......

Sne



Registered
  20/05/2002
Points
  158
10th November, 2003 at 13:15:01 -

If you use FastLoop in TGF (or not in MMF) u can speed up bullets a lot. Link to example in TGF: http://www.republika.pl/nuke_soft/shooting.zip

 
Nuke Soft nukeboards.tk

Grazzum - Scorpion E



Registered
  25/10/2003
Points
  918
10th November, 2003 at 16:31:45 -

Anyone got one for MMF?

 
n/a

Andy G



Registered
  07/07/2002
Points
  860
12th November, 2003 at 16:43:50 -

Thanks Roman, I think that helped a lot. I'm gonna mess with it now and see how I can impliment it.

Thanks again.

 
Beach Invasion II will come out if you are lucky.

Rhys D

Please enter a custom rating

Registered
  02/01/2002
Points
  162

Has Donated, Thank You!VIP MemberIt's-a me, Mario!Wii OwnerMushroomStrawberrySweetieCardboard BoxOrangeAttention Getter
I am an April Fool
14th November, 2003 at 06:19:30 -

You moron Grazzum, you can open TGF or CNC files in MMF.

 
http://www.rhysd.com

Grazzum - Scorpion E



Registered
  25/10/2003
Points
  918
14th November, 2003 at 13:44:43 -

ahhh I didn't know. I'm new to this!


 
n/a

Weston L



Registered
  16/12/2002
Points
  1603
14th November, 2003 at 23:17:17 -

Speed 100 is too slow?

 
n/a

Grazzum - Scorpion E



Registered
  25/10/2003
Points
  918
14th November, 2003 at 23:46:18 -

100? Hell I could dodge that myself with a gimp leg and a blindfold

 
n/a

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
15th November, 2003 at 01:30:26 -

Yep 100 is too slow.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

Andy G



Registered
  07/07/2002
Points
  860
17th November, 2003 at 03:16:21 -

It's extremely slow considering what I'm trying to do. 'Eh I guess I'll find a way around it. You never know.

 
Beach Invasion II will come out if you are lucky.

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
17th November, 2003 at 04:11:28 -

You can create a custom shoot engine, or if you only plan on your bullets going one direction (right for example) then you can add the code:

always - bullet.x = bullet.x + 5

where 5 is, is the extra speed.

-Andy

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

Andy G



Registered
  07/07/2002
Points
  860
17th November, 2003 at 05:07:10 -

That's the problem. They don't only go in one direction.

 
Beach Invasion II will come out if you are lucky.

Grazzum - Scorpion E



Registered
  25/10/2003
Points
  918
17th November, 2003 at 16:13:00 -

What's the loop "Move" how do I access loops?

 
n/a

DeadmanDines

Best Article Writer

Registered
  27/04/2006
Points
  4758
18th November, 2003 at 09:13:19 -

The events in MMF/TGF take about 0.02 seconds to run, which people have always thought is very slow.

So, the 'fastloop' was invented. This runs any events with the 'on loop' condition, and it keeps running them again and again and again. You can start a loop from the actions in the 'special' object (it's put in your MMF frame the moment you start). You assign each loop a name and a number of loops to do.

Then, you insert the 'on loop' condition, again from the 'special conditions' object, and type in the name of the loop (such as 'move'). You can name a loop anything you want.

 
191 / 9999 * 7 + 191 * 7

Grazzum - Scorpion E



Registered
  25/10/2003
Points
  918
18th November, 2003 at 20:32:00 -

Man, why does everyone make it so hard to a fool like me? I just want one of you guys to come over and show me. I live on the border of Quebec.

 
n/a

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
18th November, 2003 at 23:21:19 -

JonWoG - Yeah, well that's trigonometry . Btw why not juts make it 360^ while you at it, if you are using trigonometry.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy
   

Post Reply



 



Advertisement

Worth A Click