Questions tagged [limejs]

LimeJS is a HTML5 game framework for building fast, native-experience games for all modern touchscreens and desktop browsers.

As the name suggests, it is a JavaScript based framework developed by DigitalFruit and is built on Closure Library.

Closure is JavaScript library built by Google and provides user interface widgets, an event framework, a packaging and dependency resolution system, tools for DOM manipulation, tools for creating animation effects (including drag and drop) and a lot more.

LimeJS also comes with Box2D physics library for 2D physics simulations.

The documentation for LimeJS are located here.

42 questions
1
vote
1 answer

How do you detect the collision of two sprites that are on different layers with LimeJS?

I have one sprite on the main scene and another on a positioned layer (with the later being on the main scene too). I want to detect collisions between them but the boundingBox() function of the sprite on the layer is offsetting by the position of…
Terry Morgan
  • 114
  • 1
  • 10
1
vote
2 answers

Customshapes in Limejs

I want to know the custom shape creation in html5 using LimeJS.Could anyone tell me how to create a custom shape like comment in a game using LimeJS for html5.
Villan
  • 730
  • 1
  • 8
  • 26
1
vote
2 answers

How to handle keyboard events in LimeJS javascript for html5

I am a beginner in limeJS i want to know how to handle keyboard events in a game using limejs for html5.If one have a source link for it please help me.
Villan
  • 730
  • 1
  • 8
  • 26
0
votes
1 answer

PhoneGap LimeJS sound is not loading

I am using limejs with phonegap and facing a problem about sound Lime.audio.Audio: After following this link of google group on stack overflow (thanx KenWong) sound is playing on my iphone but it is not playing on my android. Although the sound is…
Mohsin Raza
  • 488
  • 1
  • 6
  • 12
0
votes
1 answer

WebView does not load LimeJS resources

I made a game with LimeJS and I want to make an Android application for this game. I tested the game with the Android Browser and it worked fine, but when i use the game inside my app in a WebView it didn't work. The web view looks like works well…
Fede
  • 460
  • 3
  • 10
0
votes
0 answers

jQuery not sending headers for basic auth

I've tried every example I've seen on stackoverflow and I still cannot get jquery to include the authorization. I am user jQuery 1.11.3. Here is my ajax call var headers = "Basic "+username+":"+password; var data = $.ajax({ type: "GET", …
Jeremy
  • 1,717
  • 5
  • 30
  • 49
0
votes
1 answer

Put two images in one LimeJS layer

I want to put two images within one LimeJS layer. The images should be aligned horizontally next to each other. Adding one image into a layer is straight forward: var myLayer = new lime.Layer().setPosition(0, 0) var myImage = new…
beingalex
  • 2,416
  • 4
  • 32
  • 71
0
votes
1 answer

Anatomy of a proper inheritance / subclass implementation using Google Closure Library

I'm getting started with Google's Closure Library (along with Lime.js), and I'm trying to create a very basic scene, with some instances of a custom-subclass of Lime.js' lime.Layer class. As I understand (as I've read in various examples and…
0
votes
1 answer

LimeJS Projects Show Blank Screen

I recently followed a Youtube tutorial on getting LimeJS setup and I'm having trouble getting any of my projects to show up in Chrome. Although I'm new to programming I followed the instructions to the "t" (LimeJS Tutorials | Installing on Windows).…
Nutty
  • 11
  • 1
0
votes
1 answer

goog.provide() - Uncaught SyntaxError: Unexpected token ILLEGAL

So I decided today to play around with LimeJS a bit, I've never used Closure before so that is new to me as well. I've run into a small problem right off the bat and am not sure what is wrong. So far my project is only three files: firstGame.html,…
TheMethod
  • 2,893
  • 9
  • 41
  • 72
0
votes
1 answer

Rotation in LimeJS

I'm trying to create an animation with rotation. Now I first used a transition loop, but the rotation stops when the animation is done, and then repeats. I'm trying to achieve an animation in rotation which constantly goes on with the same speed.…
SBD
  • 446
  • 6
  • 17
0
votes
1 answer

limejs fails to compile

I have made an file 'test' using the create command, so I have two files. A html and a few other js files. now I want to compile all the js files so I use this line in the commandprompt: C:\limejs\bin>lime.py build test -o test/compiled.js I'm using…
user2852398
  • 43
  • 3
  • 13
0
votes
2 answers

How to disable a button after click in limejs

How do I disable a button after click in limejs? I have tried using this.disable() but it does not work.
0
votes
1 answer

limejs int step installation issue with closure

I already has gitbash on windows 7. I installed Python, also added Environment path to C:/python33 After cloning limejs. When type the 3rd step from limejs basics. https://github.com/digitalfruit/limejs I get following error. Welcome to Git (version…
STEEL
  • 8,955
  • 9
  • 67
  • 89
0
votes
0 answers

Lime js game works fine in iPad but jerky in Firefox

I have a HTML5 game which has been written in Lime JS, it works fine and smooth on the iPad but does not work smooth on Firefox (running on a pc which I assume is more powerful than an iPad and has a better graphics card), every couple of seconds…
sAM
  • 11
  • 1
  • 2