Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (538)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (600)
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 3 ... 93
1  Discussions / General Discussions / Re: mame emulator in java (arcadeflex) on: 2014-07-31 18:20:34
That conversion stuff is interesting BTW.
A guy named Julien Frelat has done something similar in a project called 'JAPE' (http://www.innoveware.com/projects.html). I think he's more into .net these days, but it might be worth it to hook up with him to exchange ideas on the subject. Very nice guy (I've worked with him on 'CottAge').
2  Discussions / General Discussions / Re: mame emulator in java (arcadeflex) on: 2014-07-31 18:05:29
I'll see what I can do about sound. The sound code in JEmu2 should be quite easily integrated in arcadeflex, I think (it has been reused before).

It was a bit tricky to add JavaSound support in JEmu2; not so much because JavaSound is that hard to use, but to make it work well (and across platforms).
My problem was to keep latency as low as possible and avoid buffer under-runs, since JavaSound doesn't provide any (reliable) way to measure how many bytes are in the queue. So I ended up timing everything and keep adjusting whenever there is a buffer under-run.
IIRC I had to rely on System.currentTimeMillis, so I suppose going to nanoTime will help there.

Anyway, if you have a use for the JEmu2 sources, just PM me; you can use it however you like as long its my own parts of the code (most of it is, but some parts were written by collaborators, for example the Out Run driver and the M68000 CPU emulator, so I can't be sure about those parts).
But I have to warn you, emulators were sort of my Java 'Hello World' getting out of hand, so things can get a bit messy in places Wink
3  Discussions / General Discussions / Re: mame emulator in java (arcadeflex) on: 2014-07-30 18:44:43
I just love emulation Smiley
I've made a few myself (with collaborators), probably most notably JEmu2. It emulates lots of arcade games (up to games like Galaxy Force 2, Rail Chase, After Burner and Outrun), and a few consoles and home computers (Sega Master System, MSX, MSX2, Spectrum) and it supports sound.

A few questions though:
Any reason why you're porting such an old MAME release? Is it because later releases started to depend on macros and such so much?

And why a direct port? I haven't looked at your code yet, but I found that following MAME to the letter will make the code very rigid and 'static'. In JEmu2 I would never have been able to implement things like 'VirtuArcade' (i.e. 20 arcades running in parallel in 3D) if JEmu2 was a straight MAME port.

If I were to write an emulator again, I'd not follow MAME too closely but just make some helper classes to make porting MAME drivers easier. MAME is a beautiful piece of code that despite its age is still quite well designed and is an invaluable treasure of knowledge. But IMHO it doesn't translate that well into java, especially if you want to take emulators further than MAME.

Anyway, I'll check out your project and see if I can merge some of my sound code in there.
4  Games Center / WIP games, tools & toy projects / Re: Jumproom on: 2014-07-07 18:25:03
It's a fun concept and it plays really well, as one would expect from you Smiley
It's like a concentrated mix of accessible one-button skill, and a puzzle element.

I played it on PC and used the keyboard, and found the level selection screen not obvious: It's not clear when you have selected the newly unlocked level, and my first instinct was to use space to start a level (which didn't work). When I found out that the Enter key works, it turned out that when I finished a level that the same level was selected instead of the next one.
But obviously this is meant for touch devices so probably not a big problem.

The arrows on the blocks that make you change direction are probably not clear enough. Maybe you should make it a bit more obvious; more contrast and maybe animate those blocks.

Maybe it's a an idea to add a time element to it. The mechanics really lend themselves for that. Like an extra prize or something if you finished a level in the best possible time.
5  Discussions / General Discussions / Re: Apple announces new graphics API: Metal on: 2014-06-16 19:34:29
Well, in your circles it may not be the case, but it is very much the general reality. iOS accounts for something like 70% of download revenue. iPhone users download fewer apps, but spend far more on them. Android users expect everything for free or extremely cheap, and they generally get it, to the detriment of developers.

While that may be true, it's a very broad statement that probably doesn't tell the whole story.
Android's target demographic is a lot wider than Apple's, so naturally the market is different in general.

But can we really say that app revenue is all that different if we focus on games and top-end phones for example? And do these stats include things like add revenue (still an important source of revenue)? Many Android devices don't even ship with Google Play; is content revenue from those devices counted in these stats?

It's difficult to directly compare Apple with Android when it comes to app revenue, so I have to say that I'm more interested in real life experiences there than general statistics.
6  Discussions / General Discussions / Re: Apple announces new graphics API: Metal on: 2014-06-09 11:00:02
Quote
Why didn't they just implement their Metal stuff within OpenGL?
That doesn't even make sense.  It would be purpose defeating.

Dev lock-in?  WTF?  How so?  All dev platforms have platform specific APIs.  Big deal.

tbh I don't know any details about Metal; I was sort of referencing Carmack who stated that Mantle could have been done as OpenGL extensions and on surface it looked like Metal was going for something similar as Mantle.

And yes, all platforms have specific APIs, and that is a big deal as that was an important reason for Java to exist in the first place.
Maybe Apple intends to make Metal an open standard, but realistically that won't really make a difference. It's not like Google or Microsoft will be in any hurry to support it.

The big game engines like UE and Unity will probably support it if Metal becomes successful, but I can't imagine many developers being overjoyed with the idea of having to deal with yet another API that does the same thing.
7  Discussions / General Discussions / Re: Apple announces new graphics API: Metal on: 2014-06-08 20:56:10
Having a better designed API is always a sucky excuse if it means changing everything for developers to become more locked into some platform.
Why didn't they just implement their Metal stuff within OpenGL?
8  Discussions / Miscellaneous Topics / Re: Watchdogs on: 2014-06-02 19:07:46
I was so aware it was just a game and had no reality to it, since it could never compare to the real situation, I honestly believe it had no effect whatsoever.

Sometimes I think the fact that a movie is not interactive might have more of an impact to viewers than an interactive video game. Perhaps the fact that something is obviously computer generated interactive content, controlled by a piece of plastic takes something away from the potential that one (especially a minor) perceives something as being real.
Maybe it would have made more of an impact if that Max Payne sequence was a movie with real actors?

But it's all a grey area.
Some people are affected by certain things, others aren't. I don't think there's anything you can do about that, and I don't think video games are somehow more hurtful there than other media like movies or books.
When people start getting out of control, making some form of media the culprit is like killing the messenger. The real reasons behind such things lie much deeper than that.

We've probably all been traumatized to some degree when we grow up and learn about the dark side of life through movies, books, videogames or otherwise. Usually that's not a bad thing.
9  Games Center / Featured Games / Re: Daedalus on: 2014-06-02 18:10:52
Congrats!
It looks really slick and good fun, so you'll have a sale from me at least Smiley
10  Discussions / General Discussions / Re: Give to charity, get a copy of Excelsior JET (commercial JVM with AOT compiler) on: 2014-06-02 18:03:28
Thanks for the opportunity!

Quote
If you don't need denormals I'd expect you could just use a JNI method to set the FP-control word per thread.
Sounds interesting, how would that work? Like calling a method once and the denormalization issue is gone, or calling a method at every point a denormalization issue could occur?
Currently I either add an offset or 'nudge towards zero', so if it's the latter than I'm not sure it'd be worth it.
11  Discussions / General Discussions / Re: [Swing] Can swing look sexy? on: 2014-05-28 20:37:55
JavaFX is supposedly the future, but so far it's a *tumbleweed* - who's making anything beyond trivial demos with it?

I would bet that any GUI application development companies currently using Swing will start using JavaFX for their new projects. Source: my job.

I can honestly say that I'm surprised that JavaFX is generating jobs today. Not unpleasantly surprised, but still surprised.
12  Discussions / General Discussions / Re: [Swing] Can swing look sexy? on: 2014-05-28 20:33:08
JavaFX is supposedly the future, but so far it's a *tumbleweed* - who's making anything beyond trivial demos with it?

Nail on the head.
Proven technology (or 'legacy' if you will) is worth more if the new alternative is both 'bleeding edge' and 'already irrelevant'.
13  Discussions / General Discussions / Re: [Swing] Can swing look sexy? on: 2014-05-25 17:17:39
JavaFX is basically a Swing competitor... It was publicized as a Web-centric RIA platform, which was a failure, but the technology itself isn't tied to the web in any way.
I know it's not tied to the web in any way, I just meant that it was mostly made to compete with popular RIA platforms.
My understanding is that it now sort of became the successor of Swing and that Swing won't get more attention than bug fixing.

I don't believe this at all.
Believe what you will, but I'm just telling you real-life on-the-job experience there.
JavaFX is great for most things, but we did run into performance issues when dealing with things like rich-text editing and really large documents where Swing still performed very well.
This was a few years ago, so things might have improved.

Swing and JavaFX are widget frameworks with data grids and buttons and checkboxes; that really doesn't make sense for the majority of games.

If you are making some odd game that uses lots of checkboxes and radio buttons and data app GUI stuff, then sure, go for it, but otherwise, you should use a more appropriate tool.
Oh I agree, and I wouldn't personally choose Swing or JavaFX for any game but I could imagine that there are some sorts of games where it could be usable. I suppose JavaFX would be useful for things like these typical free-to-play citybuilders and such, or football manager, that kind of thing. Games that are basically a traditional GUI dressed up with pretty graphics.

Anyway, I like JavaFX. I think it's nicely designed and more flexible than Swing with much less of the pitfalls.
Still I find myself usually going for Swing anyway. The things that JavaFX is particularly good at aren't important to me when making a desktop app.
14  Games Center / Featured Games / Re: Titan Attacks on: 2014-05-25 16:14:54
Cool, good to hear it's doing well.
15  Discussions / General Discussions / Re: [Swing] Can swing look sexy? on: 2014-05-23 19:10:23
I agree with the first half, but not the second half. Applications also have to be "engaging" and "intuitive", both of which roughly translate into "sexy".

I think we're debating semantics here.

I agree applications have to be engaging and intuitive most of all, but I took "sexy" to mean things like "cool graphics and animations".
"Engaging and intuitive" means something else to me (even if there is some overlap). To me that mostly means "going from idea to result as best as possible".
Cool graphics and animations isn't the most important thing there, but the feeling of having an application that is focused to enable your ideas is.
To me Swing (or SWT) just works better there on the desktop, but YMMV.
16  Discussions / General Discussions / Re: [Swing] Can swing look sexy? on: 2014-05-23 17:53:32
JavaFX is nice for that, but to be honest I don't think there's really a future for JavaFX.

JavaFX was originally designed for rich web applications, but there's really no point in going there anymore.
So both Swing and JavaFX are for desktop applications now, and while JavaFX has the potential to make things look very slick, being slick and sexy is usually not really what you want from a desktop GUI.

I've done a few projects with JavaFX, and there is a lot to say for it (I think it's quite well designed), but at the end of the day I still prefer Swing. 
And I even prefer Swing with plain Metal L&F (and I probably tested all 3rd party L&Fs). It's clean and fast, and can still look quite slick. Especially if you put a little effort in to set a nice font, remove the ugly borders, enable AA in custom components etc.
The main problem I had with JavaFX is that it might enable slick 'web-like' looking stuff relatively easily, but Swing always felt much more responsive in more complex GUIs.

Desktop applications typically need to be totally responsive, clean and productive, and I think being 'sexy' usually doesn't make a whole lot of sense there.
OTOH if you're making GUI-heavy game for the desktop (or some other desktop application that needs to look exotic) for whatever reason and you don't want to go OpenGL, JavaFX might still be a better option though.
17  Games Center / Featured Games / Re: Titan Attacks on: 2014-05-23 17:15:31
Hey Cas, any word on sales on PS consoles yet?
It would be interesting to know if this collaboration with Curve turns out to be a viable business case or not.
18  Discussions / Miscellaneous Topics / Re: Drinking Java on: 2014-05-13 19:36:02
You should try cà phê Chồn. It's a special Vietnamese coffee that tastes surprisingly smooth. Especially considering how it's made.
19  Games Center / Featured Games / Re: Titan Attacks on: 2014-05-13 17:53:35
It's great on especially Vita (Vita + Titan Attacks = perfect pick-up-and-play).

Can you say anything about what the costs were to have it ported by Curve, like a ballpark figure?
Anything else you can say about getting it to PlayStation, or was it Curve who did the heavy-lifting there (in terms of doing business with Sony)?
20  Discussions / General Discussions / Re: Give to charity, get a copy of Excelsior JET (commercial JVM with AOT compiler) on: 2014-04-28 04:19:06
Thanks for the tips, dleskov.
I didn't see any JIT activity in the output, so I guess it got properly AOT compiled.
sun.reflect.misc.Trampoline is always JIT-compiled, so you should see at least those four lines.

Sorry I wasn't clear.
I did see that Trampoline class getting JIT-ed, but nothing of my own code.

1  
2  
[JIT compiler] compile sun.reflect.misc.Trampoline
[JIT compiler] compilation finished in 12ms, classes: 1
21  Discussions / General Discussions / Re: Give to charity, get a copy of Excelsior JET (commercial JVM with AOT compiler) on: 2014-04-28 04:12:23
Float denormals? Care to elaborate?

Float denormalization is basically when a float gets nearer to 0 than a float can represent normally, and not 0 (see also Float.MIN_NORMAL). My understanding is that this gets treated in the CPU as sort of an exception and doing computations on that will be really slow. I never knew just *how* slow it can be so I sort of ignored the issue, until I actually got hit by it. It can make things like 25 times slower or worse.
It's a common issue in DSP code where often signals are calculated to 'tend towards zero' (things like slowly decaying signals etc).
22  Discussions / General Discussions / Re: Give to charity, get a copy of Excelsior JET (commercial JVM with AOT compiler) on: 2014-04-27 16:42:25
Thanks for the tips, dleskov.
I didn't see any JIT activity in the output, so I guess it got properly AOT compiled.

After doing a bit more research, the performance glitches might actually not have anything to do with JET because with that particular test I did, these audio glitches actually do happen occasionally on HotSpot as well. I probably shouldn't have tested some new code and JET at the same time  persecutioncomplex
So although these glitches do seem to happen a bit more regularly in JET, it's most likely a problem in my own code; and a problem I've hit before in my project (float denormals causing very unpredictable and extreme performance spikes).

So never mind me, JET is awesome Smiley

I'll definitely check out the evaluation of the full product too to see if it improves performance, but I'm not really having a performance issue there. Running hundreds of DSP objects at about 350 audio-frames per second in real time still doesn't doesn't consume more than about 15% of one core on average, so ~1-2 percent difference doesn't really matter to me (because that's the difference I'm seeing with HotSpot).
23  Discussions / General Discussions / Re: Give to charity, get a copy of Excelsior JET (commercial JVM with AOT compiler) on: 2014-04-26 20:26:20
I just made my first build with this, and I must say I'm impressed with how easy it all is. A native build of a project with some libs and dlls is literally just a few clicks away.
Very impressive stuff.

Performance is comparable to HotSpot; it's actually a bit slower and in my audio project I get some audio glitching caused by some performance spikes.
I didn't expect that tbh, but it might have something to do with this being the standard edition that's missing some features. And my audio project is very sensitive to that due to extremely low audio buffer sizes; I'm sure this is normally not an issue with other projects.
For 100$ for both Win+Linux and knowing you're helping a good cause, you can't beat this.
24  Discussions / General Discussions / Re: Depth VR need your suggestion! on: 2014-04-26 20:08:37
yeah its actually a very old video and an old idea

I think its just a novelty... it will look completely confusing to everyone who is not playing, how much do I really wanna move like that during gameplay and in which situation does this have much actual use ?
I think a headmount is much more immersive and effective.

Nevertheless it may become a standard feature that you can turn on and off in the future, nothing special but there you go.

A headmount is also much more expensive. I suspect something like this can be built with profit for like 50$, and could be especially cool in combination with a 3D screen.

I think you're underestimating a bit what something like this can do. Even tiny head movements give your brain a lot of information about depth, and you always move your head a bit.
That said, in the video the head-tracking seemed a bit juddery, as if it's lacking precision or something. Hopefully that is fixable.
25  Discussions / General Discussions / Re: Give to charity, get a copy of Excelsior JET (commercial JVM with AOT compiler) on: 2014-04-26 18:05:36
Very cool.
I just ordered my Win+Linux copy  Smiley
26  Discussions / Miscellaneous Topics / Re: What are Anti-Virus Developers Protecting us From? on: 2014-04-18 14:21:16
A few years ago I had a new laptop with Norton pre-installed.
I installed a perfectly legitimate copy of some software that I've used for years, and Norton thought it contained a virus so bad that it said something along the lines of it needing to disable itself and reboot in order to 'quarantine' it.
So the laptop rebooted, crashed on Norton again, etc. Did an attempt at removing Norton, which failed. The PC simply wouldn't work anymore until I did a fresh OS install.
I kid you not.

At work our PCs are so aggressively secured and scanned that no matter how fast the PCs are, everything is still slow.
Apparently a colleague opened an email attachment from a strange lady that admitted she was incredibly turned on by the poor fellow. Of course he got malware. True story. At least the virus scanner noticed, which prompted IT to wipe the PC and send out a mass email warning about these emails, which is something I suppose.

I use MS Security Essentials today. I don't know if it's actually doing anything but at least it's unobtrusive.
Just keep in mind that virus scanners just don't protect you from stupidity, and probably won't protect you from viruses either. And Windows isn't as unsafe as it used to be.
27  Game Development / Performance Tuning / weird thing with -verbose:gc on: 2014-04-12 10:58:31
So I with my audio project, I'm getting some glitching: it crackles every now and then.
CPU usage is about 15% of one core, so I thought maybe I'm generating garbage somewhere and enabled -verbose:gc.
It's the damnest thing: the glitching is gone completely with -verbose:gc enabled!

Does anyone have some explanation for that? I sort of expected more the opposite.
According to -verbose:gc, the GC never kicks in (unless I start moving stuff around in the GUI, but that's sort of expected)
Does -verbose:gc actually influence the GC's behaviour somehow?
28  Discussions / General Discussions / Re: The Big Linux Distro Thread on: 2014-04-03 19:07:15
Quote
I've not used a single Linux distro where the mouse was slick. Dunno what it is. Maybe they (the people who work on it) are so used to it they're not aware that it could be a lot better.

To be honest, I'm not sure what you're referring to. The mouse in Linux seems pretty much lag-free to me. I use windows more than Linux (because of work), but my GUI annoyances are pretty consistently with Windows.
But I always have the feeling that I have to click a lot more on Windows; places where I need to be either just require lots more clicking to get to, or are for some reason not responding to the mouse at all without clicking on them first. Stuff like that. Things that make Windows feel quite stiff and cumbersome to me.
Could it be that you've been unlucky with driver issues, while I've just been lucky there?
29  Discussions / General Discussions / Re: The Big Linux Distro Thread on: 2014-04-02 09:33:46
Ubuntu has been great and reliable for me (but I use it with Gnome, which I prefer over Unity. If you hate Unity, you could try UbuntuGNOME or install Gnome yourself on a 'standard' Ubuntu install).
No big problems with drivers or whatever, unlike on my Windows machines I have to say.

Never had stability issues with ubuntu's software repository either, although I do have to admit I always hold my breath with that dependency stuff because I tend to expect it to blow up in my face for some reason. Knock on wood, but it never did.
You can always manually install software, just like on win/mac (which I often do, especially when it comes to IDEs).

I dunno, I always have the feeling that Windows (every single one after XP) is working against me, instead of *for* me. It just seems so... I dunno... stiff, unfriendly, and increasingly imposing.
Ubuntu otoh, while not perfect, has pretty much always been smooth sailing for me. I hated it when they switched to Unity though, because I hate changes like that. But Gnome is nice.
30  Games Center / WIP games, tools & toy projects / Re: audio dsp (now on sourceforge) on: 2014-03-31 18:43:32
Quote
It's on my todo list to remove the distinction between Asio-IN/OUT and JavaSound-IN/OUT, and resolve the best audio implementation

This is done now; if Asio is unavailable for whatever reason (not running on Windows, not having Asio drivers installed), it should fall back to JavaSound.
But again, if you happen to run Windows, install Asio4All or the Asio driver that came with your audio hardware; it'll be better.
Pages: [1] 2 3 ... 93
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

rwatson462 (29 views)
2014-12-15 09:26:44

Mr.CodeIt (20 views)
2014-12-14 19:50:38

BurntPizza (40 views)
2014-12-09 22:41:13

BurntPizza (75 views)
2014-12-08 04:46:31

JscottyBieshaar (37 views)
2014-12-05 12:39:02

SHC (50 views)
2014-12-03 16:27:13

CopyableCougar4 (47 views)
2014-11-29 21:32:03

toopeicgaming1999 (114 views)
2014-11-26 15:22:04

toopeicgaming1999 (102 views)
2014-11-26 15:20:36

toopeicgaming1999 (30 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

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
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!