Posted: 26th Aug 2011 23:37
This works...

+ Code Snippet
do
    temp = CreateText("One")
    SetTextPosition(temp, 10, 10)

    temp = CreateText("Two")
    SetTextPosition(temp, 10, 20)

    temp = CreateText("Three")
    SetTextPosition(temp, 10, 30)

    Sync()
loop


but what happens to those first two text entities? Are they just orphaned and can never be referenced again? And is that "bad"? As in, will it clog up memory, or some such?
Posted: 30th Aug 2011 19:00
It's technically bad practice, but they will get cleaned up when your app ends. The AppGameKit player keeps an internal reference to the sprite pointers regardless of what happens to the ID, and does a reset between runs of your app.
Posted: 30th Aug 2011 20:44
Okay, thanks, that's good to know. I've been deleting sprite and text entities when I'm done with them, just in case.