Gamestudio Links
Zorro Links
Newest Posts
Max Number of Strategies in /Strategy folder
by Martin_HH. 06/17/26 07:16
Z9 getting Error 058
by jcl. 06/16/26 09:51
How to select between IB accounts by script?
by AndrewAMD. 06/13/26 15:44
Zorro tutorial ideas?
by AndrewAMD. 06/13/26 15:01
Zorro 3.01 recoded MMI function issue
by 11honza11. 06/13/26 11:40
Stooq now requires an API key
by AndrewAMD. 06/11/26 17:55
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (Martin_HH, monarch, Quad), 3,056 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Student_64151, Koti, curry, DeepxKalsi, Samed
19219 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