The Daily Click ::. Forums ::. Klik Coding Help ::. Lightning; Too many objects! ARGH!
 

Post Reply  Post Oekaki 
 

Posted By Message

Keatonian



Registered
  15/07/2002
Points
  571
3rd January, 2004 at 21:02:01 -

I need to make some lightning for a game AS A WEAPON (it needs to be able to collide)
I have a lightning bomb which shoots lightning randomly outward.
I have found a method to do this.

You make it shoot a tracer which drops objects that have OR transparancy so
that they connect like lightning. When their animation is over, they die.
This works BEAUTIFULLY, except it uses too many objects.
(My game is a major object hog.)

Please give me a method to do this with programming not picture.

(PS=
(Please no Advanced Math)
(Needs collision abilitys)
(Needs to launch in ANY DIRECTION)(Out of 32)


Image Edited by the Author.

 
-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.

Kirby Smith

Resident Slacker

Registered
  18/05/2003
Points
  479

VIP Member360 OwnerWii OwnerThe Cake is a Lie
3rd January, 2004 at 23:21:43 -

You could just increase the size of the objects, thus reducing the number of objects needed to pull off the effect. If you're using MMF, you could also just increase the maximum object count to 10,000. If you've already tried both of those things, then I really don't know what to tell you...

 
XBL Gamertag: Rampant Mjolnir

Keatonian



Registered
  15/07/2002
Points
  571
3rd January, 2004 at 23:26:52 -

1: That might not help much, I'll think about it.

2: I use TGF

 
-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.

Kirby Smith

Resident Slacker

Registered
  18/05/2003
Points
  479

VIP Member360 OwnerWii OwnerThe Cake is a Lie
4th January, 2004 at 01:30:30 -

Hmm... well, to be honest, trying to pull off complex effects like that in TGF probably isn't going to work out for you since you're limited to something like 260 objects. I don't want this to sound like an advertisement or anything, but you might want to consider upgrading.

 
XBL Gamertag: Rampant Mjolnir

Ashman

Possibly Insane

Registered
  12/06/2002
Points
  3974
4th January, 2004 at 01:45:51 -

This has been a paid presentation from Kirby Smith

PS : Only amateurs with no imagination can't use TGF for complex effects...

 
Show me the power child,
I'd like to say,
That I'm down on my knees today,
Gives me the butterflies,
Gives me away,
'Til I'm up on my feet again,
I'm feeling outshined.


"Outshined" - SoundGarden

Kirby Smith

Resident Slacker

Registered
  18/05/2003
Points
  479

VIP Member360 OwnerWii OwnerThe Cake is a Lie
4th January, 2004 at 02:06:55 -

LOL. I suppose Ashman is right, actually. I'm sure it's possible somehow -- I just can't think of any way to do it.

Image Edited by the Author.

 
XBL Gamertag: Rampant Mjolnir

renneF



Registered
  02/08/2003
Points
  672
4th January, 2004 at 02:16:01 -

ok i have made a perfect lightning engine thing i will upload it now (it uses less than 7 objects)

 
Image

Keatonian



Registered
  15/07/2002
Points
  571
4th January, 2004 at 08:20:26 -

I use TGF for Complex effects all the time.
Its a little harder but still easy.
(I love OR transparancy)

I would get MMF if it was cheap.

 
-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.

Keatonian



Registered
  15/07/2002
Points
  571
4th January, 2004 at 08:24:15 -

Paid Presentation?

I THOUGHT YOU WERE ON OUR SIDE!
(sob sob)

Just kidding! Good luck on making money advertising
MMF for Clickteam!

lol

 
-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.

Ashman

Possibly Insane

Registered
  12/06/2002
Points
  3974
4th January, 2004 at 08:32:31 -

Make sure the lightening effect generates 1.21 jiggawatts of electricity otherwise it's a phoney!

 
Show me the power child,
I'd like to say,
That I'm down on my knees today,
Gives me the butterflies,
Gives me away,
'Til I'm up on my feet again,
I'm feeling outshined.


"Outshined" - SoundGarden

Keatonian



Registered
  15/07/2002
Points
  571
4th January, 2004 at 08:48:51 -

Remember Ashman. Click games use visual effects to
simulate experiences, not create them. The electricity
required is only that to project the image.

 
-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.

renneF



Registered
  02/08/2003
Points
  672
4th January, 2004 at 08:56:34 -

Ok, here's my 5.7 Terrrawatt lightning maker thing:
http://mogg.m-watts.co.uk/Aali/Apps/lightning.zip

 
Image

Keatonian



Registered
  15/07/2002
Points
  571
4th January, 2004 at 08:59:49 -

Cool, It would be best if you could shoot it in 32 directions though.
Oh well.

PS: Thx Kirby Smith, but I might use this instead.

 
-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.

Stephen [NeonairGames]

Crazy?

Registered
  24/07/2002
Points
  4521

Game of the Week WinnerVIP Member
4th January, 2004 at 09:12:40 -

fastloop could create an effect like this.

 
http://www.neonairgames.net

Keatonian



Registered
  15/07/2002
Points
  571
4th January, 2004 at 09:14:13 -

Neonair, that uses fastloop and I use fastloop.

 
-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.
   

Post Reply



 



Advertisement

Worth A Click