Game Development Community

Might be a stupid question

by Tim Minkov · in TGB Platformer Kit · 08/12/2009 (6:48 pm) · 1 replies

I was messing around with the demo level today, and created a new scene. Added a platform with a platformbehavior and a spawnpoint for a player. That wasn't working (nothing would spawn when I would run it), so I spent a few hours looking for a fix. I finally came across that datablock.cs, shown here: http://www.garagegames.com/community/forums/viewthread/73018, which solved my problem.

Anyway, it didn't solve it completely. Now when I try to run it, I can control the player, but there is absolutely no animation. The sprite isn't there! The camera follows the movement, so it 'works' but it's still messed up. I literally went and checked back and forth 20 times. The animation/behavior are EXACTLY the same as the given demo level - there is no reason it shouldn't work.

The only difference I could find was this would pop up in my demo level in the console:

BehaviorComponent::addBehaviors - Missing Behavior ActorBehavior
BehaviorComponent::addBehaviors - Missing Behavior ActorAnimationBehavior

This doesn't appear on the level included with PSK.

Any ideas? I'm tearing my hair out here :P

About the author

Recent Threads


#1
08/12/2009 (7:35 pm)
Have you purchased TGB and the PSK? You should ask this question in the Private forum:

www.garagegames.com/community/forums/61