Game Development Community

Post your Behavior Requests here

by Phil Carlisle · in Torque Game Builder · 07/30/2007 (5:45 am) · 44 replies

Just thought I'd start us off by asking people post thier behavior requests in here.
#21
08/31/2007 (7:10 pm)
@Saiko - Thank you for the cs file. It took me more than 5 mins because I was getting the Arg! error. I found my problem just a little while ago. I had my audioProfile.cs misspelled. I had an "s" on the end of profile. Simple error and very difficult to find. Any case, my sound effects work great. Thanks for your help.
#22
09/23/2007 (8:12 pm)
Change "shoots" so that if the object shooting also has "takesDamage" the projectile won't damage that object.

Also, I would like a behavior similar to faceObject. But instead of facing that object, it faces the closest object of a specified class type.
#23
11/25/2007 (9:12 pm)
I have some easy ones :)

i wrote an adventure game and it's filled with various objects that could easily be behaviors.
Buttons: fade in/out/strobe, highlight (color/box/resize), change mouse cursor
Portals: load new level

They're all easy but they're generic enough and widely used enough that it might be worthwhile to have in the base code

Other people have mentioned harder ones. Obviously, i think everyone would be happy with a pathfinding system, although i don't know how generic one can make that since there's no generic data representation for paths right now. i personally could use a decent line of sight behavior (i have custom code using a hand-rolled Bresenham but figure you could make a generic one using pick line and either collision or maybe custom properties on objects to allow for things like walls with windows). Jumping behavior for the platformer tutorial where the ninja doesn't get his head trapped in the ceiling. Also for the platformer, riding an elevator behavior could be really nice - it's harder than it looks. i remember from writing C platformers ~15 years ago that ice was really popular. i think GameMaker has a resource for that one, although i was never a big ice fan

btw, when my students make their own games, they tend to make platformers and adventure games, the former because they like them (i had a really cool bullet time one), the latter because i give them a really strong framework for it and because it's easier for my art students. Their standard questions are respawning, holding down fire keys, health, score, invincibility on spawn, melee attacks (harder than it sounds) and the ability to jump on people's heads (we never actually got that Mario mechanic working). i haven't taught behaviors yet so i don't know how how many of those are already covered (firing on mouse down and exploding i know are)
#24
12/10/2007 (8:08 pm)
Does anyone have the "PlaySoundOnCollision" behavior they could put up on the Wiki? (Or e-mail me I suppose and I'll get it up there.) I've made a couple of passes at it and couldn't wrangle it.
#25
01/01/2008 (3:09 pm)
Phil I would like to see some type of CTF behavior or networking would be nice.
#26
01/02/2008 (1:06 am)
I agree a bunch of sound behaviors would be nice. It would also be nice if we could drag and drop mp3's in our editor and apply behaviors to them on the fly.
#27
01/02/2008 (5:23 am)
I don't seem to see a lot being put in the TDN for new behaviors are these just being developed to be sold? Or is no one updating the TDN?
#28
01/02/2008 (8:18 am)
@Don Hogan ... sorry bout that Don.. check your mail box :) Will fix the url to point one of my uk servers so the link to the PlaySoundOnCollision behaviour will work.
#29
01/02/2008 (8:41 am)
@Donald Harris... looks like everyone is a bit slack on adding to TDN - myself included. One issue is that behaviours are often very specific to a particular project. Another is maybe people are concerned that people might think their behaviours are lame or pointless fro general consumption. Maybe we should post some new behaviour code on the behaviour forum first. That way people can discuss them, suggest or make enhancements and when we have nice solid final versions then we add them to TDN. I think the evolution of a behaviour would be and interesting process for the community to participate in. It would also be very useful for people starting out with behaviours and would help no end having other people testing them out and finding bugs etc.

@Glenn - Drag and drop sound would be nice. I have a few sound based behaviours though a few of them are pretty much PlaySoundOnCollision tweaked for a different event eg creation / removal etc
#30
01/02/2008 (9:20 am)
@Saiko
The only issue with that is you will end up with a huge post making constant changes to a single behavior. Take the AI Guard thread for instance... that just needs to be put to sleep in my opinion. Lets start posting to the TDN and if any changes are need make them on the TDN. This will help the behavior stay up to date in a single place.
#31
01/02/2008 (9:39 am)
@Donald Harris - I agree as that is what TDN is really for but people are a bit slack with it. Maybe adding email subscriptions to TDN for updates like the forums would help. Also, if posting to TDN then starting a behaviour review thread would help make behaviours more robust and keep the thread length down. Some will always get out of hand though.
#32
01/02/2008 (9:55 am)
Hopefully they will add that feature soon.

@Phil Carlisle

Are you heading up the collection for the TDN or something like?
@All
If you all could would you please add your custom behaviors to the TDN?
#33
01/02/2008 (3:20 pm)
@Donald - in an effort to be less slack I added a brand new behaviour (Scale Object Effect) to TDN. It was written pretty quickly this evening so there may be the odd typo in the descriptions etc but it works fine and was pretty well tested. If anyone finds it useful I'll add some more.
#34
01/02/2008 (6:04 pm)
I have some handy behaviors I can add when I get the time.
#35
01/02/2008 (6:10 pm)
Thank you so much Saiko!
Joe Rossi- I cant wait to see what you have in sotre for the community.

This is what helps us all grow. I can't wait to check out the TDN post?

Anyone going to step up to the contribution plate?

Man if you guys have any CTF behaviors I would love those that would so help me in this contest!
#36
01/02/2008 (7:28 pm)
Just added a couple, will add more later. Hope you like them!
http://tdn.garagegames.com/wiki/TGB/Behaviors/AudioDescription
http://tdn.garagegames.com/wiki/TGB/Behaviors/AudioProfile

And another. Last one for tonight.
http://tdn.garagegames.com/wiki/TGB/Behaviors/GUI_Container
#37
01/02/2008 (10:09 pm)
That is awesome work guys. This is what makes the community better than any out there for this sort of thing. Lots of knowledge being spread everywhere.
#38
01/03/2008 (1:02 am)
Thanks Joe for sharing your behaviours. I'll check 'em later.
#39
01/03/2008 (3:43 pm)
To anyone watching this post. Be on the look out for the contest to start soon. You may want to start watching Glenn Thomas .plan for the next update on the contest. Thanks again for those who started posting so far!
#40
02/08/2008 (7:15 pm)
A fully featured pie menu would be a stellar behavior.

I wish the contest was still going, no updates in almost a month.

Also a container that you could drop sceneobjects into and have it sort em, maybe with backing images and selections would be really cool