A fresh start
by Jeffrey Gonzalez · 08/03/2009 (11:50 am) · 4 comments
After 3 years of playing around with various engines (TGE, TGEA, Gamemaker, T3D). I have learned a few things.
1. Start small and reasonable
2. Document, Document, Document
3. Design and then Document some more
So with this all in mind I have been using the TGB for the past few days and I am enjoying it. My first project will be a simple RPG. Nothing fancy just simple game.
Much of it has been documented and designed. I am not trying to impress anyone but me. I do nto expect the game play to take more that 10 hours ro get through and expecting that it should only take a few hours to complete.
I will do my best to post weekly as to what I am doing. This again is mostly for me as I will feel accountable to the community here.
So what is next on my plate
1. finish up 2 tutorials from the documentation. I have had so much fun making little fishes swim.
2. Buy a full version of TGB
3. But the Adventure Kit.
TIP: actionMap default.bind.cs
moveMap in on of the behavior Tutorial uses an object named moveMap. It then uses the method bindObj instead of bind or bindCmd. Docs on this is difficult to come by. but here is what I found out.
moveMap is an actionMap. you can see this if you can find the default.bind.cs. I, However could only find that on the forums. I have not been able to find it in my project. The main syntax difference from bind to bindObj is that the function bindObj call must have 2 parameters %this and %val
Things I am trying to understand still:
Be Well
1. Start small and reasonable
2. Document, Document, Document
3. Design and then Document some more
So with this all in mind I have been using the TGB for the past few days and I am enjoying it. My first project will be a simple RPG. Nothing fancy just simple game.
Much of it has been documented and designed. I am not trying to impress anyone but me. I do nto expect the game play to take more that 10 hours ro get through and expecting that it should only take a few hours to complete.
I will do my best to post weekly as to what I am doing. This again is mostly for me as I will feel accountable to the community here.
So what is next on my plate
1. finish up 2 tutorials from the documentation. I have had so much fun making little fishes swim.
2. Buy a full version of TGB
3. But the Adventure Kit.
TIP: actionMap default.bind.cs
moveMap in on of the behavior Tutorial uses an object named moveMap. It then uses the method bindObj instead of bind or bindCmd. Docs on this is difficult to come by. but here is what I found out.
moveMap is an actionMap. you can see this if you can find the default.bind.cs. I, However could only find that on the forums. I have not been able to find it in my project. The main syntax difference from bind to bindObj is that the function bindObj call must have 2 parameters %this and %val
Things I am trying to understand still:
%template.addBehaviorField(rightKey, "Key to bind to right movement", keybind, "Right"); %template.addBehaviorField(verticalSpeed, "Speed when moving vertically", float, 15.0); moveMap.bindObj(getWord(%this.rightKey, 0), getWord(%this.rightKey, 1), "moveUp", %this);The first 2 lines add a behavior field but they are not the same. Since the first one uses keybind while the second uses float. This all make sense until I get to the getWord on the 3rd line. When you use keybind to add a behavior field you variable has two values in it the first being "keyboard" with the second being the actual key to be used. in this case "d". So I was expecting "float 15.0" from the second line. Nope I only get 15.0 return. I sure hopes that is documented however I have not found it yet.
Be Well
#2
You could also add to that list:
"4. Make a rough prototype of basic but important gameplay elements."
08/03/2009 (1:40 pm)
Quote:Well said. Ignoring this is likely to lead to abject failure.
1. Start small and reasonable
You could also add to that list:
"4. Make a rough prototype of basic but important gameplay elements."
#3
08/03/2009 (2:17 pm)
Start small indeed. But always leave room for growth. Quote:Very good suggestion there. Sometimes you can even learn a lot prototyping a single idea as a side project. This idea can then translate into something more, especially when you start mixing your ideas and gameplay elements together.
You could also add to that list:
"4. Make a rough prototype of basic but important gameplay elements."
#4
08/03/2009 (6:12 pm)
yes, is true, in this moment i am switching from a miniMMOG to an Arcade Game... 
Torque Owner RollerJesus
Dream. Build. Repeat.
This would be a bit more relevant in the forums especially since you don't mention which engine you're working with and your profile doesn't say you own TGB, but this is TGB behavior code... anyway...
The getWord() function works by passing it a variable and (since all variables in torquescript are essentially strings) gets the 'word' that is referenced by the next variable that is passed - in this case 0 (or the first word since lists in programming start at 0 - which you probably already know...)
Ex:
I can't really follow what you're trying to do here though... Hit the TGB forum with some more info and I can try to get you on track.
`Patrick