Game Development Community

SourceRect Documntation

by Alistair Lowe3 · in iTorque 2D · 03/25/2011 (11:28 am) · 2 replies

Hi guys, where can I find this?

Currently I'm editing the fields directly as I can't seem to get the torquescript functions I found by looking at the source to work.

#1
03/25/2011 (11:49 am)
I recently fought with sourceRect in iT2D and had a bitch of a time.

I never truly got it to work right. I ended up deleting my t2dStaticSprite and remaking it with the new sourceRect parameters to get it to update properly.

Even then it doesn't work the same on my PC and my client's PC

This was running with the PC based exe btw.
#2
03/25/2011 (12:32 pm)
It works right but I found I could only get it working right by using fields directly and by specifying the imagemap name AFTER the source rect details.