Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Subroutines and Animating

Author
Message
castek
17
Years of Service
User Offline
Joined: 15th Aug 2007
Location: Right behind you!
Posted: 14th May 2009 23:22
Just a couple questions...

What is a subroutines and how is it used, is there any good tuts on it anywhere?

and whats the best free program for animating?



Thanks!

Your signature has been erased by a mod because it's larger than 600x120
bobbel
15
Years of Service
User Offline
Joined: 5th Jan 2009
Location: In my DBPro case xD
Posted: 14th May 2009 23:35 Edited at: 14th May 2009 23:36
Subroutines. they are very easy. maybe in your game you have some kind of code that wil always be the same. so instead of copy pasting that code in every loop you make, you make a subroutine. as subroutine looks like this:

if you want to call a subroutine, you do like this

this is vary handy cause it cleans the code and is handy to debug, cause you can just delete the lines so you can check were the bug is

and about animating, i think DeleD Lite 2.0 does that, but it doesn;t have any exporters for it yet

(\__/)
(O.o )
(> < ) This is Bunny. Copy Bunny into your signature to help him on his way to world domination!
castek
17
Years of Service
User Offline
Joined: 15th Aug 2007
Location: Right behind you!
Posted: 15th May 2009 01:07
so, a subroutine is pretty much the same as a function?

Your signature has been erased by a mod because it's larger than 600x120
AndrewT
17
Years of Service
User Offline
Joined: 11th Feb 2007
Location: MI, USA
Posted: 15th May 2009 04:11
A subroutine is like a function, except:

1. You can't have local variables in subroutines, i.e. if you create a variable in a subroutine, other subroutines can access it (but not functions).

2. You can't pass parameters to a subroutine.

3. You can't return values from a subroutine.

i like orange
bobbel
15
Years of Service
User Offline
Joined: 5th Jan 2009
Location: In my DBPro case xD
Posted: 15th May 2009 08:18
jep, that explaisn pretty much all of it

(\__/)
(O.o )
(> < ) This is Bunny. Copy Bunny into your signature to help him on his way to world domination!
castek
17
Years of Service
User Offline
Joined: 15th Aug 2007
Location: Right behind you!
Posted: 15th May 2009 18:03 Edited at: 15th May 2009 18:04
OK, thanks guys! but are there any other free 3d animators that can export?

Your signature has been erased by a mod because it's larger than 600x120
bobbel
15
Years of Service
User Offline
Joined: 5th Jan 2009
Location: In my DBPro case xD
Posted: 15th May 2009 19:40
Blender maybe, but thats hard. when DeleD will get some exporters, it'll be the best 3d moddeler and animator around for beginners, i think

(\__/)
(O.o )
(> < ) This is Bunny. Copy Bunny into your signature to help him on his way to world domination!
castek
17
Years of Service
User Offline
Joined: 15th Aug 2007
Location: Right behind you!
Posted: 19th May 2009 05:42
OK, thanks for the advice. I Started using FragMotion and it seems pretty easy so I guess I'll use it.

Your signature has been erased by a mod because it's larger than 600x120
bobbel
15
Years of Service
User Offline
Joined: 5th Jan 2009
Location: In my DBPro case xD
Posted: 19th May 2009 08:46
ok, good luck!

(\__/)
(O.o )
(> < ) This is Bunny. Copy Bunny into your signature to help him on his way to world domination!
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 20th May 2009 02:46 Edited at: 20th May 2009 02:47
CharacterFX is my choice for animating. I like Blender, too, but its .X exporter is a bit screwy with animation.

I've never tried Fragmotion, I keep hearing about it...



Login to post a reply

Server time is: 2024-11-25 06:47:05
Your offset time is: 2024-11-25 06:47:05