Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I had the same issues like you. </p> <p>Since i gave up with eclipse, i tried with Netbeans, and now i'm programming and testing the library.</p> <p>Quickly, this is what i did:</p> <ol> <li>Get the Netbeans+Java SE combo from here: <a href="http://www.oracle.com/technetwork/java/javase/downloads/jdk-netbeans-jsp-142931.html" rel="nofollow">http://www.oracle.com/technetwork/java/javase/downloads/jdk-netbeans-jsp-142931.html</a> and install it</li> <li>Launch Netbeans, go <strong>to File > New Project > Maven > Project from Archetype > Next</strong></li> <li>In the next dialog, push the <strong>Add</strong> button</li> <li>A new window will pop-up. Switch to your web browser</li> <li>Go to <a href="http://search.maven.org/" rel="nofollow">http://search.maven.org/</a> and in the search box type <strong>playN</strong></li> <li>In the resulting list, look for <strong>playn-archetype</strong> in the <strong>ArtifactID</strong> column and click it</li> <li>Remember that last window on Netbeans? Return to the IDE and start filling the Group Id, Artifact Id and Version fields as they appear on the result list of playn-archetype. For example, the Group Id is com.googlecode.playn, Artifact Id is playn-archetype and the latest Version is 1.2 at this moment</li> <li>Leave the Repository field in blank and click <strong>Ok</strong></li> <li>Now select your recently added archetype from the list and click <strong>Next</strong></li> <li>On the following dialog, you can left the fields or change them of you want. <strong>BUT</strong>, in the <em>Additional Creation Properties</em> section, make sure that you enter a value in the <strong>JavaGameClassName</strong> field. This will be the name of your main class, so make sure to fill it or after clicking Finish it will mark an error and you'll have to start over again.</li> <li>Click <strong>Finish</strong> and Netbeans will start downloading a bunch of stuff, so be patient and wait until it's done. Great! Now you have a working project of PlayN ready to run. Just look for <em>[your-project-name] Java</em> folder in the Project Navigator, right click on it and select <strong>Run</strong></li> <li>If a error related to android appears, you need to go to <em>[your-project-name] Metaproject > Project Files</em> and open the <strong>pom.xml</strong> file. Open it and in the <em>modules</em> section, comment or delete the <code>&lt;module&gt;android&lt;/module&gt;</code> line, just for now to quiclky test your project.</li> <li>Remember, the Core folder is where you'll programm the game and the others are the launchers for each platform(Java, Android, iOS...) </li> </ol> <p>Hope that helps :)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload