Hello.
Whilst playing around in sprites on the Mac version of Realbasic 5.5.4
i tried to make an edit-field display the position of a sprite within
its spritesurface with code that looked like this:
s.x=s.x+1
xvalue=s.x
EditField1.Text=str(xvalue)
In the nextframe event of a spritesurface where "s" is a sprite and
"xvalue" is an integer.
Try as I might, I could not get the edit-field to display the value.
Incredibly, with the same code, my friend was able to make it work
great in the windows version of realbasic. Anyone have an idea why this
might be?
Also, I find it very odd that moving a picture across the screen using
sprites in RB milks my processor to 100% stalling anything else, whilst
seriously graphic intensive games work great.
Oh well, thanks a lot for your help,
-Zac Cohan
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|