Questions tagged [gameclosure]

GameClosure is a JavaScript development kit for creating HTML5 games.

Project home page: http://www.gameclosure.com/

16 questions
6
votes
2 answers

GameClosure - Error with Filter

I'm using the framework GameClosure but I meet ​​an error when I tried to create a filter. I went to look at the Docs On the DevKit Docs I found this: GameClosure DevKit Docs - Class: ui.filter.Filter import ui.filter.Filter as Filter; var filter =…
4
votes
0 answers

Is there a bug in the Game Closure Browser Simulator, such that the device.width and device.height are incorrect

I am using the Game Closure browser simulator which states that it is a 600x800 window. I am printing the device size when the application starts: console.log(device.width); console.log(device.height); It is displaying this as 320 x 480 (that is…
chaimp
  • 16,897
  • 16
  • 53
  • 86
3
votes
0 answers

GameClosure IOS ImageView prolem

I have a problem with iOS (iPhone and iPad) but not in android devices: I have roughly 50 ImageViews loaded, this causes an infinite loop where all images are reloaded so I see flashing images. I tried with and without this code in Application.js,…
luigi23
  • 305
  • 2
  • 9
3
votes
0 answers

GameClosure: support for browser games?

I'm trying out GameClosure and was wondering if I could create 'normal' HTML5 browser games with it as well (beside Android or iOS apps) ? Also, does GameClosure only support its own game engine, or could I use something like KineticJS as well? And…
Dylan
  • 9,129
  • 20
  • 96
  • 153
2
votes
1 answer

What is the best way to implement promise in the given scenario?

I'm using D.js as promise library for our javascript application. Following is my sample code: function getData(deferred) { var data_one; // getInfo is returning a promise for async task getInfo() .then(function (resp_one) { data_one…
bijoshtj
  • 299
  • 4
  • 14
2
votes
1 answer

Game Closure DevKit › native android build ant error

I'm trying to build native-android on my system (ubuntu) but i get java.io.IOException: [ant] [mergemanifest] No changes in the AndroidManifest files. [ant] [echo] Handling aidl files... [ant] [aidl] No AIDL files to…
2
votes
1 answer

GameClosure: sprite animation

I've some problems with sprite animations. Is the first time that I'm trying to use them and they don't work. The code is really short: https://gist.github.com/xxZap/7642660 The errors are: Uncaught Error: Animation frame does not exist: null. …
2
votes
1 answer

Accelerometer in Game Closure

Is it possible to use accelerometer/motion sensing with Game Closure(http://www.gameclosure.com/) framework? I tried googling it everywhere and couldn't find an answer.
Michał Siwek
  • 794
  • 1
  • 10
  • 25
1
vote
1 answer

How to setup game closure android development tools

I am struggling to setup android development enviorment for game closure. problems 1. setup sdk 2. setup ndk 3. setup java is there any option to setup java other than oracle JDK in linux
Leo Kuttoor
  • 583
  • 1
  • 4
  • 7
1
vote
1 answer

what is a import satement in nodejs instead of require

I was going through this module, and found many of the files using the import stament.ex: this one. can anybody tell me how the import statement is replacing the standerd require statement of nodejs and how are they working? EDIT: this is not the…
isnvi23h4
  • 1,910
  • 1
  • 27
  • 45
1
vote
0 answers

Packaging node-webkit App Game Closure

I'm trying to package a Game Closure webapp I developed with node-webkit, but when I try to open it with the nw.exe it gives me this error: Uncaught node.js Error ReferenceError: GLOBAL is not defined at new ENV_node…
1
vote
3 answers

Installing GameClosure on Windows

Does anyone know how to install GameClosure on Windows? According to the docs, on the installation guide, only osx is supported, although they have some success running on Linux and Windows. Unfortunately they don't expand on how to do this and a…
Jordan Wallwork
  • 3,116
  • 2
  • 24
  • 49
0
votes
1 answer

Add latest google_play_services_lib for ant build

My android project is using ant build, And I cant upgrade to gradle build since im using gameclosure, a 3rd party game development tool. Now I need to upgrade my google play services library. I found that the required modules…
bijoshtj
  • 299
  • 4
  • 14
0
votes
1 answer

Where can i find the Class variable in GameClosure

gameclosure uses the class structure for code modulation example code 1: exports = Class(GC.Application, function() { //Code here }); I was trying to look for the code inside the Class varible, I found a Class varible declartion in…
isnvi23h4
  • 1,910
  • 1
  • 27
  • 45
0
votes
1 answer

gameclosure native-android debug failed local.properties file not found

I am getting the following error while trying to run devkit debug native-android ERROR BUILD FAILED /home/bonnie/adt/sdk/tools/ant/build.xml:597: The following error occurred while executing this line: …
isnvi23h4
  • 1,910
  • 1
  • 27
  • 45
1
2