data blocks iTGB Vs. TGB: what's the difference?
by Jereis Zaatri · in iTorque 2D · 05/22/2010 (3:13 pm) · 6 replies
Is there any syntax difference for data blocks between iTGB and TGB? I can't access any of my data blocks in the iTGB editor. Also is there a difference in calls when load data blocks into the editor?
Here's what I have:
datablock t2dSceneObjectDatablock(PathGroundTile_A)
{
...
};
Thanks
Here's what I have:
datablock t2dSceneObjectDatablock(PathGroundTile_A)
{
...
};
Thanks
#2
05/23/2010 (7:41 pm)
So that one call back to initialize is deprecated or does the editor just ignore all the data blocks till you press that button?
#3
the way datablocks work has not changed in 1.4 to my knowledge. Potentially you just added it to a file thats not even executed anymore
05/24/2010 (3:23 am)
the button has nothing to do with datablocks in the editor but with datablocks in the levels (which are whats used in the game. The game does not use the "execute all datablocks" bomb from the server)the way datablocks work has not changed in 1.4 to my knowledge. Potentially you just added it to a file thats not even executed anymore
#4
05/24/2010 (4:31 am)
So what would be the cause of the problem if no data blocks show up in the editor under scripting?
#5
if there is a problem with the script directly a nice red line will appear in the visual log in the editor (ctrl + console toggle button - the one right above tab)
05/24/2010 (7:21 am)
that the datablocks were not added to the correct place or that you are in a different project than you think.if there is a problem with the script directly a nice red line will appear in the visual log in the editor (ctrl + console toggle button - the one right above tab)
#6
Does anyone have a clue why this may be happening?
05/24/2010 (6:04 pm)
After reading some stuff I realize maybe I was a bit ambiguous about what data blocks I'm talking about. I'm having trouble with the "config datablocks" that are supposed to show up in the editor for you to assign to sprites.Does anyone have a clue why this may be happening?
Conor O'Kane
cokane.com