Game Development Community

Behaviors...

by Eric Schuld · in TGB Platformer Kit · 03/04/2009 (9:03 pm) · 5 replies

So I am working through the tutorial - everything was going well until I tried to add a behavior to the platforms - the "Platform Object" to be specific.

BUT - when I click on the behavior tab - there are no behaviors at all in the list. Am I missing a vital step in the setup?

Would love any help!

Thanks!

#1
03/04/2009 (9:19 pm)
Thats a little strange, maybe my project template isn't copying the behaviors across properly.

In any case, you should be able to copy the behaviors from the Platformer Demo project into your own project's behaviors folder.
#2
03/04/2009 (9:22 pm)
Ok - I figured it out... me dumb...

I was running the incorrect game builder file to get into the editor...

All good now!
#3
03/04/2009 (9:30 pm)
Ok - well - I can see the behaviors now.

BUT - here is what I had to do to get it to work properly.

I had to first open the TGB and start a new project.

Then I had to close the TGB - and go to the folder where I saved/created the project to.

THEN - this was the weird part. I named it FirstPlatform... so - in that folder there is a "project" file - if I double click that - the behaviors aren't in the list.

BUT - if I go into the Game folder within that folder - and load the "project" file in there - that launches the TGB - then all of my behaviors are there - all the art is there - and everything looks like it is there now.

Does any of that make sense?
#4
04/06/2009 (11:58 am)
@Eric:

That doesn't make sense to me either. I experienced the same problem. I noticed that the Platformer template was creating an extra "game" folder in my directory structure, but didn't even think to look for a second project file. The second project file let me load the behaviors, but my work to date was missing. I guess I'll restart the tutorial. Great catch!
#5
04/06/2009 (3:02 pm)
FYI... The problem is fixed if you apply the "New Project Not Created Properly" fix in the known issues (http://www.garagegames.com/community/forums/viewthread/86673) before you create the project.

Thank you Phillip.