This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#226 2013-03-29 09:47:33

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: kurt — Scratch file format Python library

roijac wrote:

the exported sprite has bounds values of floats and not of points  hmm

Does int()-ifying them work?


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#227 2013-03-29 10:14:59

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: kurt — Scratch file format Python library

blob8108 wrote:

roijac wrote:

the exported sprite has bounds values of floats and not of points  hmm

Does int()-ifying them work?

I couldn't see the '@' signs, that's why I mistook it to be only a number and only a point  roll

I think maybe the owner is the problem here - in the debug window it says 'owner: nil', and it doesn't refer to the stage.


edit: indeed  smile
added

Code:

file.sprite.owner = file.stage

Last edited by roijac (2013-03-29 10:18:11)

Offline

 

Board footer