Jump to content

Newbie question Mixing pixijs with vanilla javascript


TheCrock
 Share

Recommended Posts

Hi all,

 I am new to coding. I am currently working my way through Game Design with HTML5 and Javascript by Rex Van Der Spuy.

I have a real newbie question.

Can I mix the vanilla java script techniques I am learning with something like pixijs. 

What I mean is can I write my code in vanilla and then mix in pixijs for animating a sprite walk cycle or must I write the whole game in pixijs?

I hope that makes sense.

 

EDIT: Anybody here can moderate my first post?

Link to comment
Share on other sites

  • 2 months later...

I am into the Chapter 4 of Foundation Game Design with HTML5 and JavaScript  and I am also reading Learn Pixi.js from the same author. So far I can see that, as a beginner my self, pixi.js makes the inital setup things easier along with many other things.

 

It has some built tools that cares of a lot of things, like TilingSprite. Caching of Textures and disposing them. Organization of things and Interaction, such things are made easier.

 

I think you would learn the game mechanics from the Foundation book. Once going through that book, one can easily work with any game library i-e Pixi, phaser.io and 

 

we can very much incorporate JavaScript knowledge in Pixi

 

I hope it helps, I am learning myself I hope I will come with better answer in the future.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...