Tagged Questions

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, ActionScript/Flash (also via GWT), and desktop Java ...

learn more… | top users | synonyms

0
votes
0answers
3 views

Install Playn using Maven stops and does not finish

I have followed instructions exactly from http://code.google.com/p/playn/wiki/GettingStarted I installed Git and put the playn-samples into a folder called C:\a2. I set the environment variables to ...
0
votes
0answers
2 views

PlayN / Tripleplay how to create two button in different screen location

It is easy to create a button or button-group, Root root = iface.createRoot(AxisLayout.vertical(), ROOT, modeLayer). setStyles(make(VALIGN.top, HALIGN.right)). ...
0
votes
0answers
14 views

using Window.alert() in a playn project

Just for testing I tried to use the Window.alert() function from the com.google.gwt.user.client.Window package in my playn project. But when I try to run the programm I got an Error Message like this: ...
0
votes
1answer
11 views

Playn text wrapping and style issue

As in Effect.shadow() is deprecated in PlayN1.3.So i had something like this before : TextFormat textFormat = new TextFormat(myFont, textWidth, Alignment.LEFT, colorCode, Effect.shadow(-16777216, ...
0
votes
1answer
25 views

why playn creates only one permutation

While compiling java to javascript the gwt creates in default 6 permutations with optimized javascript for the different browsers (chrome, firefox, opera, safari, ie, webkit). doing the same with ...
0
votes
0answers
21 views

How to create TextBox(EditText in android) in playN

I know textbox in playN can be created using "Field" but whenever i am giving it data, it becomes small i mean nothing is there so it squiz. Also if i am setting default initial string into it, it is ...
0
votes
0answers
27 views

PlayN adding gwt-voices in eclipse

I am trying to add gwt-voices JAR to a playN project in eclipse. I have imported the JAR in the eclipse build path, but when I run I get: Exception in thread "AWT-EventQueue-0" ...
1
vote
2answers
51 views

Displaying a large image in an ImmediateLayer

Screenshot: http://imgur.com/kNASp EDIT - In an attempt to demonstrate this issue better, it appears that a large image in an Immediate layer is being clipped to the size of the ImmediateLayer. In ...
0
votes
0answers
32 views

How to implement a scrollview in playn game?

I need to use a scroll view on an Image Layer, such that the buttons on the image Layer should scroll on touch/click and move. I have created Image Layer, buttons on it. How can I make it ...
0
votes
1answer
37 views

How to add listener to a GroupLayer in playn?

I have used Pointer.Listener and Mouse.Listener with ImageLayer and it worked. But when I use Pointer.Listener to a GroupLayer, It doesnt listens the clicks or touches. How can I do this? I am ...
1
vote
1answer
98 views

Create a 2d html5 click and play game with scala and play2 framework or playN?

I'm making a technological watch in order to create a simple little click and play game in html5 / canvas, probably like this : Geminie Rue ( http://wadjeteyegames.com/gemini-rue.html ) or machinarium ...
0
votes
1answer
34 views

PlayN.Net returning empty String in HTML

I can't understand the problem im having with PlayN.net. Maybe it's trivial, but since im new to web based stuff, I'm kinda stuck, so I hope someone here can enlighten me :) My problem: I would like ...
0
votes
1answer
27 views

In PlayN, is there a cross-platform method for formatting decimals?

How can I format a decimal value (e.g. 1.29854) so that it produces a string rounded to 2 decimal places (1.30)? I'm lost because GWT doesn't support the native Java number formatting classes and I ...
0
votes
1answer
56 views

Playn and multitouch?

I've made this Button class, to catch the Pointer event : public class Button implements Pointer.Listener { public void initLayer(Image defaultImage) { layer = ...
0
votes
1answer
140 views

How to Get Eclipse, Maven and Google PlayN to work together? [closed]

I have tried three times now to get eclipse setup to run the playn-sample projects with no luck. I have tried the following starter guides: http://davies-barnard.co.uk/2012/03/playn/ ...

1 2 3 4 5 11
15 30 50 per page