starting to get frustrated!
by Juntaou · in iTorque 2D · 02/02/2011 (12:26 am) · 3 replies
So while I have been able to make progress in working through trying to get a project up and running I am still running into many many bugs. If anyone can help with any of these I would greatly appreciate it.
Windows Vista
On my copy of windows Vista I have pretty much got everything working on it minus the fact that for whatever reason I can't get the changes I make in the code to show up in the project. For example if I do something like:
function FishClass::onLevelLoaded(%this, %scenegraph)
{
%this.setLinearVelocityX(20);
}
and then set an animated fish to FishClass in the editor it does nothing. I have tried doing many different things with it but still nothing. :P This one I'm sure its just me doing something wrong but I can't for the life of me figure out what is going on...
Mac
So I have a mac mini and it is giving me all sorts of problems. The biggest of the 2 is that I can't use the menus in the editor! The little drop down menus that say static sprites, animated sprites, scrollers... etc. I cant open and close those tabs. That is a problem since most of them start out closed. So for example if I try to make an animated sprite I wont be able to access it as the animated sprite section is closed by default and I can't open it. If I close the editor and reopen it then it will by default be open and I gain access to that sprite.
That brings me to the next big bug, I can't create animated sprites on the mac! I can go through all of the steps and it will create the sprite and put it in the animated section, but it doesn't animate. Even when I'm in the animation editor(fish example) i set up all of the frames add them to the animation and in the little preview screen the animation does not work. I know I'm doing this right because I can go over to the pc, do the exact same thing, and it will work. :P (Also a small annoyance, but when I put my mouse over a button the tool tip doesnt show up :P)
Maybe with all of these I am just doing something wrong, but I don't see what it is. I don't have a ton of time to work on these everyday, which is why a week later I'm still messing around with these bugs. If anyone can help at all I would again, really appreciate it.
Windows Vista
On my copy of windows Vista I have pretty much got everything working on it minus the fact that for whatever reason I can't get the changes I make in the code to show up in the project. For example if I do something like:
function FishClass::onLevelLoaded(%this, %scenegraph)
{
%this.setLinearVelocityX(20);
}
and then set an animated fish to FishClass in the editor it does nothing. I have tried doing many different things with it but still nothing. :P This one I'm sure its just me doing something wrong but I can't for the life of me figure out what is going on...
Mac
So I have a mac mini and it is giving me all sorts of problems. The biggest of the 2 is that I can't use the menus in the editor! The little drop down menus that say static sprites, animated sprites, scrollers... etc. I cant open and close those tabs. That is a problem since most of them start out closed. So for example if I try to make an animated sprite I wont be able to access it as the animated sprite section is closed by default and I can't open it. If I close the editor and reopen it then it will by default be open and I gain access to that sprite.
That brings me to the next big bug, I can't create animated sprites on the mac! I can go through all of the steps and it will create the sprite and put it in the animated section, but it doesn't animate. Even when I'm in the animation editor(fish example) i set up all of the frames add them to the animation and in the little preview screen the animation does not work. I know I'm doing this right because I can go over to the pc, do the exact same thing, and it will work. :P (Also a small annoyance, but when I put my mouse over a button the tool tip doesnt show up :P)
Maybe with all of these I am just doing something wrong, but I don't see what it is. I don't have a ton of time to work on these everyday, which is why a week later I'm still messing around with these bugs. If anyone can help at all I would again, really appreciate it.
#2
As for the tab problem on OSX, I'm not getting this issue in v1.4.1. This is probably because the editor is being compiled with "lastest OS SDK". I made a few other changes to the Mac carb code, so that might also be helping. Recompiling as Marc said with 10.6 as your OS should work this out.
02/02/2011 (7:32 am)
@Juntao - usesPhysics should resolve the problem. Additionally, make sure you clear DSO files after you make changes to script. If a DSO exists, it will load the original script and not your changes.As for the tab problem on OSX, I'm not getting this issue in v1.4.1. This is probably because the editor is being compiled with "lastest OS SDK". I made a few other changes to the Mac carb code, so that might also be helping. Recompiling as Marc said with 10.6 as your OS should work this out.
#3
*update*
I enabled physics on my pc and now that is working fine! Thanks again for the help, I will hopefully be able to get around to trying out the mac fix this weekend.
02/02/2011 (9:29 am)
Thanks guys I will try these fixes tonight and get back to the game making!*update*
I enabled physics on my pc and now that is working fine! Thanks again for the help, I will hopefully be able to get around to trying out the mac fix this weekend.
Torque 3D Owner Marc Dreamora Schaerer
Gayasoft
as for the mac problem: go into the source code folder - compilers - xcode, open the project and rebuild the editor (TGB, release). After that the problems are gone. Its a side effect of 10.6 vs rest of OSX (welcome to apple world ...) I think, but I didn't look deeper into it as the recompile solves it