Jump to content

Feedback on game


Joss
 Share

Recommended Posts

Hi,

 

I've done the first version of a very basic,simple game. I'm looking for some feedback on how I've built it and utilised pixi.js rather than on the game itself. I'm really new to making HTML5 games, so probably i've gone about it in a wrong way or not used pixi.js properly.

 

Preloading is definetly something I need to look at, the game seems to work best in IE9 and Chrome, bit slow in FF. Also tried it on an iPhone with Safari and Chrome but some of the sounds don't fire, though the graphics seem ok.

 

http://games.allthebeesaredead.com/  The code is all in the page source.

 

Thanks

 

Joss

 

Link to comment
Share on other sites

Nice one! Game is great :D

 

I do plan on writing a tutorial for the assetLoader but until then, hopefully this snippet will show you how it works:

 

// create an array of items you wish to load..var assetsToLoader = [ "myImage.png", "myImage2.png", "myImage3.png"];	// create a new loaderloader = new PIXI.AssetLoader(assetsToLoader);	// use a callbackloader.onComplete = onAssetsLoaded	//begin loadloader.load();function onAssetsLoaded(){    // start your game     var coolCrab = Sprite.fromImage("myImage.png");}

hope that helps!

Link to comment
Share on other sites

Thanks for the asset loading code, will give it a try today!!

 

I did notice the score being cut off on iPhone Safari/Google Browsers. not sure why! Will have a look at the pixi text documentation bit.

Link to comment
Share on other sites

I've now added preloading with that code, seems to work well, though I tried using onProgress, which I assumed would fire each time an image in the array gets loaded, but it only fired once!

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...