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

PlayN - Repeat image in background layer

How I can repeat (X and Y) an image in background layer?
Vukašin Manojlović
  • 2,645
  • 2
  • 21
  • 26
0
votes
1 answer

Problems with PlayN building

I want to create a PlayN game, but in Eclipse I get this errors: ArtifactTransferException: Failure to transfer com.google.collections:google-collections:jar:1.0 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will…
Vukašin Manojlović
  • 2,645
  • 2
  • 21
  • 26
0
votes
2 answers

Unable to create project from archetype using playn eclipse and maven

This is pretty frustrating. I followed the GettingStarted instructions on the PlayN page and everything works fine from the command line but I keep getting errors when trying to create a skeleton PlayN maven project in eclipse. I'm running this on…
0
votes
3 answers

In PlayN, how can I upgrade to PlayN version 1.3.1 without getting "no lwjgl in java.library.path" error?

Update The reason I couldn't update properly was I didn't have game's jar file properly installed. That was fixed by first running this on the command line: mvn install:install-file -DgroupId=com.mygame -DartifactId=mygame-core -Dversion=0.9-beta…
klenwell
  • 6,978
  • 4
  • 45
  • 84
0
votes
0 answers

Black screen in Java after upgrading to PlayN 1.3.1

I've been looking into this for a day or two now. I've found other people who have had similar problems in this thread. According to the "Where to download" section of this minecraft wiki there is a known problem of black screens on 64-bit machines…
Marc
  • 1
  • 1
0
votes
1 answer

In PlayN, how can I place my game canvas within a particular element of an existing web page?

A simple example of what I'd like to achieve:
Hey, look to the right. There's my game!
The…
klenwell
  • 6,978
  • 4
  • 45
  • 84
0
votes
0 answers

Mvn gae:deploy?

I'm trying to deploy my PlayN game to Google Appengine. With the gae plugin. http://code.google.com/p/maven-gae-plugin/ mvn -f html/pom.xml gae:deploy But it doesn't work! Get this .. [INFO] Scanning for projects... [INFO] [INFO]…
heffaklump
  • 1,526
  • 3
  • 21
  • 27
0
votes
1 answer

different image

I have two images, put them in a list and repeat the second image to get a list with four images, three equal and one different. Before placing the images on the screen I call Collections.shuffle (myList). The User has to click on any of the…
Greg
  • 1
  • 1
0
votes
2 answers

In PlayN, how do you exclude a directory from being compiled by Maven?

I want to build the html version of my game from the command line using maven. However, when I run the package command for the core folder: mvn clean package -pl core,html I get the following errors because of some unit tests in my source…
klenwell
  • 6,978
  • 4
  • 45
  • 84
0
votes
1 answer

In PlayN, how can I build the HTML version of my project from the command line?

Currently I'm building it in Eclipse using the GWT plugin. I'd like to automate deployment to my development webserver using a script that does the GWT compilation from the command line. I've followed the directions in the Running Via Maven section…
klenwell
  • 6,978
  • 4
  • 45
  • 84
0
votes
1 answer

Can't run playn-showcase-java (playn sample)

I an doing: http://code.google.com/p/playn/wiki/GettingStarted When I try to do this: Click on playn-showcase-java in the Package Explorer Press Command-Shift-F11 or right click and select Run as → Maven test I am getting this: Results : Tests run:…
Aleksandrs
  • 1,488
  • 1
  • 14
  • 34
0
votes
1 answer

Exception in thread main playn

I am trying to run a playn project but I am getting the following exception: [java] Exception in thread "main" java.lang.IllegalStateException: Function is not supported [java] at…
Kylo-Rey
  • 1,266
  • 10
  • 12
0
votes
1 answer

How to modify text of Field using Popup

Here again with new question.I am using a Field like this: Field field = new Field(" Enter Your Text "); field.setEnabled(true); field.layer.setInteractive(true); field.setTextType(Keyboard.TextType.DEFAULT); When i am clicking it,…
Android Killer
  • 18,174
  • 13
  • 67
  • 90
0
votes
1 answer

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 point to JAVA_HOME and M2_HOME. I installed maven…
0
votes
1 answer

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: "Caused by:…
Rock Solid
  • 91
  • 1
  • 4