Triple Play is a collection of game-related utility classes that can be used with the PlayN library on all of its myriad platform targets.
Questions tagged [tripleplay]
9 questions
1
vote
1 answer
Tripleplay Button: Image button with transparent background
How can I make an image button with transparent background?
The default background is grey color, I created the button with empty text and setIcon, something like this:
backButton = new Button(); //"Back");
backButton.setIcon(backIcon);
…

mamamia
- 179
- 1
- 7
1
vote
1 answer
How to detect Swipe in a PlayN app
I'm trying to detect a swipe gesture on a game developed with PlayN and Tripleplay libraries.
I did some experiment using tripleplay.gesture package but I don't understand how to use it.
Is there any example?
Thank you
Giovanni

Gio
- 94
- 5
1
vote
1 answer
PlayN : add TriplePlay text field to a spefic position
I have a simple background layer:
@Override
public void wasAdded() {
super.wasAdded();
Image bgImage = PlayN.assets().getImage("images/Welcome.png");
ImageLayer bgLayer = graphics().createImageLayer(bgImage);
…

Majid Laissi
- 19,188
- 19
- 68
- 105
1
vote
2 answers
native input text with PlayN
Is there anyway to create an input text that opens the device target's native keyboard ? (from the bottom screen of iOS and Android devices).
I tried
tripleplay.ui.Field field = new Field();
But it only shows a pop up with a native text…

Majid Laissi
- 19,188
- 19
- 68
- 105
0
votes
1 answer
Drag a PlayN/Tripleplay widget without recalculating layout
I like the Tripleplay UI layout for the PlayN framework, but can I sometimes disable the layout calculation so I can move things around or change a widget's text without triggering a layout calculation?
For example, I created a simple screen with a…

Don Kirkby
- 53,582
- 27
- 205
- 286
0
votes
1 answer
How to get a Borderlayout to fill its container?
I am a GWT programmer trying to get to grips with using PlayN with Tripleplays gui library.
Having a little bit of trouble working out how to get a border layout filling up all the space of its container. (presumably with the middle space expanding…

darkflame
- 998
- 1
- 9
- 23
0
votes
0 answers
Efficient toggling between two screens (tripleplay.game.Screen)
In my application I need to switch frequently between two main screens (tripleplay.game.Screen)
In order to toggle between the two screens, I always keep one Screen on the tripleplay.game.ScreenStack and I push/remove the second Screen to/from…

Gio
- 94
- 5
0
votes
2 answers
Snapshot 1.8 dependecies error on tripleplay examples
i'm trying to run the tripleplay examples in my eclipse (https://github.com/threerings/tripleplay) but it always sows me te same error during installation:
Failed to execute goal on project tripleplay: Could not resolve dependencies for project…

user1744978
- 1
- 2
0
votes
1 answer
Change VECTOR_OUTLINE Color in playn
I am trying to create a label with a black outline in playn with triple play. This code creates a label:
new Label("Label").addStyles(
Style.COLOR.is(Color.white.getRGB()),
Style.OUTLINE_WIDTH.is(5f),
…

Smotko
- 293
- 2
- 9