Comments (4)
Furthermore, in Internet explorer 10, i think my playground isn't load.
Indeed, in the development tools of Chrome or Firefox, the div which have for id "gQ_scenegraph" have "visibility : visible" for style attribut.
In IE 10, this style attribut is on "hidden", all the elements (tiles and players) are present in gQ_scenegraph.
I don't know what is the probleme, if i just define the playground and tiles, nothing is display.
from gamequery.
IE10 issue resolved,
Even if you haven't anything to put in
var animations = new $.gQ.Animation({
});
you have to put a picture.
from gamequery.
Hi,
In general Animation are expected to have at least an image defined. However you are not forced to assign an Animation to a Sprite. If you don't, it will simply be transparent (collision detection will still occur).
If you want to change the image like you describe in the first question you can simple define two Animation object and use setAnimation to switch between each of them. Animation are very lightweight object so you shouldn't worry about creating a lot of them.
The name is slightly misleading but Animation can also be static images).
If you have more questions please use the forum (http://forum.gamequeryjs.com) gitHub is only for bugs.
from gamequery.
Merci beaucoup Selim.
Je n'avais pas bien compris les setAnimation avant de crΓ©er et d'ajouter
les sprites a la tilemap.
Bonne continuation.
2013/11/29 Selim Arsever [email protected]
Hi,
In general Animation are expected to have at least an image defined.
However you are not forced to assign an Animation to a Sprite. If you
don't, it will simply be transparent (collision detection will still occur).If you want to change the image like you describe in the first question
you can simple define two Animation object and use setAnimation to switch
between each of them. Animation are very lightweight object so you
shouldn't worry about creating a lot of them.The name is slightly misleading but Animation can also be static images).
If you have more questions please use the forum (
http://forum.gamequeryjs.com) gitHub is only for bugs.β
Reply to this email directly or view it on GitHubhttps://github.com//issues/24#issuecomment-29518257
.
from gamequery.
Related Issues (17)
- namespace jquery.gamequery.ext.js HOT 1
- rotate not working in 0.6.0 anymore HOT 2
- Bug while setting dynamic TileMap out of the playground HOT 2
- Contribution to the gamequery HOT 1
- tilemapEditor: background image not displaying in new animations HOT 1
- fadeTo not work ? HOT 3
- some sprites are not cleared HOT 1
- why is "undefined"??? HOT 1
- Callback get executed more than once for ONCE animations
- scenegraph incorrectly positioned HOT 1
- The API Browser hover menu on the API documentation hides content on small screens HOT 4
- Issue with recognision of gamequerry functions HOT 8
- Latest Commit made setAnimation() fails. HOT 5
- Problem getting started HOT 2
- mouse functionality not working HOT 5
- tileset HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gamequery.