Hi everyone,I'm really interested in using Akka Actors for my game, since I feel like actors play well in a game world. I only have one problem... I'm currently using OpenGL for rendering (via LibGDX). When I start a LibGDX application, it spawns its own thread that contains the OpenGL context. Since I need the OpenGL context for rendering, I'm wondering if there's anyway to configure an actor to run with a PinnedDispatcher on the same thread as OpenGL without modifying the LibGDX library.
Either that, or I could probably get away having actors publish their state (Texture, x, y) on each TickMessage to some location that I can access from outside of the Actor system.
Has anyone done anything like this before?
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://akka.io/faq/
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.
Patrik Nordwall
Typesafe - Reactive apps on the JVM
Twitter: @patriknw
Is there an easy way to do such a thing? That is, to maintain a list of objects to be rendered (Texture, x, y) in some central actor and make that value available outside of the actor system?