Joss

Members
  • Content Count

    14
  • Joined

  • Last visited

About Joss

  • Rank
    Member

Profile Information

  • Gender
    Female
  • Location
    Cardiff/Newport

Recent Profile Visitors

530 profile views
  1. Cool, excellent news
  2. I second ipop's request for cocoon support, having to recode my game without pixi.js at the moment and it makes me realise how good pixi.js!! Would be awesome to build stuff with pixi and have it work with cocoon.
  3. Pixi.js does that bit, I'm pretty sure and It seems to use the syntax you've suggested anyway! I'm more interested in how I can modify it to work with CocoonJS, otherwise I'll need to re-write it using something else I guess.
  4. Also tried to run some of showcase games through the CocoonJS launcher and they had a blank screen too. Just realised if you click the FPs counter text, you get a list of all the errors and other usefull info. It appears there were errors relating to the text I was adding though pixi.js, after removing these the intro screen of my game started to work, but I could not tap the 'play' sprite to start. Checked the errors again, and this time they relate to the touchstart, touchend, (tap) event handler but obviously if I remove those, won't be much point. Any ideas? Anyone else got a game using pixi.js to work with CocoonJS?
  5. I tried packaging my game in an Android app using a webView (I used Eclipse) but it ran so slow it was unplayable, but on a browser on the same phone run off the web it was fine. Apparenlty using a webView on android is too slow, haven't tried iOS app with a webView yet. Also tried CocoonJS using the iOS launcher app to test my version of the game online but all I got was a blank screen, though it seemed to be reporting fps the wholetime.
  6. Joss

    Feedback on game

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

    Feedback on game

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

    Feedback on game

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

    How to scale text?

    Thanks Mat, that worked perfectly!
  10. Joss

    How to scale text?

    Been trying to use 'text.scale = ' to make my text bigger as the screen gets bigger, and although it seems to work, it stop the x,y positioning of the text from working text.setText("GAME OVER\n" + "Score : " + score); text.position.x = 100*scaleFactor; text.position.y = 160*scaleFactor; text.setStyle({font:"30px Arial", fill:"red", align:"center"}); if i add text.scale = scaleFactor; then the text just ends up in the top left corner Am I doing something wrong? Thanks Joss
  11. Something on asset loading would be good!
  12. Joss

    Collision Detection

    Actually figured out how to modify it, and it works great, thanks. Once I realised pickups were the things colliding with my crab, which in this code is steve.
  13. Joss

    Collision Detection

    Thanks for that bit of code, although I'm totally new to developing games of any sort, so not really sure what to do with it, presumably I need to include a JS file for a gaming engine? My current game is purely straight JS and pixi.js
  14. Joss

    Collision Detection

    Hi, I've knocked up a simple game using js and pixi.js, very basic but want to include collision detection, I realise pixi.js doesn't do that, but can anyone recommend a simple but effective way to handle that which work with pixi.js? I want to know when two sprites touch on the screen for my game 'stab the crab'! Thanks Joss