Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (754)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (842)
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:

generics are not supported in -source 1.3

which is from here in the build.XML:

   <target name="compile" depends="init" description="Compile code">
      <mkdir dir="${bin}"/>
      <javac deprecation="on" srcdir="${src}" destdir="${bin}"
            source="1.3" target="1.2"
            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.

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.

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>(
   at GraphicsBank.<init>(
   at Scene.loadScene(
   at MapEdit.<init>(
   at MapEdit.main(

I don't think It matters but Im running Mac OS X 10.5.2
Pages: [1]
DesertCoockie (20 views)
2018-05-13 18:23:11

nelsongames (65 views)
2018-04-24 18:15:36

nelsongames (65 views)
2018-04-24 18:14:32

ivj94 (748 views)
2018-03-24 14:47:39

ivj94 (79 views)
2018-03-24 14:46:31

ivj94 (555 views)
2018-03-24 14:43:53

Solater (94 views)
2018-03-17 05:04:08

nelsongames (168 views)
2018-03-05 17:56:34

Gornova (338 views)
2018-03-02 22:15:33

buddyBro (998 views)
2018-02-28 16:59:18
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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‑
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!