Skip to content

Commit 4a86745

Browse files
committed
add a new application template - rolling the monkey
1 parent 2fc14ed commit 4a86745

File tree

10 files changed

+866
-1
lines changed

10 files changed

+866
-1
lines changed

jme3-templates/src/com/jme3/gde/templates/Bundle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ OpenIDE-Module-Long-Description=\
55
OpenIDE-Module-Name=Project Templates
66
OpenIDE-Module-Short-Description=Provides Project Templates
77
Templates/Project/JME3/BasicGameProject.zip=Basic Game (with Ant)
8-
Templates/Project/JME3/GradleDesktopGameProject.zip=Basic Game (with Gradle)
8+
Templates/Project/JME3/GradleDesktopGameProject.zip=Basic Game (with Gradle)
9+
Templates/Project/JME3/RollingTheMonkeyProject.zip=Rolling The Monkey
Binary file not shown.

jme3-templates/src/com/jme3/gde/templates/layer.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@
2222
<attr name="instantiatingWizardURL" urlvalue="nbresloc:/com/jme3/gde/templates/gradledesktop/GradleDesktopGameDescription.html"/>
2323
<attr name="template" boolvalue="true"/>
2424
</file>
25+
26+
<file name="Rolling the Monkey" url="RollingTheMonkeyProject.zip">
27+
<attr name="SystemFileSystem.icon" urlvalue="nbresloc:/com/jme3/gde/templates/jme-logo.png"/>
28+
<attr name="displayName" bundlevalue="com.jme3.gde.templates.Bundle#Templates/Project/JME3/RollingTheMonkeyProject.zip"/>
29+
<attr name="instantiatingIterator" methodvalue="com.jme3.gde.templates.rollingthemonkey.RollingTheMonkeyWizardIterator.createIterator"/>
30+
<attr name="instantiatingWizardURL" urlvalue="nbresloc:/com/jme3/gde/templates/rollingthemonkey/RollingTheMonkeyDescription.html"/>
31+
<attr name="template" boolvalue="true"/>
32+
</file>
2533

2634
</folder>
2735
</folder>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
LBL_CreateProjectStep=Name and Location
2+
RollingTheMonkeyPanelVisual.browseButton.text=Br&owse...
3+
RollingTheMonkeyPanelVisual.createdFolderLabel.text=Project &Folder:
4+
RollingTheMonkeyPanelVisual.projectNameLabel.text=Project &Name:
5+
RollingTheMonkeyPanelVisual.projectLocationLabel.text=Project &Location:
6+
RollingTheMonkeyPanelVisual.browseButton.actionCommand=BROWSE
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<html>
2+
<head>
3+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4+
<title></title>
5+
</head>
6+
<body>
7+
A simple physics based marble game. Made by SkidRunner (Mark E. Picknell).<br><br>
8+
9+
Here are some ideas of how you can take it further:<br>
10+
1. Add a timer and display the time it takes to pick up all the cubes<br>
11+
2. Replace the texture of the sphere with one of your choosing.<br>
12+
3. Change the physics of the sphere.
13+
</body>
14+
</html>
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
3+
<Form version="1.5" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
4+
<AuxValues>
5+
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="1"/>
6+
<AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
7+
<AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
8+
<AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
9+
<AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="true"/>
10+
<AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
11+
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
12+
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
13+
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="0"/>
14+
</AuxValues>
15+
16+
<Layout>
17+
<DimensionLayout dim="0">
18+
<Group type="103" groupAlignment="0" attributes="0">
19+
<Group type="102" attributes="0">
20+
<EmptySpace min="-2" max="-2" attributes="0"/>
21+
<Group type="103" groupAlignment="0" attributes="0">
22+
<Component id="projectNameLabel" alignment="0" min="-2" max="-2" attributes="0"/>
23+
<Component id="projectLocationLabel" alignment="0" min="-2" max="-2" attributes="0"/>
24+
<Component id="createdFolderLabel" alignment="0" min="-2" max="-2" attributes="0"/>
25+
</Group>
26+
<EmptySpace min="-2" max="-2" attributes="0"/>
27+
<Group type="103" groupAlignment="0" attributes="0">
28+
<Component id="projectNameTextField" alignment="1" pref="191" max="32767" attributes="0"/>
29+
<Component id="projectLocationTextField" alignment="1" pref="191" max="32767" attributes="0"/>
30+
<Component id="createdFolderTextField" alignment="1" pref="191" max="32767" attributes="0"/>
31+
</Group>
32+
<EmptySpace min="-2" max="-2" attributes="0"/>
33+
<Component id="browseButton" min="-2" max="-2" attributes="0"/>
34+
<EmptySpace min="-2" max="-2" attributes="0"/>
35+
</Group>
36+
</Group>
37+
</DimensionLayout>
38+
<DimensionLayout dim="1">
39+
<Group type="103" groupAlignment="0" attributes="0">
40+
<Group type="102" attributes="0">
41+
<EmptySpace max="-2" attributes="0"/>
42+
<Group type="103" groupAlignment="3" attributes="0">
43+
<Component id="projectNameLabel" alignment="3" min="-2" max="-2" attributes="0"/>
44+
<Component id="projectNameTextField" alignment="3" min="-2" max="-2" attributes="0"/>
45+
</Group>
46+
<EmptySpace max="-2" attributes="0"/>
47+
<Group type="103" groupAlignment="3" attributes="0">
48+
<Component id="projectLocationLabel" alignment="3" min="-2" max="-2" attributes="0"/>
49+
<Component id="projectLocationTextField" alignment="3" min="-2" max="-2" attributes="0"/>
50+
<Component id="browseButton" alignment="3" min="-2" max="-2" attributes="0"/>
51+
</Group>
52+
<EmptySpace max="-2" attributes="0"/>
53+
<Group type="103" groupAlignment="3" attributes="0">
54+
<Component id="createdFolderLabel" alignment="3" min="-2" max="-2" attributes="0"/>
55+
<Component id="createdFolderTextField" alignment="3" min="-2" max="-2" attributes="0"/>
56+
</Group>
57+
<EmptySpace pref="213" max="32767" attributes="0"/>
58+
</Group>
59+
</Group>
60+
</DimensionLayout>
61+
</Layout>
62+
<SubComponents>
63+
<Component class="javax.swing.JLabel" name="projectNameLabel">
64+
<Properties>
65+
<Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
66+
<ComponentRef name="projectNameTextField"/>
67+
</Property>
68+
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
69+
<ResourceString bundle="com/jme3/gde/examples/rollingthemonkey/Bundle.properties" key="RollingTheMonkeyPanelVisual.projectNameLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
70+
</Property>
71+
</Properties>
72+
<AuxValues>
73+
<AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
74+
</AuxValues>
75+
</Component>
76+
<Component class="javax.swing.JTextField" name="projectNameTextField">
77+
</Component>
78+
<Component class="javax.swing.JLabel" name="projectLocationLabel">
79+
<Properties>
80+
<Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
81+
<ComponentRef name="projectLocationTextField"/>
82+
</Property>
83+
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
84+
<ResourceString bundle="com/jme3/gde/examples/rollingthemonkey/Bundle.properties" key="RollingTheMonkeyPanelVisual.projectLocationLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
85+
</Property>
86+
</Properties>
87+
<AuxValues>
88+
<AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
89+
</AuxValues>
90+
</Component>
91+
<Component class="javax.swing.JTextField" name="projectLocationTextField">
92+
</Component>
93+
<Component class="javax.swing.JButton" name="browseButton">
94+
<Properties>
95+
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
96+
<ResourceString bundle="com/jme3/gde/examples/rollingthemonkey/Bundle.properties" key="RollingTheMonkeyPanelVisual.browseButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
97+
</Property>
98+
<Property name="actionCommand" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
99+
<ResourceString bundle="com/jme3/gde/examples/rollingthemonkey/Bundle.properties" key="RollingTheMonkeyPanelVisual.browseButton.actionCommand" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
100+
</Property>
101+
</Properties>
102+
<Events>
103+
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="browseButtonActionPerformed"/>
104+
</Events>
105+
</Component>
106+
<Component class="javax.swing.JLabel" name="createdFolderLabel">
107+
<Properties>
108+
<Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
109+
<ComponentRef name="createdFolderTextField"/>
110+
</Property>
111+
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
112+
<ResourceString bundle="com/jme3/gde/examples/rollingthemonkey/Bundle.properties" key="RollingTheMonkeyPanelVisual.createdFolderLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
113+
</Property>
114+
</Properties>
115+
</Component>
116+
<Component class="javax.swing.JTextField" name="createdFolderTextField">
117+
<Properties>
118+
<Property name="editable" type="boolean" value="false"/>
119+
</Properties>
120+
</Component>
121+
</SubComponents>
122+
</Form>

0 commit comments

Comments
 (0)