Questions tagged [playn]

PlayN is an open-source, cross-platform game development framework that provides a single Java API that can be used to generate HTML5, Android, iOS, and desktop Java/applet clients.

PlayN is an open-source, cross-platform game development framework created by Google engineers and supported by an active community. It provides a single Java API that can be used to generate HTML5 (via GWT), iOS (via IKVM and MonoTouch), Android, and desktop Java clients.

291 questions
0
votes
1 answer

background scroll and zoom

NOTE I'm really new to the playN world, and taking my first step towards using this tool. My question is when using playN what is the most effective way to create a scrolling background effect? I've thought of several ideas, but I'm wondering if…
MrBrightside
  • 593
  • 2
  • 10
  • 22
0
votes
1 answer

PlayN Camera and Input support

We wan't to implement a game for ios, android and html5. We appreciate the playN-project a lot. But we are not sure whether our features are covered by playN. Especially the following: text input (username and a short statement) capturing QR-Codes…
0
votes
2 answers

For PlayN, can someone provide a simple code example showing how to load a font file?

I'm looking for a simple example that loads a ttf file (in my case, Inconsolata.ttf) and creates a text layer. Is it possible to do this in a platform-agnostic way? From this response here, I get the impression it is not. I am working on a simple…
klenwell
  • 6,978
  • 4
  • 45
  • 84
0
votes
3 answers

When I compile PlayN core code to HTML in Eclipse, where do I find the JS/HTML files?

I'd like to take the files and upload them to a publicly hosted site. This is the document tree I find when I follow the path listed in the Eclipse output: /home/.../playndev/html/target/playndev-html-0.0.1-SNAPSHOT/playndev ├── clear.cache.gif ├──…
klenwell
  • 6,978
  • 4
  • 45
  • 84
0
votes
1 answer

Should i re-draw SurfaceLayer on every frame?

I've create simple example: background surface layer and 10 small "dots" on it (10 surface layers 10x10 px each filled with color via fillRect()). Paint method simply moves the dots around periodically: private SurfaceLayer background; private…
-1
votes
1 answer

How do I add support of custom JavaScript event triggers in PlayN?

I am trying to make a PlayN game that will need to take controls from some non-standard javascript triggers (hardware buttons on the device) in the HTML5 version. The Android, iOS versions will all be pretty standard. Where do I look to wire this…
Martin
  • 1,135
  • 1
  • 8
  • 19
1 2 3
19
20