Game Development Community

I just bought the PSK

by Jacob Vann · in TGB Platformer Kit · 02/22/2009 (11:51 am) · 19 replies

Hi,

I just bought the PSK (not the pro version, but the regular version). I'm running Mac OS X 10.5 and have TGB 1.7.4 installed already.

The PSK installs, but I don't see any good documentation about what to do next. I understand 1.1 has some source-level changes, but since I don't have PSK pro I can't recompile the engine with these changes.

So I understand the included binary is supposed to be TGB 1.7.4 with the PSK changes compiled in. What am I supposed to do with it? Here's what I've done so far:

1. Put in PSK Demo folder, launch --> this runs the PSK Demo. Yay.

2. Put in TGB Root folder, launch --> launches the TGB Editor, but everything's broken. No images are loaded, no mouse cursor, etc. Can't load a project since I can't seem to click on "open".

3. Launch unmodified TGB, load PSK Demo project --> the project doesn't run properly because the original TGB doesn't have objects like pskActor.

I suspect #2 is what I'm supposed to be doing, but maybe I'm missing resources that the modified version of the TGB editor needs?

Basically I want to run the (PSK-enhanced) TGB Editor, modify the PSK Demo and be able to test levels. I hope this is possible.

#1
02/22/2009 (12:27 pm)
There is no updated level editor, just the runtime. The changes that were made were not integrated into the level editor itself and are not needed.

The best thing you can do is check out the demo tutorial and the upgrade guide.

tdn.garagegames.com/wiki/TGB/PlatformerStarterKit
#2
02/22/2009 (12:46 pm)
Just to clarify, #1 is what you are meant to do. When you are creating a PSK project with TGB, you need to copy the binary files into your project directory (and rename the .exe file to "TGBGame.exe"). When you play with your project in the editor and hit the "Play" button, it will launch the exe in your project directory and everything will work as normal.

This is all in the original 1.7.4 level editor, by the way.
#3
02/22/2009 (1:29 pm)
I think I was confused. I thought "Project Directory" meant games/PlatformerDemo. It wasn't working, but I found hitting "play" was launching the TGBGame.app in tgb/gameData/T2DProject.

I put the PSK App in that directory, named it TGBGame.app and it seems to be working!

Thanks for the clarification. I just wasn't understanding what "Project Directory" meant, apparently...
#4
06/21/2009 (9:00 am)
Hi Phillip,

I bought the psk last week, but it's still not clear how to make it work properly.

Here's what i did so far :

1-Install TBG version 1.7.4 to this path: C:\TorqueGameBuilder-1.7.4
2-Install Psk to TBG directory (previous location) so C:\TorqueGameBuilder-1.7.4\
3-Create a new project and select "platformer" template
4-Created a basic level and player (Example from TGB/PlatformerStarterKit/Demo Level)
5-Run the game from the editor

This is where i'm starting to get confused.
I'm suposed to copy the following executable:

C:\TorqueGameBuilder-1.7.4\PlatformerStarterKit\Binaries\Platformer Starter Kit.exe

To

C:\TorqueGameBuilder-1.7.4\games\MyTestGame\MyTestGame (The new game i created)

And rename it to "TGBGame.exe" or rename "MyTestGame.exe" to "TGBGame.exe" ?

When i run the game, without copying anyting, i see the platform, the DragonActorTemplate but i can't move it around. My questions are :

1- I'm still confused about which .exe to rename and where to copy it
2- Am i supposed to script the keyboard input as explaned in the TBG tutorials or the character is already supposed to move around with the wsad key ? When i run the game, i see the character and the background but everything is static.

Thanks for your help,

Hugo
#5
06/21/2009 (2:45 pm)
Problem solved (Partially). Now i can run my game and make it work properly. If i start it from the editor though, it still doesn't work. If someone know how to solve this problem, it would be great !

The installation file really need to be updated, this isn't obvious at all :)

Thanks,

Hugo
#6
06/21/2009 (3:31 pm)
Rename the exe to "MyTestGame.exe".
#7
06/21/2009 (4:12 pm)
I went through EXACTLY the same problems in the same order, and I am still stuck with my game being able to run from the .exe itself, but not from the editor. Does anyone know a solution to this?
#8
06/21/2009 (4:14 pm)
Nick, are you using a Mac?
#9
06/21/2009 (4:23 pm)
Yes I am.
#10
06/21/2009 (4:26 pm)
For some reason you can't use a custom app on OSX from TGB. I'll look into fixing it for the next version of TGB.

The only way that it will work from the editor is if you replace your default TGBGame.app with the one I provided or the one you created.
#11
06/21/2009 (5:51 pm)
Thanks for the quick support Phillip, works great now !

Can't wait to make a full game, I'm really please with the kit so far. Looks like a wonderful addition to TGB.


#12
08/10/2009 (1:26 pm)
im using a mac and i havea similar problem, the game doesnt run at all what do i have to do exactly?
#13
08/10/2009 (2:26 pm)
Koutaro, have you purchased TGB and the PSK?
#14
08/17/2009 (9:44 pm)
Hello,

I am on a mac, and have purchased iTGB and PSK Pro.

I waited a week to pick up PSK while I went through the iTGB docs. I have been using the TGB pro install for this practice work.

To get ready for PSK I used xcode to clean and rebuild TGB, then I installed PSK into my TGB directory. Went through the steps in the readme file.

I launched the demo from TGB and I can not move the actor, seeing the posts above I went ahead and just built the game and ran the .app from the deploy director with the same results.

Music and video seem ok though I did fiddle to see if it would make a difference.

Questions:
What do I need to do to see the demo work, and how do I know if I have performed the install properly?

===========
I am new to the GG tools, but getting up to speed fast. I hope the following statements don't come off too harsh. In my week long experience the weakest parts of the GG products (iTGB, PSK etc.) are the install and setup procedures. I still don't know how/have not been successful deploying to the iPhone sim since the documents were woefully out of date. It would be nice if there was a clear step by step approach to the setups and a verifiable way to ensure that everything is correct. Having to touch code during an install process with out a verification process just leads to doubts and confusion.
#15
08/17/2009 (10:25 pm)
Dirk, if you aren't using the correct app or exe there should be a flood of errors in the console if you open it up (the ~ button should display it).

Failing that, email me your console doc (email in profile) and I'll see if I can see anything that might be preventing it from working, though I suspect you're using the incorrect app.
#16
10/02/2009 (1:30 pm)
In other words, the play button in TGB is unusable on Mac running the PSK?
#17
10/02/2009 (5:50 pm)
The only way to "solve" the issue, is to replace the TGBGame.app file in your installation directory with the one provided with the PSK.
Quote:1. Replace the original TGBGame.exe (<TGB Install Dir>/tgb/gameData/T2DProject/) file with the one provided in the kit (<TGB Install Dir>/PlatformerStarterKit/binaries) ensuring that you rename it to TGBGame.exe.
The same thing applies for the app file.
#18
10/04/2009 (10:29 am)
I would like to thank you all for this discussion. For those who are using TGB PSK on PC the method that worked for me was.

1. Install game at your TGB directory (if other than 1.7.0 then look for your specific directory).
2. Open up TGB and create a new game with the platformer template.
3. Save the game.
4. Go to
C:\TorqueGameBuilder-1.7.4\PlatformerStarterKit\Binaries\Platformer Starter Kit.exe

copy the exe file to

C:\TorqueGameBuilder-1.7.4\games\<your game folder>\

Delete the current application file and rename it to the new application file.

Start your game, and everything will work fine.
#19
05/21/2010 (5:54 am)
My problem is I don't even see the freaking template:

http://www.torquepowered.com/community/forums/viewthread/115537