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 (NnamueN, Akow, 1 invisible), 1,421 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19054 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
butterfly anmation Lite c coding #305438
01/14/10 19:51
01/14/10 19:51
Joined: Feb 2005
Posts: 197
Indiana
darkraven1 Offline OP
Member
darkraven1  Offline OP
Member

Joined: Feb 2005
Posts: 197
Indiana
I am trying to code a simple butter fly the main part is contorting the animation speed.

The butter fly does two things
1. Flaps it's wings while on flowers. (So I need to control the animation speed for that.)

2. Fly away When you get close to it. (I am not sure what this involves but I guess it should fly in one direction and then vanish after 8 or 9 seconds.)

Re: butterfly anmation Lite c coding [Re: darkraven1] #305447
01/14/10 20:26
01/14/10 20:26
Joined: Jul 2004
Posts: 1,710
MMike Offline
Serious User
MMike  Offline
Serious User

Joined: Jul 2004
Posts: 1,710
Ok i think thats not hard.

You must first have the frames of the model to move the wings, with or wihout bone animation.

Then you control de animation frames with the script.. ent_frame or something...

Then you have to check the object(Buttergly) has a distance to the player, if its far , touch the flower, with a trace to flower direction or something...

I think thats not difficlt


Moderated by  adoado, checkbutton, mk_1, Perro 

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