Game Development Community

1.7.4 - camera movement breaks on simple..

by TheGasMan · in TGB Platformer Kit · 09/22/2008 (9:03 pm) · 21 replies

[ I just bought the PSK tonight ..and for the past 2 hours I thought I was crazy. ]

If I load the demo scene into the editor and then play the scene through the editor, everything is fine.
If I load the scene into the editor, select and then deselect the orange guy, then play the scene through the editor...the camera movement is broken.

I checked this several times. Why is something remedial making such breaks ?
What is going on there ? ..and why ?

// edited in:
#1. camera movement broken
#2. lives set at 00 (unlimited lives really, I kept dying to check it & I never stopped spawning)
#3. health doesn't work
..ok, everything that is the reason for this SDK is broken after I merely make a simple selection and then play the scene.
Page «Previous 1 2
#1
09/23/2008 (3:36 am)
Eb, can you make sure that you are loading the PlayerMethods.cs and DrillMethods.cs files before the level is loaded?

Place these inside the startGame() function in game.cs:

exec ("./PlayerMethods.cs");
exec ("./DrillMethods.cs");

I think that should do the trick.
#2
09/23/2008 (10:32 am)
*Edited*


Hey Phillip!
..that's already in game.cs:
exec ("./PlayerMethods.cs");
	exec ("./DrillMethods.cs");
...
	sceneWindow2D.loadLevel(%level);
}

...............

It seems that even if I delete and replace the 'psk directory' that the project regains non-default behavior settings(what I changed) for what should have been default behavior settings(since I replaced the entire DIR with clean files).

- So these settings are being stored somewhere and I am unable to overwrite them.
(I do not see anything of concern in my app data and local settings but I could be overlooking things.)

Example:
I raised Lives to "88"...and when I deleted the psk and made a new directory, the "88" still remained in the behavior settings ?!???

What is going on here ? ...seems like TGB is retaining information that it should not care about.
#3
09/23/2008 (12:47 pm)
If your Dragon classed as a "PlayerClass"? If you're using a spawn point, you'll need to find the scene object datablock that the spawner spawns, found in game/datablocks.cs
#4
09/23/2008 (7:58 pm)
Ok, this is going nowhere fast...let's start over from the beginning so that I do not confuse the both of us.

...here is a video: 4MB Video Download

1. I load the project and run the game from tgb-editor...it works 100% fine.
*I close the game and return to the editor*
2. I select and deselect the dragon and run the game from tgb-editor, the game is broken!

00 lives
no camera movement
no health/peppers
#5
09/24/2008 (3:05 am)
Eb, your dragon isn't hooking into the PlayerClass. This is to do with a bug in TGB, whereby datablocks created in the "datablocks.cs" file aren't listed in the TGB behavior "object" dropdown.

The answer has been posted a few times on this forum, here is one of the original answers:
www.garagegames.com/mg/forums/result.thread.php?qt=73018
#6
09/24/2008 (9:21 am)
Phil, is GG going to address this issue? Its been a while and several revisions.
#7
09/24/2008 (10:16 am)
Phillip, that is a perfect answer...rock solid.

Thank you.
#8
09/24/2008 (2:11 pm)
Jydog, I can't promise anything, but it is an issue that I have pushed to get resolved.

Sorry for being a bit snappy eb, my bad.
#9
09/24/2008 (4:28 pm)
No worries Phillip.
I am happy with the end result, no grudge. >:O hehe


Hey guys,
..is there a list of the TGB 'quirks' anywhere ? a bug tracker maybe ?
#10
09/27/2008 (11:00 am)
:: gets prepared to read all tgb forums ::
:: makes 1 gallon of coffee ::
#11
09/27/2008 (11:14 am)
@eb - Bug Report Thread. You'll find a lot of the TGB 'quirks' you mentioned in that thread.
#12
09/30/2008 (12:58 pm)
Thanks Michael.
I happened to have already known of the thread section...I was hoping for more of a specific list to read in 20 minutes rather than forum discussions that take hours/days to go through (since not all quirks appear in the 1 section).

- I was just simply expecting too much...but it would have been awesome had it existed ! ;)
#13
10/27/2008 (3:25 am)
I love it, a couple of bugs, but can mostly be sorted out with the forum threads.

No joy trying to debug/code using Trying, the player object stops working all together.
#14
10/27/2008 (9:09 am)
I think Phil does a pretty good job of updating his Platformer Kit. As a TGB developer, I was able to get up and running with it pretty quickly. If you click through the PK forums, you'll usually find the answer to a bug or problem you are having.
#15
10/28/2008 (12:44 pm)
Andrew, I would be very interested in hearing the bugs you are talking of. If it is indeed riddled, then I will devote some time to helping you address these issues, with the view of releasing them to the community.
#16
10/31/2008 (12:39 am)
Hi Phillip, dont get me wrong I love the kit, it has some really cool tricks. I managed to fix my main problem using the forum threads above.

Some small issues....
1. No behaviours on objects - fixed with www.garagegames.com/mg/forums/result.thread.php?qt=73018
once you save, you must remove the fix, or you get duplicate entries.
2. Animations have a line to the right when left to run in idle state
3. Using Torsion, the character has no movement and or animations, almost like he is in static image mode, pity because I really enjoy debugging with Torsion. Maybe its someking of setting im missing.

Im using the latest versions of both products.

Is the art work royalty free, or are we not allowed to use it?
#17
10/31/2008 (12:46 am)
I think number two relates to the filter padding of that animation, I'm not 100% sure though. I've never even heard of #3, I use Torsion all of the time with the PSK and it runs as one would expect it to - I am sure it is something you're missing.

Nevertheless, I hardly think those issues deserve the comment: "The SDK, is riddled with bugs."

The artwork is royalty free indeed.
#18
10/31/2008 (12:54 am)
I have edited my comment, true in my haste to get going with the SDK, riddled is too harsh and unfair. Please accept my humblest appology.

My daughter(2) loves the art work, she tries to smack the little character off the screen with her fist.

Do you maybe have a Torsion project file we can use to code with Torsion, maybe my settings are all wrong.

Once again, I am having a ball with the SDK. Have added sideways moving platforms, and the spiders from the 2D character pack, walking on the sides of the platforms.

sites.google.com/site/nurvgames/Home/Game2.png
#19
10/31/2008 (8:44 am)
I am glad to see you have retracted your comment Andrew.

Phillip is here to help, which should be 110% thanked. It is difficult to support anything within the confines of this site. The clients are either screaming that everything is 'falling apart' or 'simply wonderful'. Now considering everyone has at least a bit of experience here, how is this possible for both elements to be true ?

Hence, I would have lost my hair long ago if I were Phillip. ;)

Edited: Happy Halloween!
#20
11/02/2008 (11:52 pm)
Eb; I think it goes more around you buy something and want to dive right in, and suddenly something unexpected happens. I literally sat this whole weekend (and every noght last week), playing with the SDK, and yes its "wonderful", once you get the hang of it, the skies the limit. Now im only wondering what the little dragons name is!
Page «Previous 1 2