Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, VoroneTZ, dpn), 1,346 guests, and 10 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19053 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 5 1 2 3 4 5
The Tornado #116061
03/08/07 20:03
03/08/07 20:03
Joined: Jul 2002
Posts: 857
Québec
Marky Mark Offline OP
User
Marky Mark  Offline OP
User

Joined: Jul 2002
Posts: 857
Québec
Here we go. A very hard thing that I start here. You can see it in the topic subject, I want to create a tornado. I want it to be realistic, fast(no low fps), and moveable.

It could do random movements (with a limit of distance), and would die after some seconds / minutes .

Here's a video of a realistic one, pretty amazing (thanks to people who gave me the link)

Video on YouTube

Anyway. It would be nice if anyone could give his idea on how to make a good looking tornado.

But For what? For my storm chasing game, Fujita5. You can check out this post:
Here

Thanks in advance.
Mark


Yeah! IE sucks, use Mozilla...
Marc Rémillard.
Re: The Tornado [Re: Marky Mark] #116062
03/08/07 20:54
03/08/07 20:54
Joined: Mar 2006
Posts: 752
Portugal
demiGod Offline
User
demiGod  Offline
User

Joined: Mar 2006
Posts: 752
Portugal
Yeah, not easy at all.
I think there is a user contribution related to real-time wind and i have the idea that it can be expanded to some kind of a tornado, too bad i dont remember the post..

Also, i have the idea that in the templates (A5?) tech demo level, there was a tornado using a dll.

Well, sorry for not helping you much more..

Re: The Tornado [Re: demiGod] #116063
03/08/07 21:05
03/08/07 21:05
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
i would do it that way: create sprites at the bottom and let them with sin and cos rotate around a ( curved) center and make the radius bigger so heigher they come, this big sprites you can let create particles.
then some sprites that go over the floor as kind of dust and some which have a complete random moving, so that the tornado dont look too linear...

Re: The Tornado [Re: Scorpion] #116064
03/09/07 06:49
03/09/07 06:49
Joined: Jul 2002
Posts: 857
Québec
Marky Mark Offline OP
User
Marky Mark  Offline OP
User

Joined: Jul 2002
Posts: 857
Québec
I don't understand the radius thing...

Can bones be good for a tornado? Oh, anyway I have Extra so ... nevermind.

Thanks scorpion and demigod.

Any other ideas?


Yeah! IE sucks, use Mozilla...
Marc Rémillard.
Re: The Tornado [Re: Marky Mark] #116065
03/09/07 11:54
03/09/07 11:54
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline
Expert
Germanunkol  Offline
Expert

Joined: Jun 2006
Posts: 2,640
Earth
1 passable, invisible entity, move it around randomly, and give it the action tornado

Code:



action tornado_sprite()
{
var distance;
my.facing = on;
while(my.skill3 == 0)
{
wait(1);
}

while(1)
{
distance + = 1;
my.skill2 + = my.skill1 * time;
you = ptr_for_handle(my.skill3);

my.x = sin(my.skill2)*distance + you.x;
my.y = cos(my.skill2)*distance + you.y;
my.z += 1*time;
my.roll + = my.skill1*time;
wait(1);
}
}


action tornado()
{
my.passable = on;
my.invisible = on;
while(1)
{
//move me here...
you = ent_create(sprite_tga,my.x,tornado_sprite);
you.skill1 = random(10)+2;
you.skill2 = random(360);
you.scale_x = random(2)+1;
you.scale_y = you.scale_x;
you.skill3 = handle(my);
wait(1);
}
}




every second, the entity creates sprites, which rotate around it...


No idea if that works. Off course, if you want to use physics just like they do in that movie, you'll need to either programm fake physics yourself or get pro^^...

Looks awesome though, that movie. I'd love to play a game like that

Hope I was of any help...

Last edited by Germanunkol; 03/09/07 16:09.

~"I never let school interfere with my education"~
-Mark Twain
Re: The Tornado [Re: Germanunkol] #116066
03/09/07 12:13
03/09/07 12:13
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
yeah, i thought about something like that, but now it is a line s that is straigt to the sky, you should make the center to center=center+20*sin(my.z*5) or something...

Last edited by Scorpion; 03/09/07 12:14.
Re: The Tornado [Re: Scorpion] #116067
03/09/07 12:16
03/09/07 12:16
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline
Expert
Germanunkol  Offline
Expert

Joined: Jun 2006
Posts: 2,640
Earth
Uh, good to know it works, at least sort of, sorry, I didn't test it.
try just changing this line:
distance + = .1;

to

distance + = 2;
?
I'll edit it in my previous post... just fiddle around with the "2"...:)

Micha


~"I never let school interfere with my education"~
-Mark Twain
Re: The Tornado [Re: Germanunkol] #116068
03/09/07 12:59
03/09/07 12:59
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
no, i didnt test it
but ill do now...

edit: workin on the tornado at time...


Last edited by Scorpion; 03/09/07 13:52.
Re: The Tornado [Re: Scorpion] #116069
03/09/07 14:40
03/09/07 14:40
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
Hey, not bad. Not bad at all. I'd like to see it in action though.

Just add a few [large] dust particles around it that move slower, and you'll have a pretty professional tornado...


xXxGuitar511
- Programmer
Re: The Tornado [Re: xXxGuitar511] #116070
03/09/07 15:30
03/09/07 15:30
Joined: Jul 2002
Posts: 857
Québec
Marky Mark Offline OP
User
Marky Mark  Offline OP
User

Joined: Jul 2002
Posts: 857
Québec
Yeah man it looks pretty good ! The rotating sprites (or particles?) could be faster in the center and slower around it.

You made a good job, it will surely be usefull very soon.


Yeah! IE sucks, use Mozilla...
Marc Rémillard.
Page 1 of 5 1 2 3 4 5

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1