• Content Count

  • Joined

  • Last visited

  • Days Won


charlie_says last won the day on August 25 2014

charlie_says had the most liked content!

About charlie_says

  • Rank
    Advanced Member
  • Birthday 12/12/1972

Contact Methods

  • Website URL
  • Twitter

Profile Information

  • Gender
  • Location

Recent Profile Visitors

2163 profile views
  1. I was just trying some experiments with PIXI Projection, but am not able to get it working... I think it could be to do with the imports, I know I had to do something a little different than I expected with PIXI.Sound Can anyone give me any pointers? (trying this as an import: import * as Projection from 'pixi-projection' gives this error: TypeError: PIXI.BatchShaderGenerator is not a constructor ) Thanks!
  2. This does look good, and I completely agree with your assessment of the tech. I didn't get 60fps I got more like 44, but I'm on a lower spec machine. I think 'your problem' is that the patterns are solids, which makes the scene really complex, rather than a texture applied to the base plane. I'm not certain with Three about applying textures to your curved edges (I expect you can do it, I'm a little rusty with it.)
  3. This should be reasonably straightforward to achieve. I built a page turn effect in Flash, and used bitmapdata to copy a page and then used that for the second part of the image (In my version you had 2 parts of each page, and masked them both to give the page turn effect.) As bitmapdata is available in Phaser2 you could follow this approach. If you wanted to use Phaser3, you'd have to work out a way of creating the duplicate pages (although, if it were going to have content as per your link, the data for that would be quite easy to create.)
  4. sure @MrLane the problem is you're trying to add the new image before it's loaded. so: game.load.image('flower', './flower.jpeg'); game.load.onLoadComplete.add(newImageLoaded, this); game.load.start(); function newImageLoaded() { var sprite2 = game.add.sprite(100, 100, 'flower'); }
  5. I'm often reluctant to weigh into these kind of arguments. and, in reality developers need to work out for themselves whether or not they feel that entering a competition (or working with any kind of publisher) is right for them. But, I've worked with CoolMath on several occasions and have nothing negative to say about the experience. (In fact, the opposite is true, it has been very positive!)
  6. I've created some assets for use in a game, but it would now be handy to get those assets as files for re-use elsewhere. Is there an easy way to export created graphics as files? <edit> I realised that the above is a little unclear - what I mean is: I use Phaser's BitmapData to draw out a number of sprites that I use in my game
  7. Further investigation revealed webcam examples work just fine, but for some reason only Edge is allowed to access the camera...
  8. Title says it all really, is there a reason the examples have stopped working?
  9. I think using the scaled width and device.pixelRatio gives the desired result...
  10. Slightly odd question here: is there a way to determine the screen size... I'm not so interested in the pixel resolution, but more the physical size of the screen. I've got an item that reacts when tapped, but, on my Iphone which has a small screen this is completely obscured by my finger, and I'd like to move it so you can see what's going on... but, I couldn't see a good way of doing this... ...any ideas?
  11. Interestingly, what I'm trying to do is copy a small bitmapdata into a larger one, with an offset to centre it. It doesn't appear that anything is outside of the bounds... The only thing I could think is that by using .draw which copies some properties from the source, rather than copyRect to which I only pass a few variables, was missing something. But, I did try doing the operation using .copy and passing everything I had, and it still didn't work for me (in IE11, works fine everywhere else.)
  12. I investigated this further... I can't figure out what causes the issue, especially as all the bitmapdata methods work in the same way! (they all re-use copy(...) which would seem to mean that it should just work.) But, copyrect definitely fails in IE if you're trying to copy a rectangle which is differently sized (I was trying to copy a small bmd to a large bmd, this generates an index error.) I was able to work around it (again) using draw...
  13. Hi, I've had this issue before, finding that BitmapData.copyrect doesn't work on IE for some reason. (It fails silently, basically the game will just stop). Previously, I'd worked around by using BitmapData.draw, but doing that this time will be a bit more involved, and I'm keen to try to understand what's going wrong. But, so far, I've not had much luck tracking down the issue - does anyone have any idea?
  14. Ah... tmp.loadTexture('test')); will do the trick!