Java-Gaming.org Hi !
Featured games (87)
games approved by the League of Dukes
Games in Showcase (669)
Games in Android Showcase (194)
games submitted by our members
Games in WIP (727)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 8 9 [10]
 91 
 on: 2016-04-26 14:09:21 
Started by ags1 - Last post by Fishbreath
Delighted to have you! I look forward to seeing your entry.

 92 
 on: 2016-04-26 13:16:56 
Started by Stranger - Last post by KaiHH
Synchronizing the individual operations on a collection (which is what the synchronizedX() methodsin Collections does) does not help there, because what happens is that an iterator created by Kryo fails-fast as it detects the collection being modified while it iterates over it.
One way is to synchronize your modification threads with the Kryo serialization thread, possibly by doing synchronized(lock), both around the place where you trigger Kryo serialization as well as any place where you possibly modify the lists, to lock on the same object.

 93 
 on: 2016-04-26 13:05:42 
Started by Stranger - Last post by Stranger
Hi everyone!

I'm currently using Kryo for serialization in my project.
While serializing I got ConcurrentModificationException.

At the Kryo support forums I found that it could happen when Kryo serializes some collection that's being modified by one of the threads of my application.

I tried almost everything except making all (possible) collections synchronized.
I'm also thinking about using standard serialization more and more.

Can anybody tell if you ran across the similar problem or simply knows the answer,
how to fix?

Any help is greatly appreciated.

 94 
 on: 2016-04-26 12:32:31 
Started by Oskuro - Last post by KaiHH
Looks like, on Windows DirectInput can also be configured to have it record input events into a user-supplied buffer. Which is exactly what libgdx-controller (and the contained OIS library) does, because it also uses DirectInput (and XInput for XBox controllers). GLFW could also implement that, since it also already uses DirectInput/XInput on Windows.
More information on MSDN (section "4. Set up the device.")
GLFW already has a feature request for that, too: https://github.com/glfw/glfw/issues/601

 95 
 on: 2016-04-26 12:13:44 
Started by Oskuro - Last post by princec
Use libgdx I'd say.

Cas Smiley

 96 
 on: 2016-04-26 12:02:10 
Started by BurntPizza - Last post by Oxen
Finally got a working prototype of my game editor. It's based of Unity but for LWJGL & Java2D and will have hooks into LWJGL game engines soon. It also allows you to dynamically drag in assets into the game such as models, trigger zones, etc Cheesy (screenshots will be up soon)

 97 
 on: 2016-04-26 11:17:35 
Started by Oskuro - Last post by Oskuro
So it would be preferable to use an alternate libray for joystick handling then?

 98 
 on: 2016-04-26 10:09:44 
Started by ags1 - Last post by ags1
I'm at the point at which I can start teaching the AI to play well. As I don't know how best to prune the tree, I think I will use genetic algorithms to discover a pruning function.

I downloaded some Tablut games for Android, and I think I can do better. Anyways, I will definitely enter Fishbreath's competition.

 99 
 on: 2016-04-26 09:53:43 
Started by Oskuro - Last post by princec
The GLFW joystick handling APIs appear to be full of fail... there is no event-callback way of doing joysticks, so basically a bit useless for most games.

Cas Smiley

 100 
 on: 2016-04-26 09:42:29 
Started by blobloblob - Last post by blobloblob
A simple question (to which I cant find an answer since the LWJGL docs seems to be almost non-present). Does LWJGL3 applications can be run on Android? Is there a support for touch events, or perhaps accelerometer? Simply: what about the interoperability between LWJGL3 and Android devices? Could somebody elaborate on this topic?

Pages: 1 ... 8 9 [10]
 
IanParcs (34 views)
2016-04-18 14:18:53

KaiHH (34 views)
2016-04-18 08:35:41

KaiHH (66 views)
2016-04-15 12:43:58

theagentd (64 views)
2016-04-14 02:16:17

theagentd (71 views)
2016-04-14 02:15:43

IanParcs (65 views)
2016-04-12 03:51:16

IanParcs (35 views)
2016-04-12 03:50:03

IanParcs (32 views)
2016-04-12 03:49:54

IanParcs (27 views)
2016-04-12 03:49:52

IanParcs (36 views)
2016-04-12 03:49:52
List of Learning Resources
by SilverTiger
2016-02-05 09:39:47

List of Learning Resources
by SilverTiger
2016-02-05 09:38:38

List of Learning Resources
by SilverTiger
2016-02-05 09:35:50

Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10

Networking Resources
by Roquen
2015-10-16 07:12:30

Rendering resources
by Roquen
2015-10-15 07:40:48
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!