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  Games Center / WIP games, tools & toy projects / Re: RandomRPG on: 2012-09-19 19:51:16
Nice, but I think that you should let the player move without having the press the arrow keys up and down for each tile.
2  Game Development / Newbie & Debugging Questions / Re: Am I doing this collision check right? on: 2012-09-19 19:17:32

If the type is the type of object, for instance only specific entity types should collide with each other, then this:

1  
2  
3  
4  
if(rectangle1.intersects(rectangle2))
      {
       if(entities.get(i).type.equals(tipo) || tipo == null)
       {


Should be reversed. You should check to see if the types are the same before checking if their rectangles intersect. This probably wont affect the collision, but it will slow the game down, especially if you are checking collisions for a large array of entities.
3  Game Development / Newbie & Debugging Questions / Re: Am I doing this collision check right? on: 2012-09-19 19:13:26
What exactly is bugged?


If the type is the type of object, for instance only specific entity types should collide with each other, then this:

1  
2  
3  
4  
if(rectangle1.intersects(rectangle2))
      {
       if(entities.get(i).type.equals(tipo) || tipo == null)
       {


Should be reversed. You should check to see if the types are the same before checking if their rectangles intersect.
4  Discussions / Miscellaneous Topics / Re: Introducing me. on: 2012-09-16 17:23:10
The command prompt just opens then closes.
5  Discussions / Miscellaneous Topics / Re: Introducing me. on: 2012-09-16 17:06:14
The last two links are the same link. I tried to run LeDodge, but when i run it nothing happens.
6  Game Development / Newbie & Debugging Questions / Weird Graphical Glitches on: 2012-09-09 19:23:16
Trying to run some games with slick, first I noticed it with twl examples and i tried running other slick games and they all do it. I ran Micron, the java rabbit example game, and it did not have any glitches.



7  Discussions / General Discussions / Re: Are we able to achieve this? Felt demotivating... on: 2012-08-29 22:34:13
I just looked at the stats and it says I an 2nd in night owl.. what does that even mean??
8  Java Game APIs & Engines / Engines, Libraries and Tools / Re: The Java Rabbit Engine - a 2D Game Engine written with LWJGL on: 2012-08-28 01:37:19
Also, Are you planning on updating this anytime soon? I want to use it, but I'm afraid it will become outdated because it hasnt been touched since it was released.
9  Game Development / Newbie & Debugging Questions / Re: How to set up slick2d and lwjgl on: 2012-08-28 01:34:20
I'm not really an expert in distribution, and I just stuff everything into one jar using the appropriately-named One-Jar.  Other single-jar deployment solutions are possible with JarSplice, Scar, and no doubt a whole bunch of others.  LWJGL itself has a deployment utility, though I can't recall what it's called (Minecraft uses a hacked version of it).

As for stuff that actually installs things into appdata and whatnot, I'd be looking at installers like NSIS or InstallAnywhere

If you mean this:
http://lwjgl.org/wiki/index.php?title=Deploying_with_the_LWJGL_Applet_Loader_-_Introduction
Thats just for applets. My game will be for pc, mac, and linux.
10  Game Development / Newbie & Debugging Questions / Re: How to set up slick2d and lwjgl on: 2012-08-28 00:57:55
Ok thanks everyone, but i still need to know how should I distribute my game? My most favorable option would be a launcher type program like minecraft, in fact I would like to have the system like minecraft, the launcher, and the folder in appdata containing the jar, and all the libraries and natives. Is that possible? I dont need a fancy launcher, just some jar or exe that will automatically launch the right jar in my appdata folder, with the libraries and natives loading correctly with it.
11  Game Development / Newbie & Debugging Questions / Re: How to set up slick2d and lwjgl on: 2012-08-27 23:53:43
Not really.  It involves using Maven, and if you're using Slick out of bitbucket, the real story is actually a bit more involved than my flippant answer, at least until they start publishing artifacts to a repo (ruben01, you listening?).  There's a guide on the LWJGL wiki, but it's out of date and I don't recommend using the old version of Slick that one uses.

Oh ok. So what should I do for the distributing problem? And also, I would like it to be one download for all os's if possible.
12  Game Development / Newbie & Debugging Questions / Re: How to set up slick2d and lwjgl on: 2012-08-27 23:40:34
Wow.  I copy-paste a pom.xml, change the name of the project, and type "mvn compile".  But for some reason people think that's the more complicated solution.
Can you explain a bit better? I am a complete newby.
13  Game Development / Newbie & Debugging Questions / Re: How to set up slick2d and lwjgl on: 2012-08-27 23:38:14
This is how I was able to set up Slick2D.

1. Create a folder on your desktop and name it whatever you want, for this example I will say it is named "Slick2D_Files".
2. Open up your browser.
3. Go to http://lwjgl.org/, click download on the left, click latest build (first download link), save "lwjgl-2.8.4.zip" to Slick2D_Files.
4. Go to http://slick.cokeandcode.com/, click "Download Full Distribution" on the right and save it to  to Slick2D_Files.
5. Open Eclipse, create a new project, create a folder called "libs", create two folders inside this, one called "natives" and one called "jars".
6. Open up your created folder (the one one the desktop, the "Slick2D_Files", open the lwjgl-2.8.4 folder, open the native folder, select all the contents (the linux, macosx, solaris, and windows folder) and drag and drop them into your natives folder.
7. Go back to "lwjgl-2.8.4" and open the jar folder, select the lwjgl.jar and lwjgl_util.jar (you might not see the extension of .jar but it's there) and drag those into your jars folder.
8. Go back again to your desktop folder and open up the slick folder, open up the lib folder, select the slick.jar and drag it into your lib folder (the one in eclipse).
9. In eclipse, right click your project and go all the way down to properties, once that is open click "Java Build Path" on the left, then click on Libraries tab.
10. Click "Add JARs...", select the three jar files that you have in your jars folder (located inside your lib folder).
11. Click on the little carrot next to "lwjgl.jar - "Your_Project_Name"/lib/jars
12. Click Native, library location:
13. Click edit, click workspace, inside the lib folder open the natives folder and select your OS system.
14. You're done!

I'm going to edit this to make sure it's understandable, if you have any questions please ask.


Thanks! Thats exactly what I needed. I have another question. what about distributing the final game? I would want to have a zip file to download, with all the assets and data and the jar file. But I dont want the users to have to click on the jar file, I would want either a .bat or .exe file to launch the jar itself. How would I set that up with the libraries and such outside of the packaged jar file?
I saw this post here, but I'm not sure why they do that:
http://slick.javaunlimited.net/viewtopic.php?f=27&t=4763#p27188
14  Discussions / General Discussions / Re: Law question on: 2012-08-27 23:12:00
I think as long as you write all the code yourself and make your own sounds, textures and data, and dont use any names they made up, you will be fine.
15  Game Development / Newbie & Debugging Questions / Re: How to set up slick2d and lwjgl on: 2012-08-27 23:09:55
I know I read that on the wiki but what i dont know is how to set up eclipse to work with slick. I dont understand that. What jars do i need and dont need from slick. There are a lot of them. And do I need to download lwjgl too or can i use the one that comes with slick?
16  Game Development / Newbie & Debugging Questions / How to set up slick2d and lwjgl on: 2012-08-27 21:22:23
I have followed a few tutorials, but I dont know how to. I am new to java and eclipse. How do I set up the project? I dont get the whole workspace thing, how do I start from the absolute beginning. I know other programming languages so I am not new to programming. Just java and eclipse.
I posted this on the lwjgl forums. but it seems those forums are much less active than java gaming forums.
17  Java Game APIs & Engines / Engines, Libraries and Tools / Re: The Java Rabbit Engine - a 2D Game Engine written with LWJGL on: 2012-08-26 21:41:59
Hello! Is there any way you can write some documentation on this? This really seems comparable to slick2d and libgdx. I want to use to badly, but I'm not good at learning things by just looking at the source for micron. Once, I learn it, I can help you write lots of tutorials, though!
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 (35 views)
2014-10-17 03:59:02

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

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

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

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

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

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

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

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

BurntPizza (76 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!