Presentation is loading. Please wait.

Presentation is loading. Please wait.

Java Game Engine Setting It Up.

Similar presentations


Presentation on theme: "Java Game Engine Setting It Up."— Presentation transcript:

1 Java Game Engine Setting It Up

2 Intro Java, at its core, is not friendly when it comes to making games. The process of doing something simple like drawing an image on the screen is a complicated process. Game development is a fantastic tool to use when really trying to gain a firm grasp on programming. It forces you to apply what you know, problem solve and learn new things every day. However, we do not want to bog you down learning the really complicated stuff and slowing down your creativity. As such, we have built a gaming engine that will allow you to do all of the common game development things with relative ease. Things like: Shapes, Images, Animation, Sounds, etc.

3 Pre-Built Game Project
Below this presentation on the website you will see a download link for Pre-Built Game Project Download this file into your ICS2 folder, the file’s name is Game.zip In order to use this file, you will need to unzip it Select the Game.zip file by single clicking it At Home: Right-click the file and select Extract All At School: FileExtract This produces a folder named Game

4 Pre-Built Game Project
The Game folder is to act as a template for all of your future games When you are ready to create a new game: Copy the Game folder (Select it and hit Ctrl-C) Go into your Workspace folder (should be called Programming) Paste the Game folder (Ctrl-V) Rename the folder to something descriptive of your new project If this is to be one of your Programming Assignments, first delete the folder you created at the beginning of the semester, e.g. PASS3, then rename Game to PASS3 Open Eclipse and Right-click in the Package Explorer on the left side Select Import…GeneralExisting Projects into Workspace Click Next Browse to your newly named folder Click OK then Finish

5 Pre-Built Game Project
Your project is ready to go. To start working, click the arrow beside your project folder in the Package Explorer to expand its files Do the same for the src and (default package) folders Double-click Main.java to open it There is a lot of code here to start, when you are ready, the majority of your code will go into the Update() and Draw() code blocks (more on this later) HAVE FUN!


Download ppt "Java Game Engine Setting It Up."

Similar presentations


Ads by Google