<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Getting Started</title><link>https://sourceforge.net/p/novafluxlibrary/wiki/Getting%2520Started/</link><description>Recent changes to Getting Started</description><atom:link href="https://sourceforge.net/p/novafluxlibrary/wiki/Getting%20Started/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 12 Jul 2014 15:17:35 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/novafluxlibrary/wiki/Getting%20Started/feed" rel="self" type="application/rss+xml"/><item><title>Getting Started modified by Ben Bemis</title><link>https://sourceforge.net/p/novafluxlibrary/wiki/Getting%2520Started/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -4,7 +4,7 @@

 GamePanel - this class controls the GameLoop. This is were Thing objects are controlled and rendered along with anything else that the game needs.There is an ArrayList of Thing objects called stuff.Every Thing object should be added to this Array

-Thing - this class is your Core object,Entity or whatever other people are calling it these days I call it a Thing.95% of your game Objects will be a subclass of a Thing because Thing objects basic variables and methods that will be useful for just about every Thing you will create.Thing objects should be added to the stuff ArrayList that they should appear on.
+Thing - this class is your Core object,Entity or whatever other people are calling it these days I call it a Thing.95% of your game Objects will be a subclass of a Thing because Thing objects basic variables and methods that will be useful for just about every Thing you will create.Thing objects should be added to the stuff ArrayList of The GamePanel that they should appear on.

 There are much more useful tools in this game Engine that I will cover later but this is all I have time for at the moment. But I would like to add an example of what the subclass of a Driver should look like first

@@ -52,3 +52,97 @@

 }
 ~~~~~~~
+
+also here is a example of a terribly designed Menu which is a subclass of a GamePanel
+
+~~~~~~~
+import java.awt.Color;
+import java.awt.Graphics;
+import java.awt.Rectangle;
+import java.awt.event.MouseEvent;
+
+import main.LM;
+import runtime.Driver;
+import runtime.GamePanel;
+import tools.Button;
+import tools.ProgressBar;
+
+public class Menu extends GamePanel{
+
+   /**
+    * 
+    */
+   private static final long serialVersionUID = 1L;
+   
+   private Button play,exit;
+   private ProgressBar pb;
+
+   public Menu(Driver game) {
+       super(game);
+       
+       
+       
+       play = new Play();
+       exit = new Exit();
+   }
+   
+   @Override
+   public void Step() {
+       super.Step();
+       
+   }
+   
+   @Override
+   public void paint(Graphics g) {
+       super.paint(g);
+       g.setColor(Color.BLACK);
+       g.fillRect(0, 0, Driver.WIDTH, Driver.HEIGHT);
+       
+       play.render(g);
+       exit.render(g);
+   }
+   
+   @Override
+   public void mouseMoved(MouseEvent e) {
+       super.mouseMoved(e);
+       play.MouseMoved(e);
+       exit.MouseMoved(e);
+   }
+   
+   @Override
+   public void mouseClicked(MouseEvent e) {
+       super.mouseClicked(e);
+       play.MouseClicked(e);
+       exit.MouseClicked(e);
+   }
+   
+   
+   private class Play extends Button{
+
+       public Play() {
+           super("Play", new Rectangle(50, 50, 100, 100), 40);
+           Enabled = false;
+       }
+       
+       @Override
+       public void Clicked() {
+           super.Clicked();
+           
+       }
+       
+   }
+   
+   private class Exit extends Button{
+       public Exit(){
+           super("Exit",new Rectangle(50,200,100,100),40);
+       }
+       
+       @Override
+       public void Clicked() {
+           super.Clicked();
+           game.destroy();
+       }
+   }
+
+}
+~~~~~~~
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ben Bemis</dc:creator><pubDate>Sat, 12 Jul 2014 15:17:35 -0000</pubDate><guid>https://sourceforge.net4f7b69a78785758c04c927c4359313a81e91397d</guid></item><item><title>Getting Started modified by Ben Bemis</title><link>https://sourceforge.net/p/novafluxlibrary/wiki/Getting%2520Started/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -6,10 +6,49 @@

 Thing - this class is your Core object,Entity or whatever other people are calling it these days I call it a Thing.95% of your game Objects will be a subclass of a Thing because Thing objects basic variables and methods that will be useful for just about every Thing you will create.Thing objects should be added to the stuff ArrayList that they should appear on.

+There are much more useful tools in this game Engine that I will cover later but this is all I have time for at the moment. But I would like to add an example of what the subclass of a Driver should look like first
+

 ~~~~~~~
+
+import mapcreator.CreatorApp;
+import panels.Level;
+import panels.Menu;
+import runtime.Driver;
+
+@SuppressWarnings("serial")
 public class Game extends Driver{
+   
+   public Game(){
+       super();
+       initPanel(CurrentPanel = 0);
+       set4_3Ratio( Driver.WIDTH = 1000);
+       setSize(Driver.WIDTH, Driver.HEIGHT);
+   }
+   
+   @Override
+   public void initPanel(int NextPanel) {
+       switch(NextPanel){
+       case 0:
+           panels.add(0, new Menu( (Driver)this) );
+           break;
+       
+       }
+   }
+   
+   public static void main(String[] args){
+       
+       game =  new Game();
+       game.add( panels.get(CurrentPanel) );
+       ( panels.get(CurrentPanel) ).setVisible(true);
+       game.setVisible(true);
+       
+       panels.get(CurrentPanel).startPanel();
+       
+//     new CreatorApp(ref.ID.class);
+   }
+
 }
 ~~~~~~~
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ben Bemis</dc:creator><pubDate>Sat, 12 Jul 2014 15:13:46 -0000</pubDate><guid>https://sourceforge.net575d48350ef068b616834d569a9c312dfc503e18</guid></item><item><title>Getting Started modified by Ben Bemis</title><link>https://sourceforge.net/p/novafluxlibrary/wiki/Getting%2520Started/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Before you get started you need to understand the structure of the Nova Flux Library&lt;/p&gt;
&lt;p&gt;Driver- This class Drives the games. It manages all the GamePanels and the input to them. There is an ArrayList of GamePanels called panels and the int CurrentPanel help get this accomplished.&lt;/p&gt;
&lt;p&gt;GamePanel - this class controls the GameLoop. This is were Thing objects are controlled and rendered along with anything else that the game needs.There is an ArrayList of Thing objects called stuff.Every Thing object should be added to this Array&lt;/p&gt;
&lt;p&gt;Thing - this class is your Core object,Entity or whatever other people are calling it these days I call it a Thing.95% of your game Objects will be a subclass of a Thing because Thing objects basic variables and methods that will be useful for just about every Thing you will create.Thing objects should be added to the stuff ArrayList that they should appear on.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;public&lt;/span&gt; &lt;span class="n"&gt;class&lt;/span&gt; &lt;span class="n"&gt;Game&lt;/span&gt; &lt;span class="n"&gt;extends&lt;/span&gt; &lt;span class="n"&gt;Driver&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ben Bemis</dc:creator><pubDate>Sat, 12 Jul 2014 15:11:40 -0000</pubDate><guid>https://sourceforge.nete3e777716aa27fde7074976b48430cb448baffef</guid></item></channel></rss>