Show Posts
|
|
Pages: [1] 2
|
|
2
|
Games Center / Featured Games / Re: SpellCrafter
|
on: 2011-09-13 14: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 08:49:14
|
Oracle sux... 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*
|
|
|
|
|
7
|
Game Development / Game Mechanics / Re: Following eyes?
|
on: 2011-02-17 16: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
| Vector2f eyesCenter; Vector2f mouseLocation; 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 10: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 
|
|
|
|
|
12
|
Discussions / General Discussions / Re: Mac App Store without Java
|
on: 2010-10-21 09:48:19
|
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 09: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? 
|
|
|
|
|
14
|
Games Center / Archived Projects / Re: early version of Cube-Space
|
on: 2010-08-05 08: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 
|
|
|
|
|
15
|
Games Center / Archived Projects / Re: early version of Cube-Space
|
on: 2010-08-04 08:26:19
|
Next one: "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: 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 21: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: 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: 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 21:17:33
|
Ya... what you said Hans  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  Anyway congratulations to Notch. You got the right idea in the right time. He could enter the indie-fund.com team and invest something 
|
|
|
|
|
18
|
Games Center / Featured Games / Re: Minecraft
|
on: 2010-07-30 15: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%.
|
|
|
|
|
24
|
Game Development / Newbie & Debugging Questions / Re: Using Extend and implement
|
on: 2010-06-03 13: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 23: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
| 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()); } |
|
|
|
|
|
28
|
Games Center / Archived Projects / ConK a minimalistic space RTS
|
on: 2010-05-07 22: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  Later on i want to implement a multiplayer game-mode, but business before pleasure. Any comments? Videos:FirstSecondScreenshot:Here ( 800x600 )
|
|
|
|
|
29
|
Game Development / Shared Code / Re: Utils essentials
|
on: 2010-04-19 12: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 11: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"
|
|
|
|
|
|
Add your game by posting it in the WIP section,
or publish it in Showcase.
The first screenshot will be displayed as a thumbnail.
|
|