giftsushi.blogg.se

Greenfoot shooting
Greenfoot shooting










greenfoot shooting
  1. #Greenfoot shooting how to
  2. #Greenfoot shooting code

* 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") Private GreenfootImage Stand9 = new GreenfootImage("Stand_09.png")

greenfoot shooting

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")

greenfoot shooting

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) but i want it so the way to shoot them is to click on them and the use getWorld().removeObject(this). I know there are probably already threats about these problems but despite my hardest effort i was not able to understand them. Im trying to make it so the view is crosshairs(an actor), and the crosshairs follow your mouse, and you are meant to shoot an actor which is a deer. It would be really nice if somebody could help me.

#Greenfoot shooting code

The following is the entire code of my Character.

#Greenfoot shooting how to

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