Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
5 registered members (Dico, AndrewAMD, TipmyPip, NewbieZorro, Grant), 15,791 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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 | 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