Game Development Community

Where Art thy Mouse

by Jason Darby · in iTorque 2D · 04/29/2010 (1:11 pm) · 4 replies

Ok so I am building my game to make the DSO's which means loading my game into TGB... but anyway the mouse cursor disappears and i cannot even click in the same location as the press button object to move to the next screen to generate the DSO's

Anyone got any advice, in 1.2 i am pretty sure that even though i couldnt see the mouse i could still click... now in TGB i cannot...

So is there another way to make the DSO's that is quick and easy?

Thanks

About the author

Computer games book author, have written 6 game creation books, published by Cengage Course Technology. Owner of Arcade website www.madword.com and Castle software.


#1
04/30/2010 (2:51 pm)
Anyone?

I just need to be able to get my mouse cursor back on screen so i can click things to create the dso's

Thanks

#2
04/30/2010 (3:27 pm)
Hi Jason, look for "hideCursor".

I have this in main.cs - also there is a reference in levelManagement.cs in common/scripts, around about line 35

...
function initializeProject()
{
	//hideCursor();

...
#3
04/30/2010 (3:29 pm)
Also, WRT to the DSO files - I'm still not sure of the correct procedure, but this is what I do for deployment to the iPhone.

- delete all .dso files
- build to iPhone in xCode
- run the game on the iPhone

Apparently 1.3 can run the scripts without requiring the DSO files. However, you do end up shipping your source .cs files.
#4
04/30/2010 (3:36 pm)
Hey Scott

Seriously Garage should employ you or something :)

Thanks for the advice on the mouse, it was the levelManagement.cs file that was causing the issue.

Yeah, now i have the mouse i can build the DSO's, so thats better for me i think than putting all the cs files on the phone (not that i am worried about my code to be honest, i just think it would run slightly faster... but soon see)

Anyway, thanks yet again.

Jason