Game Development Community

Jungle Fever (pics and video inside!)

by Stefan Beffy Moises · 03/25/2006 (11:15 am) · 7 comments

Hey again,

time to give you another project update I guess... :)
The project I've mentioned in my last blogs is progressing nicely...
Coding-wise, I've added simple swarms to the game in the last week - here are some pics:
jens.3d-diggers.de/images/junglefever003.jpgjens.3d-diggers.de/images/junglefever004.jpgjens.3d-diggers.de/images/junglefever005.jpg
A Swarm is basically a PathShape (check out my resource), moving an invisble "SwarmShape" along a given path...

tork.beffy.de/uploads/pics/swarm01.jpg
Here are some bats in action:

jens.3d-diggers.de/images/junglefever001.jpg
That invisble shape has 32 mount points (had to hack the engine a bit to allow that) you can mount other shapes to... those mounted shapes are animated and the animations are movement animations - so by playing an animation you can "move" the mounted shapes along x,y and z axis.
So in effect you can animate the whole swarm, e.g. move all the shapes towards the center, away from center, left/right, up/down, etc.
I'm using a resource by Paul Dana to set the animation thread position, so I'm even able to tell the mounted shapes how far they should move on the axis I specify... in fact, Paul had the idea to do the swarm movements this way - so thanks again, Paul! :)
Previous efforts didn't work... I was trying to just create shapes at the PathShape location and randomly update their position/transform relative to the PathShape each tick, but that gave me a weird "lag" behaviour of the shapes....
The swarms have additional features, such as a steady swarm sound playing as they move, as well as a random sound (with min and max time values when to trigger it) which is used for e.g. "screams" of bats or birds. You can also give them a swarm type (middle, wide, close) which determines the overall move animations inside the swarm (e.g. "wide" makes them move away from the center only, thus giving the swarm a "wider" appearance), and of course you can set the number of objects to mount, you can set a delay when to start moving along the path (so you can time the moment they appear to the player e.g.)...
Well, it looks really cool to have lots of swarms flying around, making noise and doing random "formations" and stuff ;)

We also have lots of new animals with very basic "animal AI" (basically random choices of "idle", "sleep", "walk around", "flee" from the player if in view and playing random animations from time to time), e.g. gorillas, hippos, leopards, orang utans, grey herons etc.
Here is a flamingo:

jens.3d-diggers.de/images/junglefever002.jpg
As stated in my last blog, it's not really a game, it's sort of a "medical project" where people drive through the jungle on a boat (also a pathshape which you can just start or stop, but not really "control") and they have to react to certain visual and/or acoustic stimuli... we are proud to be able to help sick people using the TGE, although we don't have that much scope to "go wild" and add stuff we'd like since the requirements of our client are pretty fixed and clear.
Of course, there will be a lot of content packs (current working title of the pack series is "Jungle Fever") available in the 3D-Diggers online shop which we are currently preparing for "indie needs" (e.g. animal packs, plant packs, maybe even a "Swarm Pack" ;)) - so be curious! :)

Anyways, here is a video showing off some of the features I've talked about, enjoy!

Low quility (~20 MB)
High quility (~40 MB)


Until next time! :)

#1
03/25/2006 (12:11 pm)
More cowbell
#2
03/25/2006 (12:22 pm)
Cowbell?
#3
03/25/2006 (2:24 pm)
Looks nice, love the idea.

You should get TLK and play around a little with the light and sky, right now it all looks a bit.. flat. Secondly, that background.. music? Is realy creepy. Other then that I like it, good luck on the project :-)
#4
03/25/2006 (2:44 pm)
LOL, one of my favorite SNL skits. I NEED MORE COWBELL!
#5
03/25/2006 (4:42 pm)
"More cowbell"

Either that or a big, red, plastic strap-on baboon butt. "It's not dirrrty enough!"

(BTW, that's from SNL too. . .)

Anyways, I really like that pink flamingo; mostly because I like saying "flamingo".
#6
03/26/2006 (6:56 am)
any hints on how you got the "!" to appear over there heads?
#7
03/26/2006 (9:55 am)
Ehm, what's SNL? Saturday Night Live? No clue since I'm german, so I really don't know what you guys are talking about :P But if you're having fun it's ok I guess :)

@Allyn: Hm, that's only for debugging so that I can see what the animals are up to... and I borrowed it from Phil Carlisle who put it into the AI pack (which isn't available yet and I dont know if it's still in there and will be included ... but maybe Phil will make a resource for it... *hint, hint*) ;) Basically it just renders a bitmap above ShapeBase/Player objects... hm, now that I think about it, maybe there already IS a resource for something similar, I think I saw it once...