This site requires JavaScript, please enable it in your browser!
Greenfoot back
-nic-
-nic- wrote ...

2012/4/13

start menu????!!!!??

-nic- -nic-

2012/4/13

#
im making a arcade vesion of my gladiator game and i would like to imp a start menu that selects what enmys you will face and i have now idea how to do it please help thanks :)
drhorriblejr drhorriblejr

2012/4/13

#
Do you mean like randomly select what enemys?
-nic- -nic-

2012/4/13

#
no there will be a screen and you select what enemys spawn (they only need to spawn one as i have a method to add more) (sorry i put "that selects " implieing that it does it sos)
drhorriblejr drhorriblejr

2012/4/14

#
okay Sorry I'm not too great at programing and I'm not quite sure your question.
drhorriblejr drhorriblejr

2012/4/14

#
okay Sorry I'm not too great at programing and I'm not quite sure your question.
-nic- -nic-

2012/4/14

#
i think i have an idea and im going to loook at it today :)
-nic- -nic-

2012/4/14

#
public void act()
{
if(Greenfoot.mouseClicked(Weak.class)){if(Weakgreen==true){Weakgreen=false;}}
if(Greenfoot.mouseClicked(Weak.class)){if(Weakgreen==false){Weakgreen=true;}}
}

public boolean Weakgreen;


public void addenemy()
{if(Weakgreen==true)
{Weakopponent weakopponent = new Weakopponent();
addObject(weakopponent,600,600);
Weakgreen=false;
}
}
the Weak class is the button but for some reson it doesent work pleas help:)
You need to login to post a reply.