Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (494)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
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: Still hardly any games, why entity systems suck, and why 4k is good on: 2011-11-15 12:43:17
These are wise words, sir  Smiley
Don't waste time with too much theory, just get your hands dirty as quick as possible.

rob
2  Games Center / Featured Games / Re: SpellCrafter on: 2011-09-13 12:13:58
hola,

i played it for some minutes. love that kind of genre!

pros:
- character development
- casting / spells
- graphics are fine

suggestions:
- it's very dark and hard to see something
- the light is delayed (needs some seconds to match your position)
- some kind of melee combat

keep it up!

Is it all done in Java2D?

my system:
MacBook Pro, OS X 10.6.8, Java 6
3  Game Development / Shared Code / Re: JavaFX 2.0 port of KevGlass's Space Invaders on: 2011-06-10 06:49:14
Oracle sux...

Quote
5. What operating systems are supported by JavaFX?

JavaFX 2.0 will be fully supported on 32-bit and 64-bit versions of Microsoft Windows XP, Windows Vista, and Windows 7. Early Access versions of JavaFX 2.x for Mac OS and Linux will be made available at a later date, but support for these platforms will not be included as part of the JavaFX 2.0 final release.
(source)

*deadly irony on*
Does cross platform mean we Support Win 32 / 64 bit for XP, Vista and Windows 7?
*deadly irony off*
4  Games Center / Archived Projects / Re: Veggie Patch on: 2011-03-26 16:20:27
Oh nooooo! My little farm vanished the second time... Ally my cabbage is lost again *sniff*  Cry
5  Java Game APIs & Engines / Java 2D / Re: Fast Image Rendering in Slick on: 2011-03-20 21:59:43
A 20x20 grid shouldn't be a problem when your images aren't very big.
Could you post some code, especially the render and update method ( stripped down ) ?
6  Games Center / Contests / Re: Slick2D Game Making Contest! on: 2011-03-11 08:50:35
We got some nice entries. It's not too late to join and get some nice prizes  Cool
7  Game Development / Game Mechanics / Re: Following eyes? on: 2011-02-17 15:52:50
One option would be to calculate the direction from your eyes center point to the mouse cursor in 2D and add a fixed offset to place the eyes.
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
// pseudo-code

Vector2f eyesCenter; // assume it exists
Vector2f mouseLocation; // should be set in an update / mouse event

// later on
Vector2f direction = mouseLocation.subtract(eyesCenter);
direction.normalize();

float eye1X = fixedEye1PositionX + Math.sin(direction.x) * offset;
float eye1Y = fixedEye1PositionY + Math.cos(direction.y) * offset;


It's just written here and not tested, maybe you need to switch sin / cos. But it should give you an implementation advice ;o)
8  Java Game APIs & Engines / Engines, Libraries and Tools / Re: Particle design in Slick on: 2011-02-14 09:18:13
I've seen an implementation where the ParticleSystem was global ( for each kind one PS ). Entities get their Emitter(s) from the ParticleSystem and add them when they die. There should be a copy method in ConfigurableEmitter, so you don't need to load from the XML-File again and again. Works pretty well in Slick. Hope this helps Smiley
9  Game Development / Shared Code / Re: JcgMusic - A Java port of cgMusic on: 2011-02-12 09:46:36
Wow, exactly what a one man army needs Wink
But unfortunately the "math" package is missing, any chance to get the whole source or an executable Jar / Webstart?
10  Games Center / 4K Game Competition - 2011 / Re: 4Kanabalt on: 2010-12-06 22:29:25
2408 :p yes, it's already a game.
now we need some highscores but not into 4k... but who knows what the ol' grandmaster can do?  Grin
11  Games Center / 4K Game Competition - 2011 / Re: 4Kanabalt on: 2010-12-06 19:10:03
Nice, as always  Smiley
It would be cool to control the length of the jump, e.g. hold the mouse button for longer jumps.

p.s. 1222m
12  Discussions / General Discussions / Re: Mac App Store without Java on: 2010-10-21 07:48:19
Quote
As of the release of Java for Mac OS X 10.6 Update 3, the version of Java that is ported by Apple, and that ships with Mac OS X, is deprecated.

This means that the Virtual-Machine from Apple is deprecated not Java itself. Maybe we'll see a VM from Sun / Oracle in the future.
13  Discussions / General Discussions / Re: Mac App Store without Java on: 2010-10-21 07:22:39
3.3.1 Applications may only use public APIs and frameworks included in the default installation of Mac OS X or as bundled with Xcode as provided by Apple, deprecated technologies (such as Java) may not be used.

Where did you read that? I haven't found this statement on Apple's site. But it's no surprise that Apple wants to "force" developers to use Apple's frameworks. Maybe they going to allow third-party authoring tools like Unity and so on. How knows...

Steve for President, anyone? persecutioncomplex
14  Games Center / Archived Projects / Re: early version of Cube-Space on: 2010-08-05 06:42:31
Yay, it runs on my Mac. It's a nice game and graphics are nice too.

The Window runs at full resolution here 1680 x 1050 but it's not switched to fullscreen. I can't see the whole screen and hud is only partial visible (behind my dock).

Anyway, great idea. Keep it up Smiley
15  Games Center / Archived Projects / Re: early version of Cube-Space on: 2010-08-04 06:26:19
Next one:
Quote
"Unsignierter Eintrag in Ressource" means: "Unsigned entry in Resource"

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
com.sun.deploy.net.JARSigningException: Unsignierter Eintrag in Ressource: http://www.gagaplay.com/cube-space/test/lwjgl_macosx.jar gefunden
  at com.sun.javaws.security.SigningInfo.getCommonCodeSignersForJar(SigningInfo.java:403)
   at com.sun.javaws.security.SigningInfo.check(SigningInfo.java:275)
   at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(LaunchDownload.java:1498)
   at com.sun.javaws.LaunchDownload.checkSignedResources(LaunchDownload.java:1268)
   at com.sun.javaws.Launcher.prepareResources(Launcher.java:1222)
   at com.sun.javaws.Launcher.prepareAllResources(Launcher.java:624)
   at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:332)
   at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:232)
   at com.sun.javaws.Launcher.launch(Launcher.java:121)
   at com.sun.javaws.Main.launchApp(Main.java:418)
   at com.sun.javaws.Main.continueInSecureThread(Main.java:255)
   at com.sun.javaws.Main$1.run(Main.java:115)
   at java.lang.Thread.run(Thread.java:637)

16  Games Center / Archived Projects / Re: early version of Cube-Space on: 2010-08-03 19:45:06
Tested on OS X and got this Exception:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
java.io.FileNotFoundException: http://www.gagaplay.com/cube-space/test/lwjgl_osx.jar
  at sun.reflect.GeneratedConstructorAccessor3.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
   at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1368)
   at java.security.AccessController.doPrivileged(Native Method)
   at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1362)
   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1016)
   at com.sun.deploy.net.BasicHttpRequest.doRequest(BasicHttpRequest.java:229)
   at com.sun.deploy.net.BasicHttpRequest.doRequest(BasicHttpRequest.java:113)
   at com.sun.deploy.net.BasicHttpRequest.doGetRequest(BasicHttpRequest.java:78)
   at com.sun.deploy.net.DownloadEngine.actionDownload(DownloadEngine.java:1186)
   at com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1529)
   at com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1507)
   at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1613)
   at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1538)
   at com.sun.deploy.net.DownloadEngine.getResource(DownloadEngine.java:217)
   at com.sun.javaws.LaunchDownload$DownloadTask.call(LaunchDownload.java:1739)
   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
   at java.util.concurrent.FutureTask.run(FutureTask.java:138)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
   at java.lang.Thread.run(Thread.java:637)
Caused by: java.io.FileNotFoundException: http://www.gagaplay.com/cube-space/test/lwjgl_osx.jar
  at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1311)
   at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
   at com.sun.deploy.net.BasicHttpRequest.doRequest(BasicHttpRequest.java:190)
   ... 14 more
17  Games Center / Featured Games / Re: Minecraft on: 2010-07-30 19:17:33
Ya... what you said Hans  Wink In my opinion it's still a long way to 1M per month. But doesn't matter at all, because we need to learn from Notch  Smiley

Anyway congratulations to Notch. You got the right idea in the right time.

He could enter the indie-fund.com team and invest something  Grin
18  Games Center / Featured Games / Re: Minecraft on: 2010-07-30 13:58:07
Erm 1M each month? 1M means 1 million, right? When the counter is true he sold minecraft 39,392 times. Each item costs 9.95 EUR. So that's "only" 391,950.40 EUR in total, around $495,000. But you have to subtract all transaction fees and taxes. In the end you get only ~50%.
19  Games Center / Archived Projects / Re: Greedy Fishing on: 2010-07-26 10:08:53
Runs fine on my MacBook here, no probs.  Smiley
20  Discussions / General Discussions / Re: New post erasure abilities? on: 2010-07-14 15:29:50
+1 for delegates
21  Discussions / Community & Volunteer Projects / Re: Investor, programmer, designer or artist for browser strategy on: 2010-06-29 17:05:02
You can get a VPS from 9€ / month.
22  Discussions / Miscellaneous Topics / Re: I'm Married on: 2010-06-25 08:20:06
Congrats Smiley Enjoy the great time.
23  Game Development / Performance Tuning / Re: This is killing my computer D: (simple task) on: 2010-06-10 13:42:39
iniCycle.class
1  
while (isTrue = true)

should be
1  
while (isTrue == true)

or just
1  
while (isTrue)

24  Game Development / Newbie & Debugging Questions / Re: Using Extend and implement on: 2010-06-03 11:18:08
Mhm, sounds wired.

You use extends for classes, e.g.
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
public class Animal {
  public void doIt() {
      System.out.println("Animal.doIt");
  }
}

public class Dog extends Animal {
  public void woof() {
    System.out.println("Dog.woof()");
  }
}

In general, each class should be in it's own file which is is called ClassName.java ( here Animal.java and Dog.java ).

Interfaces are used for describing general behaviour, for example a Plug-In architecture.
25  Discussions / General Discussions / Re: Type writer. on: 2010-05-25 21:24:02
The easiest way would be a Timer or something like that.

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
// pseudo
String myText = "Hello World";
StringBuilder buffer = new StringBuilder();
Timer timer = new Timer(500);
int index = 0;

timer.addAction(new TimerAction() {
   public void perform() {
      if (buffer.length() < myText.length()) {
         buffer.append(myText.getCharAt(index));
         index += 1;
      }
   }
});

public void update(int deltaInMS) {
   timer.update(deltaInMS);
}

public void render(Graphics2D g) {
   g.drawString(10, 10, buffer.toString());
}

26  Games Center / Archived Projects / Re: ConK a minimalistic space RTS on: 2010-05-08 20:36:47
Thanks

new version online:
- Added some SFX
- Tweaked ship speed a little
27  Games Center / Archived Projects / Re: ConK a minimalistic space RTS on: 2010-05-08 15:29:50
Hi Riven,

thanks for testing  Smiley
I've updated the last version. The planet's speed is now based on it's distance to sun and it's size.
28  Games Center / Archived Projects / ConK a minimalistic space RTS on: 2010-05-07 20:28:55
Hi JGO-Community,

i just put a runnable demo online.

ConK, as the title already mentioned, is a minimalistic space Real-Time-Strategy game. It's inspired by Galcon and Qonk. Currently you (green) play against one computer controlled player (red). Your Goal: ConKer the Galaxy  Wink

Later on i want to implement a multiplayer game-mode, but business before pleasure.

Any comments?

Videos:
First
Second

Screenshot:
Here ( 800x600 )
29  Game Development / Shared Code / Re: Utils essentials on: 2010-04-19 10:00:09
Creates a MD5-Hash for the given String
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
   public static final String md5HashFromString(String text) {
      try {
         MessageDigest md5 = MessageDigest.getInstance("MD5");
         md5.reset();
         md5.update(text.getBytes("UTF-8"));
         byte[] result = md5.digest();
         
         StringBuilder sb = new StringBuilder();
         
         for (int i = 0; i < result.length; i += 1) {
            String value = Integer.toHexString(0xFF & result[i]);
            if (value.length() < 2) {
               value = "0" + value;
            }
            sb.append(value);
         }
         
         return sb.toString();
         
      } catch (Exception e) {
         e.printStackTrace();
      }
     
      return null;
   }
30  Game Development / Newbie & Debugging Questions / Re: some questions on: 2010-04-19 09:07:42
1.) Class (or Enum should be possible in Java 1.5+)
2.) No operator overloading available in Java, use function-calls like add, sub, cross and so on and return self for chaining
3.) In Java you have no Pointer, all Object-Parameters are submitted "by ref"
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.

Dwinin (21 views)
2014-09-12 09:08:26

Norakomi (55 views)
2014-09-10 13:57:51

TehJavaDev (66 views)
2014-09-10 06:39:09

Tekkerue (33 views)
2014-09-09 02:24:56

mitcheeb (54 views)
2014-09-08 06:06:29

BurntPizza (38 views)
2014-09-07 01:13:42

Longarmx (24 views)
2014-09-07 01:12:14

Longarmx (30 views)
2014-09-07 01:11:22

Longarmx (28 views)
2014-09-07 01:10:19

mitcheeb (37 views)
2014-09-04 23:08:59
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!