giftelectronic.blogg.se

Greenfoot shooting
Greenfoot shooting







greenfoot shooting

* Here you can tell your actor what he has to do. Private GreenfootImage WalkA11 = new GreenfootImage("Walk-A_11.png") Private GreenfootImage WalkA10 = new GreenfootImage("Walk-A_10.png") Private GreenfootImage WalkA9 = new GreenfootImage("Walk-A_09.png") Private GreenfootImage WalkA8 = new GreenfootImage("Walk-A_08.png") Private GreenfootImage WalkA7 = new GreenfootImage("Walk-A_07.png") Private GreenfootImage WalkA6 = new GreenfootImage("Walk-A_06.png") Private GreenfootImage WalkA5 = new GreenfootImage("Walk-A_05.png") Private GreenfootImage WalkA4 = new GreenfootImage("Walk-A_04.png") Private GreenfootImage WalkA3 = new GreenfootImage("Walk-A_03.png") Private GreenfootImage WalkA2 = new GreenfootImage("Walk-A_02.png") Private GreenfootImage WalkA1 = new GreenfootImage("Walk-A_01.png")

greenfoot shooting

Private GreenfootImage Stand9 = new GreenfootImage("Stand_09.png") Private GreenfootImage Stand8 = new GreenfootImage("Stand_08.png") Private GreenfootImage Stand7 = new GreenfootImage("Stand_07.png") Private GreenfootImage Stand6 = new GreenfootImage("Stand_06.png") Private GreenfootImage Stand5 = new GreenfootImage("Stand_05.png") Private GreenfootImage Stand4 = new GreenfootImage("Stand_04.png") Private GreenfootImage Stand3 = new GreenfootImage("Stand_03.png") Private GreenfootImage Stand2 = new GreenfootImage("Stand_02.png") Private GreenfootImage Stand1 = new GreenfootImage("Stand_01.png") Public class Azure extends ScrollingActor * It's not necessary for the scrolling system. Import greenfoot.* // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) I know there are probably already threats about these problems but despite my hardest effort i was not able to understand them. It would be really nice if somebody could help me. It only shoots to the right even if I change the direction.

#Greenfoot shooting how to#

The following is the entire code of my Character. Hello, I recently started on a project and watched some Youtube tutorials, and I am getting stuck on how to turn my bullet to the left side. Second, nor do i know if i am able to create such a jump how to tell the game to play a different animation after the apex of the jump and when landing rather then after some unchangable time. Next Problem is, if i want to create an improved jump i am facing two problems.įirst, i do not know how to program a jump in which i can control the high of so to give it that megaman feel. However i dont know how to tell the programm in what direction i have previously used as in to give my game information what idle or standing shooting animation to use. Having a idle animation in one direction was simple enough since i only animated one direction. Hello everyone, im trying to create a game for class and im having a couple of problems.įor example i cannot seem to figure out how to animate directional idle animations and shooting animations.









Greenfoot shooting