Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (775)
Games in Android Showcase (230)
games submitted by our members
Games in WIP (856)
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  Discussions / General Discussions / Re: project startup on: 2008-03-03 00:13:18
Sure that sounds like a great idea Smiley

    * how should payment happen? Paypal? Bank-transfer? Game-developer contacting artist and agreeing their own method of payment?
I would say, the more options, the better it is. Paypal is easy, fast and handles international transfers. Contacting the artist to discuss the pricing is attractive for both sides. Perhaps the artist should be able to choose if he wants that. And bank-transfers, sure, why not Smiley

    * what stuff would you like to be able to search for? are there some of the above mentioned search criterias you don't need? why?
You already mentioned the interesting search criterias. Additionally something like what game genre that sound / music would fit in (in the eyes of the artist), like Space, Fantasy or whatever...

    * and of course: do you think you'd use such a tool like
Definitely Smiley

Again, great idea, can't wait to see that coming Smiley
2  Game Development / Newbie & Debugging Questions / Re: AWT stuff is not reliable on: 2008-03-01 03:32:00
Sometimes reading this forum is much more fun than the daily wtf. Great Smiley
3  Game Development / Game Mechanics / Re: Viagra ? on: 2008-02-26 23:03:30
4  Games Center / 4K Game Competition - 2008 / Re: FkConflict on: 2008-02-26 12:32:30
Yeah! The world is mine! Wink

Nice game, really. Simple, yet effective Smiley
5  Java Game APIs & Engines / Java 2D / Re: Java2D & Native Buffers on: 2008-02-25 12:01:13
Quote from: Frederick
public class DataBufferDirectByte extends DataBuffer

If I remember correctly, instanceof checks the whole inheritance tree. So you could just write "extends DataBufferByte". It's not clean, but hey it should work Wink
6  Game Development / Newbie & Debugging Questions / Re: parsing a url from a string on: 2008-02-25 11:54:01
Some simple solutions:

1) Use regular expressions. See Formatter class in the javadoc for examples and explanation.

2) Use the string.find method to search for keywords like http:// or www.. You will get the index of that keyword in the string. From there search for the next whitespace and you're done.

I'd suggest you try and if you need further help post your code here Smiley
7  Games Center / Archived Projects / Re: Caverns of Underkeep - Applet Roguelike on: 2008-02-23 21:56:19
IT WAS YOU!!!!!!!!:D

damn, you got me... :p
8  Games Center / Archived Projects / Re: Caverns of Underkeep - Applet Roguelike on: 2008-02-23 16:50:00
Yeah, someone bought my domain before I could re-register it (and I swear I never got a notification of expiration) anyway the game is back up at a new domain.

That's weird...
9  Games Center / Archived Projects / Re: Caverns of Underkeep - Applet Roguelike on: 2008-02-11 12:03:15
After the applet loaded it remains white with the following error.

Exception in thread "Thread-8" java.lang.NullPointerException
   at sSoundEngine.stopHeartBeat(

This is under Ubuntu Linux 7.10
10  Java Game APIs & Engines / JInput / Re: JXInput quick help on: 2008-01-31 21:58:03
It's always nice to show how you helped yourself, it may be useful for other people some time...
11  Games Center / Archived Projects / Re: Khumeia on: 2008-01-30 13:33:38
Physics was soooooo difficult to do.... you take Phys2d and... finish  Wink

12  Games Center / Archived Projects / Re: Khumeia on: 2008-01-30 00:35:59
If some Linux user can say me if the music work for them, it would be great (or if anyone had the same problem)

Running on Ubuntu Linux 7.10 and sound just works fine Smiley
By the way, nice "physics" ^^
13  Games Center / Archived Projects / Re: Sparx WIP on: 2008-01-27 11:30:04
Yeah, now it works. It is really fun to play (and the controls feel good especially with a touchpad).

Every 2 seconds or so the game will begin to hang and continue after a few hundred milliseconds. My JVM process uses 100% cpu all the time. Get's my machine cooking ^^
2.0Ghz Dual Core, 1G RAM, ATI X1600, Ubuntu Linux 7.10
14  Game Development / Game Play & Game Design / Re: Looking for team of programmers on: 2008-01-27 11:19:39
Is there some place where one can get more information about the game?
15  Games Center / Archived Projects / Re: Warcars on: 2008-01-26 22:33:38
I didn't say that because of the .rar format, mostly every OS can handle that (but hey, there are free alternatives, like zip and tar Smiley ). If you want people to test your application, then a single click (webstart) is much more comfortable than downloading, extracting and running it manually. IMHO webstart is a big advantage of java, that most other "languages" don't have, so why not use it? You will find a good tutorial on the sun webpage (google: java webstart tutorial). Yes, you'll need a webspace, but there are many free webspace providers (yeah, google again ^^). Looking forward to a see webstart version Smiley
16  Games Center / Archived Projects / Re: Sparx WIP on: 2008-01-26 18:12:25
Same problem here: Pressing S doesn't do anything. And yes, the applet has focus.
17  Games Center / Archived Projects / Re: Warcars on: 2008-01-26 17:58:45
Could you provide a webstart-version?  Smiley
18  Game Development / Newbie & Debugging Questions / Re: my java world project on: 2008-01-24 13:41:46
If I get you right, you want to dynamicly load java-code / classes at runtime? I'm not into that, but I think I can give you some pointers: The java ClassLoader provides methods for loading classes at runtime. After loading a class you use a concept called reflection to access members and methods of the loaded class. I'd suggest to write an interface that all objects implement, so you can load them, cast them to that interface and call the interface-methods to move / place / whatever the object.

If I got you wrong and you just want to load objects with different properties (not behaviour), then you should just write conifg-files for those objects and load these.

What you also could do is to make a regular backup of the complete world state. To introduce new objects you would just save the world-state, recompile and restart your project, and reload the world-state again. Even if you don't want to introduce objects this way, a regular backup is important, as you don't want to loose the evolution of your 24/7 world just because of a bug in the code or something Smiley
19  Java Game APIs & Engines / JOGL Development / Re: Library doesn't want to load... on: 2008-01-24 00:57:45
The java.library.path property cannot be modified at runtime (okay, it can, but it has no effect). The virtual machine has to know the library path at startup (I'm not sure why, I think it has something to do with native linking). You can use the -D option of java to set it.

java -Djava.library.path=/path/to/lib FooClass

Hope that helps Smiley
20  Games Center / 4K Game Competition - 2008 / Re: 4KJO (4K Java Optimiser) version 3 released on: 2008-01-23 13:31:09
Sounds nice, I'll give it a try Smiley
21  Game Development / Networking & Multiplayer / Re: How to minimise internet lag/latency? on: 2008-01-21 11:46:25
So do most twitch games still use UDP? I was under the impression that UDP was on the way out?

A quick google on "game-ports" or something like that reveals that most games today use UDP (often in combination with TCP). I'd also go for UDP in your case, like bleb said Smiley
22  Games Center / Archived Projects / Re: pushinGL on: 2008-01-20 23:37:57
You computer does not support OpenGL via LWJGL
Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path

I happen to know my computer perfectly supports 'OpenGL via LWJGL' and the error-message basicly says you didn't specify the path to the libraries properly.

Same here on Ubuntu 7.10 :p
23  Game Development / Game Play & Game Design / Re: Player movement on uneven terrain / in polygonal environment on: 2008-01-20 17:54:58
(attachements don't work at the moment, so here we go:

Surely it is trivial to know which box should be associated with which foot?

I attached an example. Look at number 1: it's obvious that the right foot must be raised, but how to recognize that in the program?

An approach I find works well is to store what geometry you're currently on, and an offset within it (so if you're doing a platformer, that would be a 2d line segment and a distance along it). Movement then involves increasing or decreasing the distance along the surface, and if you go off one of the edges either finding another edge to walk onto or starting to fall under gravity.

That also sounds like a nice approach. But it seems like it brings further difficulties, like in example 2: the player walks on the ground (one polygon) and before him there is a small stone (another polygon). Any ideas about that?

By the way, thanks for the interesting posts guys Smiley
24  Game Development / Newbie & Debugging Questions / Re: JPanel hiden behind JFrame decoration on: 2008-01-20 16:08:12
Somewhere (but I really don't remember where) the documentation says that the insets are not known until the frame was one time visible on the screen. So you have to do frame.setVisible(true) before frame.getInsets() works.
25  Game Development / Shared Code / Re: 2D Map editor on: 2008-01-20 11:58:32
The colorization of the scene looks really nice, especially the night-time Smiley
26  Game Development / Game Play & Game Design / Re: Player movement on uneven terrain / in polygonal environment on: 2008-01-20 11:55:44
If your player is side-on you could use two boxes for him (full-height, side by side) which see-saw up and down as his feet move, so if his front foot is raised the front box is raised also. Then follow your approach as before.

That sounds interesting, but this comes with the problem to find out which foot actually must be raised. Seems not that easy to me, any ideas?

if the resulting Rectangle of the intersect isn't empty, then a collision event must be thrown to an extra function that pushes back the Player model to not-intersecting bounds.  Cheesy

Sorry, I don't get it: what do you mean by "the resulting Rectangle"?
27  Game Development / Newbie & Debugging Questions / Re: JPanel hiden behind JFrame decoration on: 2008-01-20 11:43:43
should be replaced by getContentPane().add(gamePanel, BorderLayout.CENTER), indeed the frame contentpane layout is overlapping the contentpane...

Sorry, but I have to disagree:

Quote from: javadoc 1.5 JFrame
As a conveniance add and its variants, remove and setLayout have been overridden to forward to the contentPane as necessary. This means you can write:
And the child will be added to the contentPane
28  Game Development / Newbie & Debugging Questions / Re: JPanel hiden behind JFrame decoration on: 2008-01-19 21:16:30
What I do is to set the size of the panel to (widht, height) and the size of the frame to (width + insets.left + insets.right, height + + insets.bottom). If you want you can do it the otherway round (setting the frame to (width, height) and subtracting the frame-insets from the panel-size). Hope that helps Smiley
29  Game Development / Game Play & Game Design / Player movement on uneven terrain / in polygonal environment on: 2008-01-19 21:02:53
This is in my head for the last couple of days now:
Imagine a world (2D, sideview), where everything is made out of polygons. One of that polygons is the player character (human). Now I want to move the player. I'm thinking in 2D here, but the problem must be quite common in 3D worlds. How do modern games do the movement of the player in such an environment? Does anyone know?
Googling unfortunately didn't help...

My current approach is:
1) move the player according to key input
2) do collision detection
3) if a collision occured, shift the player up, until no collision is detected anymore
4) if the player was shifted about max-length and there still is a collision, there seems to be a real collision with a wall or something, reset player position

There are problems comming with that, one of them is:
The player polygon is a box. Standing on a line going up 45 degrees or something like that, it looks like one of the players feet is floating in the air. I could just move the player a bit down so that both feet are on the ground, but then I'd have to handle the collisions coming with that.

Am I doing something terrible wrong? Is there a "standard" approach for moving in polygonal environments? Any hints and thoughts are highly appreciated Smiley
30  Game Development / Newbie & Debugging Questions / Re: Getting Started on: 2008-01-19 00:53:37
If you don't want to modify the source, you can just use the slick-jar-file. Place it somewhere in your project folder and add it in eclipse via project-properties -> java build-path -> libraries -> add.
Pages: [1] 2
hadezbladez (45 views)
2018-11-16 13:46:03

hadezbladez (49 views)
2018-11-16 13:41:33

hadezbladez (26 views)
2018-11-16 13:35:35

hadezbladez (20 views)
2018-11-16 13:32:03

EgonOlsen (1897 views)
2018-06-10 19:43:48

EgonOlsen (1936 views)
2018-06-10 19:43:44

EgonOlsen (1286 views)
2018-06-10 19:43:20

DesertCoockie (1717 views)
2018-05-13 18:23:11

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

nelsongames (2041 views)
2018-04-24 18:14:32
Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20

Deployment and Packaging
by philfrei
2018-08-19 23:54:46 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!