Hello,
Started coding a game, so far so good. However, I face a minor problem, which I cannot solve by myself:
When I use BLAST my character (actor) gets out of his position.
Here's GIF: https://giphy.com/gifs/xUA7b7mnhsPWCcgCc0
My blast code is very simple (just using .gif image of bast):
If I understand correctly, blast image gets centered thus making it look like this.
Any solutions (if possible with code)?
if(Greenfoot.isKeyDown("shift") && !(Greenfoot.isKeyDown("right") || Greenfoot.isKeyDown("left"))) {
setImage(newCharBlast.getCurrentImage());
}
