Show Posts
|
|
Pages: [1] 2
|
|
1
|
Discussions / General Discussions / Re: After Java
|
on: 2010-05-09 18:02:58
|
Well, I've been looking into the whole javascript (and webGL) thing. I'm impressed by how much faster it runs these days and some of the game demos I found out on the web (especially the HTML5 stuff). I'm curious though as to how one could "secure" it for use with "online" functions (like posting high scores, or multiplayer). Seems like anyone could just take a look at the code, save it, edit it, run it again and do whatever they want with any server feedback code.
Is there a way to prevent such easy hacking?
Code obfuscators and server-side security.
|
|
|
|
|
2
|
Discussions / General Discussions / Re: After Java
|
on: 2010-05-09 17:05:05
|
I've written a lot of JavaScript code, and in my opinion, it's an utterly bad language. I only use it because there is no alternative.
Why someone would use it for real-time game programming is beyond me, it's a wacky little scripting language designed for simple browser UI interaction.
The high performance javascript engines put the language at a usable speed for gaming, and the language is flexible enough to code in whatever style you want. But, the main reason is to make a plugin-free browser game. That seems like a strange or silly thing today, but we're thinking forward. Two years from now that might not sound so strange.
|
|
|
|
|
3
|
Discussions / General Discussions / Re: After Java
|
on: 2010-05-06 22:42:05
|
|
I'd really like to see google make their java/dalvik compiler in gwt more independent and robust. Google and Apple have a shared vision of a plugin-free future for the web, and I don't really see any faults with if html5 can survive the politics intact.
|
|
|
|
|
4
|
Discussions / General Discussions / Re: After Java
|
on: 2010-05-02 06:18:40
|
GWT has a very rigid project structure that integrates tightly with the webpage. Supposedly, you can use the java-to-javascript compiler to independently convert a module, but I've never been able to get it to work. One thing I really like the look of is GWT. Compiling Java to JavaScript and HTML. It could potentially be used with WebGL allowing people to continue to use Java, but without the JVM.
|
|
|
|
|
5
|
Discussions / General Discussions / Re: After Java
|
on: 2010-05-01 20:32:20
|
|
I've been playing around with the HTML5 canvas this weekend, and I'm really impressed. I hope this survives the politics and makes it into IE9. WebGL would be nice too, but I don't think it has a chance.
|
|
|
|
|
6
|
Discussions / General Discussions / Re: After Java
|
on: 2010-05-01 16:28:36
|
I've never heard that before. Any references?
It's something I had read secondhand, and turned out to be untrue when I looked it up for you. Sorry about that. By the PCGA 2009 report, it looks like the MMORPG market is dominant.
|
|
|
|
|
7
|
Discussions / General Discussions / Re: After Java
|
on: 2010-05-01 15:09:38
|
When people say that client side java is "dead" what do you mean? Applets and Webstart are hardly the definition of "clientSide". Java client side in terms of applications that run on the "clients" computer are anything but dead. In fact I can't stand applets/webstart much at all. C/C++ is popular but doesn't have these "deployment" methods.
On home computers C/C++ games generate less revenue than web based games written in Flash. This trend is increasing. Games are polarizing between hard-core big budget console gaming and light, casual, web-based pc and mobile gaming.
|
|
|
|
|
8
|
Discussions / General Discussions / After Java
|
on: 2010-04-29 20:36:59
|
|
The days of client side Java are clearly drawing to an end (if they weren't already there).
What are all of your next-step plans?
I'm focusing on ultra-light dumb-clients for my games, that can easily be rewritten in flash/html5/iphoneOS/whatever. I plan on sticking with Java on the server-side.
|
|
|
|
|
9
|
Game Development / Game Play & Game Design / Re: How to update the files of my game
|
on: 2010-03-16 20:00:02
|
|
Webstart isn't a viable deployment strategy. When I tried it over facebook, only 40% of users were able to launch my game.
If your game is deployed as a downloaded application, build a stable updater that does what you describe. Then use classloaders to launch your app.
The advice given about Vista is spot on. I just have the patcher sit in the applications folder, and download the entire game to a folder in their documents tree and run it from there.
Applets aren't bad, but they have an annoying habit of caching old files. I've yet to find a setting that will reliably force browsers to update it.
|
|
|
|
|
10
|
Game Development / Game Play & Game Design / Re: Game design: some advice needed
|
on: 2010-03-16 19:53:43
|
|
Making a game is fun for about two weeks.
Then it becomes rewarding hard work for about two months.
Then pain begins. Burnout sets in, and you'll start to hate the game and wonder if there are better ways to spend your time.
My advice is: make a game you will finish. If you don't think you can survive the burnout phase, build something you can finish in two months. Once you've completed it, the satisfaction justifies all the suffering, but when you're on the road you'll have to keep reminding yourself that believe it.
|
|
|
|
|
11
|
Game Development / Networking & Multiplayer / Deployment reliability
|
on: 2010-03-15 19:51:51
|
|
I've recently deployed my game Zatikon to facebook. Previously, the game used a downloaded installer bundled with a jre, but the world of facebook has forced me into the scary world of applets and webstart.
My first attempt was using deployJava.js with createWebStartLaunchButton. Only ~10% of users who visited were able to successfully launch my game.
Next, I used deployJava.js to only check the java version and prompt a new JRE installation, and used a regular html anchor to launch my jnlp file. This improved the success rate to about 40%.
Frustrated with webstart, I abandoned it and created an applet version, again using deployJava.js's java detection and a traditional <APPLET> html tag. Now my success rate has reached ~65%.
Anyone know any tricks or techniques I can use to bump this higher?
|
|
|
|
|
12
|
Java Game APIs & Engines / JOGL Development / Re: Error Jogl/jogl2 and java6 update 14
|
on: 2009-10-18 18:00:08
|
i guess removing the component draw will solve it, any idea on how to do that.
The grey color im guessing comes from the awt component!
You have to create a subclass and override the draw methods. From my own testing, you can safely override display but overriding paint prevents the GLCanvas from functioning. I don't recommend using GLJPanel. I've gotten comparable performance using software rendering.
|
|
|
|
|
17
|
Java Game APIs & Engines / JOGL Development / JOGL2 + XP + Intel GPU
|
on: 2009-10-15 20:07:51
|
Heya, I've got a compatibility issue with my game ( http://dev.catluck.com/launch.jnlp ) where an XP system with an Intel GPU refuses to draw anything on a GLCanvas. No exceptions are thrown, the game engine runs, but the GLCanvas is blank. On these systems, I also can't run any JOGL2 demo found on their new website. This isn't surprising though, since I used one of their demos as my template. Anyone have any insight into this? I've done a number of debugging experiments and several hours of google searching to no avail. edit: I should also mention that I've successfully run my game on the same hardware running Ubuntu and OSX.
|
|
|
|
|
18
|
Games Center / Archived Projects / Re: Playable Preview
|
on: 2009-10-14 21:33:18
|
|
I ran into that blank window problem on the xp asus nettops at my work. I can reproduce this problem with any jogl2 demo on these machines.
Has anyone successfully run it in XP?
|
|
|
|
|
19
|
Java Game APIs & Engines / Java Sound & OpenAL / Re: 3D Sound Engine
|
on: 2009-10-12 17:37:12
|
|
Great engine! I retrofitted my game with it in under an hour.
Maybe I didn't see it while scanning the documentation at turbo speed, but I couldn't figure out where to place the sounds in my jar until I looked at how your helicopter demo was built.
|
|
|
|
|
23
|
Discussions / General Discussions / Re: From Reddit: **** you Sun! Bundling trialware with the latest Java update is
|
on: 2009-10-08 17:06:48
|
|
This is another symptom of an overall branding failure by Sun.
I'm not sure if they realize that Java is, for the vast majority of users, the only face they see of Sun Microsystems.
What message does Java give? It's a mysterious software package that the user never directly invokes, but supposedly gives them access to other programs. During installation, it tries to trick them into installing other software. When they search for it, they're confronted with a creepy, eyeless mascot that shares a nickname with feces.
|
|
|
|
|
24
|
Discussions / Miscellaneous Topics / Re: Java VS Mono ==> Java is d00med
|
on: 2009-06-10 01:36:34
|
|
My game uses a modular rules engine, and I've been thinking about porting it to other platforms, or even running it as JavaScript from within Java. The only parts of the API it uses is java.util.Vector and java.util.Stack.
I was experimenting with Java2Script, but this looks even better.
|
|
|
|
|
25
|
Discussions / Miscellaneous Topics / Re: Java VS Mono ==> Java is d00med
|
on: 2009-06-09 19:17:17
|
or http://www.xmlvm.org/ which is even freakier. Just decompile(!) java into sourcecode of your language of choice and use native compilers and optimisers to compile it to the target platform. >Java VS Mono ==> Java is d00med javagaming on platform x maybe - reducing java to gaming is a little bit unrealistic. Has anyone tried using this?
|
|
|
|
|
26
|
Game Development / Game Play & Game Design / Re: Balancing of a strategy game (RTS)
|
on: 2009-05-15 03:34:32
|
So chess and go are not very interesting?
Aside from who plays first, the initial conditions for the two players in chess completely mirror each other, so the comparison isn't relevant. The kind of game the OP is discussing involves unalterable differences in the initial condition, like the race choice and placement on the map. In a game like Chess, the player begins the game with all the resources they'll ever have. Modern RTS games involve investing in distinct, divergent paths. If this content isn't relatively balanced, the "best path" will be quickly solved reducing the amount of playable competitive content to that subset. If the differences between the paths are simple enough for their balance to be provable on paper, they're not complex or divergent enough to be interesting.
|
|
|
|
|
29
|
Game Development / Game Play & Game Design / Re: Balancing of a strategy game (RTS)
|
on: 2009-05-06 16:46:19
|
|
Your game will never be balanced. If you can prove it is, the game isn't complex enough to be very interesting.
To get as close as you can, you can use design tools like charts or stat costs to make good guesses, but "proof" only comes out of exhaustive play testing. Log everything your players do, and have the ability to break down the data in a lot of different ways.
Being totally free of bias in making balance decisions is difficult. Don't lock yourself into any system of thinking. If something sucks or is overpowered, have the emotional discipline to take a step back and admit it and make necessary changes.
Either master your own game, or keep a hawk's eye on everything the players who master it do.
Be prepared to constantly update your game, even after release.
And lastly, and most importantly: be prepared to disagree with everyone.
|
|
|
|
|
30
|
Discussions / General Discussions / Re: Which Compiler do you use to Make games ?
|
on: 2009-05-05 17:33:47
|
|
I love autocompletion and refactoring tools, but the "project" abstraction annoys me. There are decent single document based editors like ScITE, but I'm faster on a command line, so I only use them for big copy-pastes or find-and-replaces.
Plus, I love being able to ssh to my home computer from my phone and edit code.
|
|
|
|
|
|
Add your game by posting it in the WIP section,
or publish it in Showcase.
The first screenshot will be displayed as a thumbnail.
|
|