![]() It would be best to give it to an actor and add the actor into the world so removing the actor will remove the message (you really do not want to mess with the background image of the world). It is not being given to an actor to be added into the world or drawn on the background of the world - so, it will not show yet. Well, so far, the 'showMessage' method is only creating an image. thanks in advance for any help i can receive! once i figure these 2 out i will be almost done with my scenario. essentially they are hiding behind the tower when i drop them. The actors drag over the other actors, subclasses under the computer parts actor, they go over them but when they go over an actor (tower) which is a subclass of actor not computerparts class they go behind. World.addObject(this, mi.getX(), mi.getY()) one is can an actor be in the world 3 (we can call it for now) and react to a mouse hover by displaying a text box detailing what it is, then in the next world (4) it moves when the mouse is dragged? the other is when i move the computer components when the mouse using after each part has been dragged i want a congratz message to display when the actor that was dragged touches the tower. The final 2 are the more important one i want to use to introduce the main computer components and the other to drag and drop them over to a computer tower. 1 that is really just an intro, 1 that i will use to explain whats going on with a black screen and text boxes. i have since altered it from a game to more of a guided tutorial. You should then be presented with the installer's user interface, which will guide you through the installation process.This is a "game" although realizing in my class we are not learning enough to complete my vision. Likewise, you will need to specify the correct path to the installer (i.e. You might need to specify the full path to the 'java' executable (for example, if you have installed the Oracle JDK in '/opt/jdk1.8.0_66', replace 'java' in the above command with '/opt/jdk1.8.0_66/bin/java'). jar file by double-clicking it in a file manager if not, you should open a terminal and enter the command: You may be able to run the Greenfoot installer. ![]() You will need to install a suitable Java JDK separately (since Greenfoot 3.0, Greenfoot requires JDK 8 and uses JavaFX) - it is recommend that you use the Oracle JDK, which you can download from Oracle's "Java for developers" download web page (where you can also find installation instructions). Gdebi b Other systemsĭownload the "Pure Java" Greenfoot installer (which is a '.jar' file). Having performed either of the above steps, install the b package that you downloaded using the gdebi command: To install Greenfoot using OpenJDK, it may be necessary to add the backports section to your package sources list. See the instructions for java-package here. You then use the java-package tool to create a Debian package, which you can install using standard Debian package management utilities. To install Greenfoot using the Oracle JDK, it is necessary to first install the Oracle JDK as a Debian package by creating the package from an Oracle JDK bundle downloaded from the Oracle website. We recommend use of the Oracle JDK for the best experience. Greenfoot 3 can be used with either OpenJDK or the Oracle JDK. See this launchpad page for details on how to install the Oracle JDK on Ubuntu. Although Greenfoot may work with OpenJDK 8, it is strongly recommended that you install Oracle's JDK 8 instead. Installing Greenfoot this way normally results additionally in the installation of OpenJDK 8. Ubuntuĭownload the file and open it to launch the Ubuntu software manager. There you can find previous Greenfoot versions that run on older Mac OS systems. ![]() pre 10.8.3), go to the 'Old versions' link further down on the downloads page. If your version of Mac OS X is too old to run the current version (i.e. You can move the Greenfoot application bundle into your "Application" folder if you wish. Mac OS Xĭownload the zip file and extract it. Note that if you already have a previous version of Greenfoot installed, you will need to uninstall it first - go to the Control Panel and then "Programs and Features" to uninstall Greenfoot.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |