Java-Gaming.org Hi !
Featured games (81)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (119)
games submitted by our members
Games in WIP (576)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Java Game APIs & Engines / Tools Discussion / Re: Changing the SDK source in Xcode on: 2008-02-21 22:31:49
Thanks! I had a feeling that was it  (it looks quite obvious doesnt it...) but I didnt want to redirect any paths without being aware of what I was doing. I'd prefer to use Xcode over netbeans just because it is native but it didnt look like that was gonna work. Now I have been having a different problem that I thought was related but apparently not. I am unable to compile at all. I have heard a rumor that Xcode's compiler doesn't work on OS X 10.5.2, but that sounds just silly doesnt it? At any rate, I successfully changed  the SDK and target but would love to actually compile my code. I know the code is good and compliant because I compiled it on BlueJ. I will say the code is without a main method currently, could that effect it? I was wondering because netbeans wont let me compile single classes either.
2  Java Game APIs & Engines / Tools Discussion / Changing the SDK source in Xcode on: 2008-02-20 22:35:42
I keep getting this error:

1  
generics are not supported in -source 1.3


which is from here in the build.XML:

1  
2  
3  
4  
5  
6  
7  
 
   <target name="compile" depends="init" description="Compile code">
      <mkdir dir="${bin}"/>
      <javac deprecation="on" srcdir="${src}" destdir="${bin}"
            source="1.3" target="1.2"
            includeAntRuntime="no"
            classpathref="lib.path" debug="${compile.debug}">


Does anyone know how to update the SDK so I can use generics? I'm assuming to J2SE 1.4.2.


3  Game Development / Shared Code / Re: 2D Map editor on: 2008-02-20 10:16:45
Ahh... I see. I did know that there was no game architecture, just a map, but I was wondering how you would load it in the long run. I suppose that you'd just do it the same way you load it here, so I can just take a peek at the source myself, though after seeing you explain what the file has in it (and looking myself) I can pretty much guess. Thanks again, this is a wonderful project that I'll definitely be using and probably tweaking.

Quote
This was all thrown together as it was made, and probably needs to be thought out and re-done. Maybe in XML   

I do like the possibility of using XML for something like this, but as for being thrown together, Rome wasn't built in a day...  and a lot of it was torn down to make way for better.

4  Game Development / Newbie & Debugging Questions / Re: Getting Started on: 2008-02-20 09:48:39
Can Anyone explain to me how to include the Slick library in Apple's Xcode tools?

5  Game Development / Shared Code / Re: 2D Map editor on: 2008-02-20 05:52:14
Thanks again for sharing this JuddMan. I did indeed get it open but now I have an entirely different question that may need to be moved to a different thread but here goes. I see that the scenes are saved as .dat files but how does one parse or load a .dat file in Java? I mean I understand XMl maps, but I have no clue what a .dat file even looks like in the raw. How do you plan on displaying/loading the .dat file into your game?
6  Game Development / Shared Code / Re: 2D Map editor on: 2008-02-16 05:27:21
Hey Juddman, I have been trying to do something like this as well. I love the screenshots, but that's all I got. I downloaded the most recent edition. I tried compiling it in Netbeans and it wouldnt let me. It did compile in BlueJ (Yes I am a noob), but then threw a bunch of exceptions when I tried to run the jar file.  Same thing happens when I try and open it from the desktop, only without as specific error info. I'd love to use and customize this app but until I can open it  all is lost.

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
new-host:~XXXXXXXX$ java -jar MapEdit.jar
grass dirt
5 0 tiles/gd1.gif
6 0 tiles/gd2.gif
7 0 tiles/gd3.gif
8 0 tiles/gd4.gif
9 0 tiles/gd5.gif
Exception in thread "main" java.lang.NullPointerException
   at javax.swing.ImageIcon.<init>(ImageIcon.java:138)
   at GraphicsBank.<init>(GraphicsBank.java:68)
   at Scene.loadScene(Scene.java:81)
   at MapEdit.<init>(MapEdit.java:42)
   at MapEdit.main(MapEdit.java:539)






I don't think It matters but Im running Mac OS X 10.5.2
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Longarmx (46 views)
2014-10-17 03:59:02

Norakomi (37 views)
2014-10-16 15:22:06

Norakomi (29 views)
2014-10-16 15:20:20

lcass (32 views)
2014-10-15 16:18:58

TehJavaDev (62 views)
2014-10-14 00:39:48

TehJavaDev (62 views)
2014-10-14 00:35:47

TehJavaDev (52 views)
2014-10-14 00:32:37

BurntPizza (70 views)
2014-10-11 23:24:42

BurntPizza (40 views)
2014-10-11 23:10:45

BurntPizza (82 views)
2014-10-11 22:30:10
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!