Game Development Community

New Torque X Game in Playtest

by Tony Pitman · in Torque X 2D · 06/29/2009 (10:46 pm) · 16 replies

I just wanted to announce that I have just put my second TX 2D game into playtest on community games. I don't know if there is a specific forum for this kind of posting or whether you even want to know this kind of stuff. I would think it being new and all you wouldn't mind me posting when I release a TX game.

Let me know what you think of it. It is called Space Math and is currently in the play test area so you will need a premium account to play test it.

#1
06/29/2009 (11:08 pm)
I'm definitely interested in hearing about the game as it goes into playtest. Keep us posted!
#2
06/30/2009 (12:06 am)
You've released 2 games using Torque X, yet you don't own a licence? That sounds like a no-no to me.
#3
06/30/2009 (12:39 am)
Maybe he has the CC version...like me, and the icons don't show up in the forums.
#4
06/30/2009 (1:18 am)
Thats weird I thought they used to show up in the forums. How did you get the game to read from any controller? I know that's a showstopper, the player has to be able to play from any controller not just C1. I haven't done that yet, it would be nice to see how you solved it.
#5
06/30/2009 (4:09 am)
There are a few solutions to that one Henry,
My main one is, on the Title Screen (which is just a picture and a message saying press A or Start to continue) I read all the controls, which ever presses A or start is then the main controller for the rest of the game (or until returning to the title screen)

or if you want it to work through out the whole game you could just not assign an input map and in the processtick part of a component itterate through each control:
for (PlayerIndex i = PlayerIndex.One; i < PlayerIndex.Four; i++)
{
    if(Gamepad[i].GetState().Buttons.A
    {
      doStuff();
    }
}

Hope that helps?


And Good Job Tony, I shall check it out tonight :-)
#6
06/30/2009 (6:08 am)
Wow, that was a lot of replies real quick. It is great to see you all so active on the forums.

I am a CC member and have that license.

Gavin is right on for the solution. I used the title screen method. I show a title screen that says A to play and B to exit and then have my input map set up with an entry for each player index looking for A. Then when an A is pressed I set a member variable in the Game object to whatever player index fired the A event.

This works well for single player games. I will do something similar for my next game which will be multi-player. The only difference will be to have a map that looks for A to join, but another button (probably start) to actually start the game. My current title screen just looks for A to both pick the player and start the game.
#7
06/30/2009 (6:13 am)
I'll test yours if you test mine. :)
#8
06/30/2009 (6:16 am)
@David: That depends on what the game is :-). There are some games I just can't get up the nerve to test, like those farts games or the angry Barry game....

What is your game?
#9
06/30/2009 (7:36 am)
Vega Magnitude
#10
06/30/2009 (8:12 am)
Ooo, I was eyeing that one to test already. I will download it tonight and check it out. I have several children who love to test these games as well, so be sure it will get played!
#11
06/30/2009 (10:21 am)
Jake is right that the CC version of Torque3 X doesn't show up with an icon. I'll log that in as a bug for the site!
#12
06/30/2009 (3:23 pm)
I just posted feedback for you.
#13
06/30/2009 (3:35 pm)
I just read it. Thanks. I have a note to self to try out your game later tonight after work.
#14
06/30/2009 (6:50 pm)
@David: I love Vega. I just commented. Let me know if you would like some suggestions on the multiple controller thing. There are a lot of examples out there...
#15
07/01/2009 (4:12 pm)
Thanks Tony,

I made those changes you suggested and re-uploaded. You should be able to use any controller now.
#16
07/01/2009 (4:16 pm)
I will download it and give it a try tonight.

EDIT: I went to download it and it says it is not available to test yet. As soon as it shows up I will download it.