8bit
Burger Head
Posts: 22
|
Post by 8bit on Mar 15, 2018 14:04:07 GMT -5
I have:
Enemy2=addsprite(1,1) PropSprite Enemy2,1020,1
I need modification in gameplay to (2,2).
How to modify the size of sprite?
|
|
|
Post by wraith on Mar 15, 2018 16:58:17 GMT -5
Depends on requirements. If it's purely graphical simply draw a sprite off-screen and swap positions.
|
|
|
Post by wraith on Mar 16, 2018 0:27:08 GMT -5
Took me a bit to locate, Example of ResizeSprite ASM SUB by Mairtrus. ResizeSprite.bex (652 B)
|
|
|
Post by nemezes on Mar 16, 2018 4:22:43 GMT -5
I have: Enemy2=addsprite( 1,1) PropSprite Enemy2,1020,1 I need modification in gameplay to ( 2,2). How to modify the size of sprite? you can do this: Enemy2=addsprite(1,1) PropSprite Enemy2,1020,1 To change Movesprite Enemy2,0,0 Enemy2=addsprite(2,2) PropSprite Enemy2,new number,pallette It should work
|
|
8bit
Burger Head
Posts: 22
|
Post by 8bit on Mar 16, 2018 6:24:41 GMT -5
nemezes, no, replacement is not necessary.
wraith, thanks.
|
|