Game Development Community

GUI help for RPG

by Michael or something like that · in Torque Game Builder · 07/01/2007 (3:25 am) · 5 replies

Hello,

I am trying out TGB with the hopes of purchasing a copy, if I can figure out whether it suits my game-building needs. I have been trying to create an RPG-styled battle engine to try to get the hang of it, and so far, I'm having quite a bit of trouble.

My goals are to create a turn-based engine in which one party of characters enters combat with another. One is player controlled, and the other is computer controlled. The player controlled party should have a number of options which can be selected, allowing them to swing a weapon, select and use an item or ability, and so forth. The names of abilities, as well as damage and other effects, should be displayed above the characters' heads when pertinent. Combat should conclude when one of the parties is defeated.

Can anyone point me in the right direction? Perhaps someone has worked on a similar project, or there is a tutorial that is somewhat similar? If not, is there a tutorial that will help me understand the GUI builder?

Thanks in advance for the help!
-M

#1
07/02/2007 (8:59 am)
Hey there. There are some GUI resources in our TDN but I think it requires a purchased copy of TGB. GUI tutorials on TDN:
tdn.garagegames.com/wiki/TGB/ScriptTutorials

Here's a little GUI tutorial that you should have access to, but hasn't been updated for a while, might get you started:
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=7401

You can search through the Resources section--or look at the "Show Off" forum of the GG community to see examples of what people have done... Did a search and came up with this:
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=11007

RPGs can definitely be implemented in TGB. Another example of what can be done in Torque, a content pack with a lot of the basic framework of a 2D adventure/RPG:
www.garagegames.com/products/90/

Which version of TGB are you using? 1.5 (in beta but soon to be released) is pretty neat--you can use behaviors to easily make things like tool tips and other gui effects/actions.

If you have more specific questions, I could try to help.
#2
07/10/2007 (1:17 pm)
Perhaps this is heresy on the Garage Games website, but you may want to check out RPG Maker for your needs. I have never used RPG Maker and I don't even have a link otherwise I would have supplied you with one, however I have gathered this about the program: It is a very rigid "game engine" that can enable to "create" a game in the style that you described.

Check out Last Scenario. It is a pretty cool game that was made with RPG Maker.

EDIT:

Aveyond was also made with RPG Maker.
#3
07/10/2007 (3:18 pm)
Heretic! :)

The problem I have with RPG maker is that it is fairly rigid, having its own battle system and so on. It takes quite a bit of work to get around all that stuff. I would rather be able to build my own from the ground up.
#4
07/10/2007 (3:57 pm)
I agree, blasphemy, lol. I'm working on a tutorial for RPG-type things--how to use/create tilemaps and even use them for random monster encounters--and a way to flip to a battle screen. But the GUI stuff is another thing entirely, and I hope some of the existing tutorials might help you with this... There are a bunch of things going on at once with the battle system you're describing.

For example, you would click one of your characters and pop up a little GUI that had multiple "buttons," labeled the various abilities, then set the button's Command to a function that activates that ability...

For switching from the world/wandering screen to the battle screen, one way is to have the camera move to a different location, somewhere previously offscreen...etc, etc

We could go into more depth about how to solve these problems but right now there are a gajillion different aspects of this. Have those GUI tutorials helped at all? :'( Any specific issues coming up? :)
#5
07/11/2007 (12:38 am)
Thanks for the reply. I'm starting to get the GUI stuff figured out, it just took a while. I would love to take a look at your RPG tutorial. Do you mind showing off what you have done right now, or should I try to be patient and wait til it's done?