Java-Gaming.org Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (555)
Games in Android Showcase (148)
games submitted by our members
Games in WIP (601)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 2 [3] 4 5 ... 10
 21 
 on: 2015-03-02 19:37:08 
Started by ratchet12340 - Last post by nsigma
Quote
Important: At the moment we use a nasty hack to make event system work: Set dispatcher field of Container class with reflection. ... However we beleive event system can also be made work with a custom Toolkit and a dummy Peer. Indeed we seek help from AWT/Swing gurus about this subject.
I think this shows that the Sun programmers did not make the Swing library with re-usability in mind, they have designed the swing library to be used on the event dispatch thread only.

I was waiting to see what @KevenWorkman replied first, but there's probably another hacky (but less hacky than above!) way of doing this, without going as far as creating a new Toolkit - run the main game loop on the (well, an*) EDT.  The EventQueue will give you access to events which you can filter and dispatch as you like.

* Stupidest threading decision in AWT / Swing is blocking threads and pushing a new EDT / EventQueue when a modal Dialog opens!  Roll Eyes  The above suggestion would break if a Dialog opened.

Swing takes sole control of the operating system (OS) event queue in its event dispatch thread (EDT), forcing us to do all of our work on the EDT or making us do messy invokeAndWait's all the time.

Which is still doing the work on the EDT - invokeAndWait() - the ideal way to make hard to find bugs - there's a reason they left it out of JavaFX!  Wink

 22 
 on: 2015-03-02 19:34:06 
Started by kjuelz - Last post by kjuelz
thanx for thinking it's awesome. I really couldn't tell you why I haven't been promoting it. idk.  Undecided

 23 
 on: 2015-03-02 19:30:29 
Started by J00z - Last post by J00z
MrPizzaCake: Are you sure you got it? I believe it was just the name Johnny but he is dashing (running) away.
CopyableCougar4 -> Maybe it's both reasons, they're not contradictory.

Maybe this Johnny is some long lost brother or child of Johnny Cash.

 24 
 on: 2015-03-02 19:29:41 
Started by kjuelz - Last post by kjuelz
I cannot install it Clueless play store says it cannot be installed in my device's country (Germany)
It works now! Your game looks nice and polished!
The tilt motion is a tad bit to slow, so that you need to turn your screen very much, which distracts you from the action, but thats just my impression.

Thanx for the feedback! I made the game available in every country after I read your post.. and someone else told me the same thing about the tilt function so I will take care of it.

 25 
 on: 2015-03-02 19:26:04 
Started by Zarkonnen - Last post by Riven
It's a native crash Pointing There won't be an Exception.



Anyway, as you are creating an image every frame, you might run out of vRAM, making the texture allocation fail, after which Slick2D might be sending/reading its pixels to/from a null pointer.

 26 
 on: 2015-03-02 19:11:48 
Started by Zarkonnen - Last post by quew8
Post the exception/error message as well as the stack trace.

 27 
 on: 2015-03-02 19:10:32 
Started by Neoptolemus - Last post by quew8
So I have done something like this before for a few formats. Essentially I just built everything around the way COLLADA structures  it's data. It's an extremely comprehensive format that covers everything and it's designed by lots of collaborators (the Khronos ARB) so it's quite a good average of all the stuff out there.

Also it'll probably be the most complex format you will support so better that you bend everything else to fit it than vice versa.

 28 
 on: 2015-03-02 19:10:28 
Started by BurntPizza - Last post by Roquen
Found out unreal is even more free than before:

https://www.unrealengine.com/blog/ue4-is-free

 29 
 on: 2015-03-02 19:08:06 
Started by Icecore - Last post by Roquen
Where's m77 when needed?  Oh yeah...that perma-banned thing.

 30 
 on: 2015-03-02 19:03:22 
Started by Icecore - Last post by KevinWorkman
No one cares about number of registered accounts,  I bet even on this website, a lot of people have registered that has not posted anything.

Yep. This is true of every single website, ever.

I would very much like to recommend the book "The Unpersuadables: Adventures with the Enemies of Science" by Will Storr, easily the best book about conspiracy theories I've read to date (I've read about a half dozen).

Do you have a favorite conspiracy theory? I'm a fan of reptilians myself.

Pages: 1 2 [3] 4 5 ... 10
 
BurntPizza (34 views)
2015-02-27 06:09:35

BurntPizza (24 views)
2015-02-27 05:56:17

Riven (18 views)
2015-02-27 02:34:15

Riven (23 views)
2015-02-27 01:47:26

Riven (24 views)
2015-02-27 01:46:04

BurntPizza (19 views)
2015-02-27 00:52:04

BurntPizza (21 views)
2015-02-27 00:50:29

Riven (40 views)
2015-02-26 23:38:45

Riven (18 views)
2015-02-26 23:37:24

BurntPizza (35 views)
2015-02-26 21:13:04
How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

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