Ideas for the future
by Charlie Malbaurn · in Torque Game Builder · 02/28/2005 (9:23 am) · 6 replies
Hey guys,
I was thinking that since there are so many threads out there about what would be nice to have that we could just post our ideas here so that it cuts down on clutter. So here is mine.
I was thinking that maybe at some time or another you can add some sort line or something showing exactly what the coords are for where the mouse is pointed at that time.
In other words, It would be handy to be able to look at your blank white screen, move your mouse to where you want your player to spawn and then just copy down the coords.
I know it's stupid and trivial and that you could just keep messing with it in either script or in the log window but sometimes the area you are trying to see is behind the window and it sort of breaks your train of thought fiddling with it.
I was thinking that since there are so many threads out there about what would be nice to have that we could just post our ideas here so that it cuts down on clutter. So here is mine.
I was thinking that maybe at some time or another you can add some sort line or something showing exactly what the coords are for where the mouse is pointed at that time.
In other words, It would be handy to be able to look at your blank white screen, move your mouse to where you want your player to spawn and then just copy down the coords.
I know it's stupid and trivial and that you could just keep messing with it in either script or in the log window but sometimes the area you are trying to see is behind the window and it sort of breaks your train of thought fiddling with it.
About the author
#2
function sceneWindow2D::onMouseDown( %this, %modifier, %worldPosition, %mouseClicks )
{
//show X Y in console on each left mouse click
echo("X is" SPC getWord(%worldPosition,0) SPC "Y is" SPC getWord(%worldPosition,1));
}
02/28/2005 (9:26 am)
Do something like thisfunction sceneWindow2D::onMouseDown( %this, %modifier, %worldPosition, %mouseClicks )
{
//show X Y in console on each left mouse click
echo("X is" SPC getWord(%worldPosition,0) SPC "Y is" SPC getWord(%worldPosition,1));
}
#3
02/28/2005 (9:27 am)
Jesus that was fast
#4
This has the added advantage of being in your scene (it's a gui box, so should work well with T2D as well), instead of requiring you to flop back and forth to the console.
It's definately not "out of the box", but I did this pretty easily for my TGE project, and it shouldn't take too long to add to T2D.
02/28/2005 (9:55 am)
If you have some knowledge of C++, you could also use the FPSGuiHud that is a TGE 1.X resource, and modify it to print out the coordinates like Anthony mentioned.This has the added advantage of being in your scene (it's a gui box, so should work well with T2D as well), instead of requiring you to flop back and forth to the console.
It's definately not "out of the box", but I did this pretty easily for my TGE project, and it shouldn't take too long to add to T2D.
#5
And hey, we want help! Actively looking for people out there who are wanting to work with us on this kind of stuff. So hopefully soon we'll start seeing some T2D resources a-brewin.
02/28/2005 (11:49 am)
What would be even nicer than copying the coords is actually being able to place your sprite right there. :) Believe me, we wanna do *all kinds* of stuff like this. Tons and tons and tons of editor ideas.And hey, we want help! Actively looking for people out there who are wanting to work with us on this kind of stuff. So hopefully soon we'll start seeing some T2D resources a-brewin.
#6
Anthony: That worked perfectly, thanks!
02/28/2005 (9:41 pm)
Since I like to work with editors I was looking at how to go about doing something with Gui controls to maybe add players and related stuff but for the life of me I can't think of anything that doesn't already look like Gamemaker ; )Anthony: That worked perfectly, thanks!
Torque Owner Philip Mansfield
Default Studio Name
Found it: www.garagegames.com/mg/forums/result.thread.php?qt=26532