GithubHelp home page GithubHelp logo

Comments (4)

Nastrok avatar Nastrok commented on May 25, 2024

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.

Nastrok avatar Nastrok commented on May 25, 2024

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.

onaluf avatar onaluf commented on May 25, 2024

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.

Nastrok avatar Nastrok commented on May 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.