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
0
votes
1 answer

Communicating with a DB in LimeJS

What is the proper way to load variables into my game from a DB? I tried using Ajax and the Prototype library, but that doesn't seem to work. Here's what I did: In my main .js game file... var rawVocab = new Array(); var optionVocab = new…
niftygrifty
  • 3,452
  • 2
  • 28
  • 49
0
votes
1 answer

LimeJS animation.Sequence does not complete

i have got a probling concerning my animation.Sqeuence. Only the first Sequence Element is being executed. The 2nd is ignored. I want the Sprite spell_1 to move to the Hero (hero_x_exact,hero_y_exact), and after that to the destination. Each element…
0
votes
1 answer

limeJS looped animation doesn't display

I have a looped animation in LimeJS : var scrollAnim = new lime.animation.MoveTo(800,248).setEasing(lime.animation.Easing.LINEAR); var loopedAnim = lime.animation.Loop(scrollAnim); roadSprite.runAction(loopedAnim); However, when I use this code,…
snowflakekiller
  • 3,428
  • 6
  • 27
  • 45
0
votes
1 answer

Getting "b is undefined" in my .js file with LimeJS

I'm trying to use the javascript compiled file, but I get "b is undefined" since I launch the app with it. I have really no idea where does it come from. I removed et init again the sources from LimeJS, updated the dept. The problem still.. Any…
RodneyRd
  • 130
  • 10
0
votes
1 answer

limejs collision detection

I am aware that LimeJS contains Box2d for collision detection. I am looking for some help getting started creating the detection. This is what I have: A ball drops from the top of the screen. There are three draggable platforms below. …
0
votes
3 answers

Mobile cross-platform game engine

I am developing a mobile game (not so complicated) which is needed to be run on both iOs and Android. I am newbie in the field, so do you have any suggestion on which framework and game engine I should choose? I have done some research and found…
Thanh Bui
  • 405
  • 2
  • 5
  • 14
0
votes
2 answers

LimeJS detection for overlapping

I have recently started using LimeJS for my game development, and I have run into a bit of a hault. I am making a RTS type of game. I have functions which let you chose buildings, and then click on the map to add chosen building to the map. I do not…
Kevin Peters
  • 469
  • 1
  • 4
  • 9
0
votes
1 answer

Limit layer to a size and scroll childrin within with LimeJS

I have a map which I want to be able to scroll in. The scrolling works, but now because the map goes under my menu, the mousedown event for clicking on something in the menu fires both that listener and the map drag listener because the map goes out…
Kevin Peters
  • 469
  • 1
  • 4
  • 9
0
votes
1 answer

How to flip an object in LimeJS?

I am new to game development.I have to flip an object when i click on the object.How can we solve this issue in LimeJS for HTML5.
Villan
  • 730
  • 1
  • 8
  • 26
0
votes
2 answers

Black border around sprite when moving it in LimeJS

Whenever I move a sprite using the following code, a black border will appear around it where there shouldn't be. var navigate1 = new lime.animation.Sequence( new lime.animation.MoveTo(675,230).setDuration(1), new…
Extrakun
  • 19,057
  • 21
  • 82
  • 129
0
votes
2 answers

LimeJS Rounded Border

I want to display a thin rounded corner border around my game. Can I leverage the RoundedRect for this, or do I have to do something else? I see it doesn't come natively, so I was wondering how it's done. Thanks.
Brian Mains
  • 50,520
  • 35
  • 148
  • 257
-1
votes
1 answer

How to get Text of a Button in limejs

I have tried to use var b = button1.getText() to get the text of a button in limejs but it does not seem to work. Can anyone help?
1 2
3