Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (489)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (553)
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] 2
1  Game Development / Newbie & Debugging Questions / Re: Trouble finding Main Method on other computers on: 2013-08-27 08:34:54
Thanks guys, i'll try the maze thing nerb, and CodeHead That makes a lot of sense, can i compile this for java 6 without reinstalling java? or do i need to install an older version of java?

Is it possible that it's because i made it with a 64 bit machine and their running 32 bit?
2  Game Development / Newbie & Debugging Questions / Trouble finding Main Method on other computers on: 2013-08-27 05:50:23
So i created an entry for the latest LD but i found out half of the people who try it can't even play it, i tested it on another machine and i got an error about it not being able to find the "main class: maze.maze."

Here's a public link to my latest attempt at getting it to work. I always tend to have a lot of trouble with exporting these jar's.

executable Jar:
https://dl.dropboxusercontent.com/u/11280780/Maze.zip

All of my code/Resources non-jar files:
https://dl.dropboxusercontent.com/u/11280780/maze%20game.zip

i'd appreciate any help on this i've been googling for hours to no avail.
3  Game Development / Game Play & Game Design / Re: 2D Sidescroller design questions on: 2011-09-26 23:57:32
the project in this book is to create a mario like sidescroller. http://www.brackeen.com/javagamebook/#get


I really like the book but it's a little over my head.
4  Games Center / Showcase / Re: JAVA ACT ANGELS & DEMONS Demo on: 2011-09-26 08:09:30
whao.. so the background has clouds drawn on it.. and you have clouds as a part of the environment? that doesn't make a whole lot of sense..
5  Discussions / General Discussions / Re: Go on, ask me anything. on: 2011-09-24 09:11:52
I just want to thank you for answering all of our questions, damn nice of you.
6  Discussions / General Discussions / Re: Go on, ask me anything. on: 2011-09-21 17:37:27
If you were going to start again from the ground up. What would you do?  Like programming language, first game,  business strategy. Assuming no prior bias towards java already. Would you use java anyway? assuming you hadn't already had years of experience with it?

I've noticed you mention downloadable games aren't really the way to go so i've grown curious.
7  Discussions / Miscellaneous Topics / Re: Rock stars, banning and cleaning up messages... on: 2011-09-07 15:36:31
He didn't seem like a bad guy, but i get the feeling he was a troll, or he just wasn't all there. I catch people who act like him on forums for years, and i never quite understood it.. i think they're serious...

Anyway i don't think there's anything wrong with your avatar teletubo. I don't see how a picture of a real life person who's just standing there could be considered offensive.  it's not even implying anything, MJ was around kids all the time, he had a theme park right? Anything anyone gets out of it is their own imagination.
8  Discussions / Community & Volunteer Projects / Re: Developers for a Java game wanted. on: 2011-09-06 14:32:05
10 years?  Sad Is this common in game dev? The idea of working on something for 10 years seems kinda scary.
9  Java Game APIs & Engines / Java Sound & OpenAL / Re: Java Theremin on: 2011-09-06 03:40:33
*cough*bartleby*cough*
10  Discussions / General Discussions / Re: Brainstorming the future on: 2011-09-02 03:13:30
Geez i felt bad for taking so long to reply when i first saw the first page.

the site needs strippers and blackjack
11  Games Center / Archived Projects / Re: The Cell - Ludum Dare 21 - 48 Hours on: 2011-08-21 23:40:48
looks good kev! nice job!
12  Discussions / Miscellaneous Topics / Re: Coke and Code on: 2011-08-14 21:38:53
The site looks very cool! Although i'd suggest making the links a bit darker, they're kinda hard to read right now.

13  Discussions / General Discussions / Re: Is Java the right way for me to go? on: 2011-08-12 07:13:36
i started what is basically a space invaders clone at the beginning of the year.. still  not done..Given i didn't work on it constantly but i got stuck for weeks on stupid stuff too.

Anyway, i get the wanting to be ambitious, but it's pretty nice having a finished project to show off too. And when you finish your game you can force all your friends and family to sit down and play it. so that's always fun.
14  Discussions / Miscellaneous Topics / Re: Indie Game Resources on: 2011-08-07 23:03:09
cool link thx kev
15  Discussions / Suggestions / Re: Favicon on: 2011-07-26 01:21:03
yaaay it finally worked for me! sometimes these things take awhile to kick in.
16  Discussions / Business and Project Management Discussions / Re: how good is your German? on: 2011-07-23 08:09:34
You could always try Rosetta stone if your were really interested.. That thing is amazing.
17  Discussions / Miscellaneous Topics / Re: Who Am I? on: 2011-07-22 02:47:53
Well.. i'm pretty sure i didn't post a lot of the things on there.. so i'm just going to assume my account learned how to post without me having to be on. Smiley i can get more stuff done now!

18  Discussions / General Discussions / Re: New feature: moderators on: 2011-07-20 18:54:25
ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn
19  Game Development / Newbie & Debugging Questions / Re: Rotating a shape on: 2011-07-17 10:08:58
affine transformations?
20  Game Development / Newbie & Debugging Questions / Re: html question on: 2011-07-14 19:05:45
you could probably use css with classes and <p>

but why don't you want to use <div>?
21  Discussions / Miscellaneous Topics / Re: Google Plus or Google+ on: 2011-07-09 21:55:40
anyone remember the south-park where Cartman buys a theme-park and doesn't let anyone in? When in doubt just check to see if it worked in a cartoon first.
22  Java Game APIs & Engines / Tools Discussion / Re: Exporting Jar in eclipse with images on: 2011-06-22 14:50:14
I ended up switching the images back to the imageicon deally. I don't know if that's really the best way to do it but the collision detection wasn't working with the url.. and i am still learning so i didn't want to make this more complicated then it had to be in the beginning.

Oh i think i just get what was up with the dot. it wasn't looking inside the jar it was looking in the operating system right? Ok i get that.

oh and if anyone's interested here's the beginning of my space invader wannabe game http://davediel.com/chris/projects/Java/Cattack.jar It's not impressive or even at demo status yet but you can shoot things and they will disappear Smiley so i'm happy about it.

23  Java Game APIs & Engines / Tools Discussion / Re: Exporting Jar in eclipse with images on: 2011-06-22 05:12:28
appreciate the feedback guys!

i thought the '.' was for referring to the directory i was in, not the directory prior to the one i was in. *shrug

So if i understand this right, the URL is important for referring to the images within the jar file?
24  Java Game APIs & Engines / Tools Discussion / Exporting Jar in eclipse with images on: 2011-06-21 19:59:10
Hello! i'm still learning the ways of Java and eclipse, i've started creating a space invaders clone(gotta start somewhere right?) But the game isn't really where my problem is. I've spent the last few days trying to export to a jar file. And i finally managed it but then i hit a wall with my code within the jar trying to find the pictures.

Which is really where i'm still kind of confused. I found a site http://ubuntuforums.org/showthread.php?t=711238 that helped me out and now the code works but i don't know why it works and that's bothering me more then anything.

i've imported the images into eclipse to help automate the export into a jar file. I was able to manually copy the pictures into the jar and it worked before but i'd rather eclipse just handled it for me.

Anyway in the jar the files are under a folder called /Images/ and here's the code i was using:

1  
2  
3  
4  
5  
6  
   private Image image;

   private String craft = "./Images/cannon.png";

   ImageIcon ii = new ImageIcon(this.getClass().getResource(craft));
   image = ii.getImage();


courtesy of: http://zetcode.com/tutorials/javagamestutorial/

Now i'm using

1  
2  
   java.net.URL imgURL = getClass().getResource("/Images/cannon.png");
   image = Toolkit.getDefaultToolkit().getImage(imgURL);


Now the code automagically works but i'm not sure why. I was wondering if someone could explain the differences between these two? Do i have to use the second one? is it more efficient? the path to the images looks like it was exactly the same so i'm not sure why the other one didn't work. I noticed i needed to import java.awt.Toolkit for this one for obvious reasons. But i'm not sure what's up with java.net.URL

Anyway i'd apreciate a point in the right direction. There's so much code out there and so many ways to do things that i'm not all that sure whether i'm heading in the right direction or not. This could be a horribly inefficient way of doing it for all i know.
25  Java Game APIs & Engines / Java 2D / Re: BufferStrategy doesn't work in Applet on: 2011-06-09 04:51:45
I find anything more complex then the Swing timer to be a bit above my head at this point. But this site has been extremely useful to me. If you can't find better advice perhaps the Util timer might be the way to go?

http://zetcode.com/tutorials/javagamestutorial/animation/

I've been reading this Java 1.4 Game Programming book and they state that the Swing library was meant to be a replacement for the AWT library. Now i can't confirm the validity of this claim, but i am curious. Why wouldn't you want to use the Swing Library?

26  Games Center / Archived Projects / Re: Checkers board game - any feedback? on: 2011-05-31 22:54:11
why not create an advanced interface? that way it doesn't clutter things or scare off people.
27  Discussions / General Discussions / Re: Cellphones for java development on: 2011-05-27 01:32:39
Umm, is there anything different about a developer phone compared to any other phone? i was under the impression you could develop a java game then throw it on any phone and it would work..
28  Discussions / General Discussions / Re: Plagiarism in games (Tetris and so on) on: 2011-05-24 20:37:31
Thx, that wouldn't really be a problem then. i don't have any interest in the content.  Just the game mechanics.

Maybe i'll look up how to make a d20 game, they might idiot proof it for me. I know i should just read the legal documentation, but i have trouble finding this stuff and it all looks like gibberish to me. Besides the money i have a hard time seeing why anyone wants to go into the legal profession.
29  Discussions / General Discussions / Re: Plagiarism in games (Tetris and so on) on: 2011-05-24 09:41:26
i've always kind of wanted to make a rogue-like using d&d dice rolls and character sheets. would that be possible? running from the 3.5 rules?  just curious for future reference, it seems cooler then making monsters do like 5 damage or something. Everything will kind of be "pre-balanced" that way.
30  Game Development / Newbie & Debugging Questions / Re: How can you do this? on: 2011-05-18 19:08:27
nah i wasn't talking about a text box. I just assumed if you could do it in C you could do it in java. used to clear screen with a system call.
 
and the whole concept seemed simple enough to be possible in java.
Pages: [1] 2
 

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

The first screenshot will be displayed as a thumbnail.

TehJavaDev (18 views)
2014-08-28 18:26:30

CopyableCougar4 (26 views)
2014-08-22 19:31:30

atombrot (39 views)
2014-08-19 09:29:53

Tekkerue (36 views)
2014-08-16 06:45:27

Tekkerue (33 views)
2014-08-16 06:22:17

Tekkerue (22 views)
2014-08-16 06:20:21

Tekkerue (33 views)
2014-08-16 06:12:11

Rayexar (70 views)
2014-08-11 02:49:23

BurntPizza (47 views)
2014-08-09 21:09:32

BurntPizza (37 views)
2014-08-08 02:01:56
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

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!