Jump to content

Hand/Gun Animations


Shard
 Share

Recommended Posts

We're moving on to the hand-gun animations and I was wondering how the forums handles their animations.

 

Currently I've been thinking about two options:

 

1) Having the hand gun animations all in one file for each gun. (i.e, running with assault, reloading with assault, running with sniper, reload with sniper, etc)

2) Attaching the gun to the hands and the screen and creating animations for the arms that go with it.

 

Currently, option one sounds the most appealing because it allows for the most flexibility with the guns and hand animations.

 

 

How do you guys handle your hand-gun animations?

simpleSigPNG.png

 

Programmer/Engineer/Student

www.reikumar.com

 

2.6 GHz Intel Core Duo - nVidia GeForce 8600 GT - Windows 7 64-bit - 4 Gigs RAM

C++ - Visual Studio Express - Dark GDK - Leadwerks SDK

Link to comment
Share on other sites

There was a demo of this in le 2.24 written by Josh in Blitzmax code. it is still downloadable.

 

 

I checked developer.leadwerks.com and I could not find the project. All I found was the tutorials and the engine back versions.

simpleSigPNG.png

 

Programmer/Engineer/Student

www.reikumar.com

 

2.6 GHz Intel Core Duo - nVidia GeForce 8600 GT - Windows 7 64-bit - 4 Gigs RAM

C++ - Visual Studio Express - Dark GDK - Leadwerks SDK

Link to comment
Share on other sites

Sorry. i meant you can download le 2.24 and find the demo in that.

 

 

So I downloaded it and looked through the SDK files and I found example.bmx which looks like the source for running the game but I didn't see any animation handling code in there at all.

 

I did however find a few functions that looked interesting which I tried to find on the wiki, but they were not there. Do you know anything about this at all?

 

- TPlayer

- TGun

- SetFlashLightMode(True)

simpleSigPNG.png

 

Programmer/Engineer/Student

www.reikumar.com

 

2.6 GHz Intel Core Duo - nVidia GeForce 8600 GT - Windows 7 64-bit - 4 Gigs RAM

C++ - Visual Studio Express - Dark GDK - Leadwerks SDK

Link to comment
Share on other sites

The gun and bullets setup code is in the framewerk include files. i could not figuer it out but mayb you can. The demo as a whole will not run in le 3.1 but some of the code probably will.

amd quad core 4 ghz / geforce 660 ti 2gb / win 10

Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...