getbrush from picture ie fomr x=10, y=10, width/height=10
Posted: Sat Apr 24, 2010 6:12 pm
Im pretty sure i have already done this, but i just cant seem to find it anymore from manual nor from my own codes.
I have this picture that has the game character in its different movement phases.
What i want to now do is to make it into animation to use in my game.
I suppose i need to first make them into brushes and then into animations.
So what i am trying to do, is to take brush id 1 from example from cordinates x=100, y=100 and width and height of 50.
So is there for example some command like:
GrabbrushfromBG(id, x, y, width, height)
for i wasnt able to find something like that.
Or do i need to first grab Backgroundpicture as Brush and then Crop it to right size or something?
I have this picture that has the game character in its different movement phases.
What i want to now do is to make it into animation to use in my game.
I suppose i need to first make them into brushes and then into animations.
So what i am trying to do, is to take brush id 1 from example from cordinates x=100, y=100 and width and height of 50.
So is there for example some command like:
GrabbrushfromBG(id, x, y, width, height)
for i wasnt able to find something like that.
Or do i need to first grab Backgroundpicture as Brush and then Crop it to right size or something?