stupot

Members
  • Content count

    228
  • Joined

  • Last visited

About stupot

  • Rank
    Advanced Member

Recent Profile Visitors

1,683 profile views
  1. ScaleManager.SHOW_ALL

    there's a project plan here: https://prod.teamgantt.com/gantt/schedule/?ids=843041&public_keys=eXjoWRdx8pM7&zoom=d100&font_size=11&estimated_hours=0&assigned_resources=0&percent_complete=0&documents=0&comments=0&col_width=255&menu_view=0&resource_filter=0&name_in_bar=0&name_next_to_bar=1&resource_names=0#user=&company=&custom=&date_filter=&hide_completed=false&color_filter=&ids=843041 according to this it's currently (possibly) in development
  2. image is not loading

    Hi akwa6971, The image hasn't loaded by the sounds of it, check your console for error messages. Is the image file name/path correct, is the upper/lower case correct? Also. this post should be in the main Phaser thread, rather than this Phaser3-Beta thread - you'll get more help there.
  3. What about Transform/Parent?

    Thanks @rich sounds like a good plan, that's given me some food for thought.
  4. What about Transform/Parent?

    Looks like I'm going to have scratch a little deeper than the surface, conceptualy Phaser3 looks to be quite different to Phaser2. I've a few different ideas about how parent transforms could be implemented and applied only to required objects but I need to get my head around the new P3 internals first. Any pointers or suggestions you might would be useful now.
  5. Removing always-there pre-post updating/rendering/etc is great for performance but will slightly increase the difficulty of using Phaser whether an alternative is native or pure user implementation. I'd like to see a native solution to this otherwise the forums will be filled with people asking how to hook in an update function and getting several differing answers. It's common enough functionality to expect something built in to standardise the way people do it. Looking at UpdateList.js now though reminds me of several problems I've had in the past where the triggering criterea was hardcoded into it, ie here it depends on gameObject.active. How about a more general callback processor - like a simple event/subscriber model? The system would have several built-in reserved events ("preUpdate", "postUpdate", "preRender" etc) which any object could subscribe to, along with any custom user events. Possibly the system could have the ability for subscriptions to also register the triggering criterea, maybe by a list of properties with boolean values. Eitherway, always calling the callback function would provide the ultimate user control.
  6. I was just running through the readme.md and it says you can do that, though I do realise this was cloned from the PhaserV2 version which says exactly the same. I did fix it up myself because I wanted to compare the output and play with the uglify compress options but my fix (bodge) was for my purposes only rather than a generic one so didn't try to submit it.
  7. What about Transform/Parent?

    ok, got it. The biggest speed optimisations I made to a version of Phaser I used was to bypass a lot of repeated scenegraph traversal for the functionality I didn't require, so I can see why this has been done, but it'll leave a functionality hole for many. Sounds like the skelly-bone classes are what I'm looking for, not a native/global performance hog, but something available when needed, any idea when dev on these begins?
  8. Reload Example Button Not Working

    I don't think this has been working for a while. There used to be a rocket button for 'run' but this was also problematic. The examples heve never 'all' worked and never will, probably a little frustrating for newcomers, it should have a warning at the top really. I think the sandbox was created partly in reason to pickup where the examples were failing. It's usually quite easy to port an example to the sandbox, eg https://phaser.io/sandbox/edit/mwhvynxr In preload(), just has to add the baseURL and crossOrigin then modify the asset paths accordingly (remove the leading assets/), so you'll have the same example running that you can modify and run and save for later. Not sure if there's anyway to target a specific version of Phaser though.
  9. Hi, Just had my 1sy proper quick play with with Phaser3. I notice that the traditional scenegraph approach for transform inheritance was dropped earlier in the year and now runs with single flat display list. Is that right or have I got the wrong end of the stick? If this is right, then how do we now have a child object whose transform is offset from a parent object? Cheers, Stu
  10. you'll need to fix up the webpack.production.config.js to be able to run 'npm run deploy'
  11. Spritesheet display glitch with subpixel movement

    Hi Tangaroa, If an image coordinates aren't whole integer values then it can't be drawn to the screen with exact pixel mapping, the renderer may have to sample outside the source pixels which is where you sometimes see a little bit of the adjacent image ("edge pixels from the catcher's net"). If you want to keep your movement at += 5.5 then add some blank space to separate each cell of your spritesheet (look into texture atlases and the texturepacker app, this makes doing this easy). This will also help with this problem showing during scaling. Or change your movement +- to whole integer values so there are no 0.5's being added to the coords.
  12. Phaser doesn't recreate any gfx, it simply takes into account any trimming when calculating the render matrix.
  13. Phaser text auto resolution broken?

    Not sure exactly what you mean by 'automatically adjusting'. But the example you referenced on a retina display will show a nice crisp 'High DPI Text' and a fuzzier 'Low DPI Text'. The default resolution is set to window.devicePixelRatio in the game config (=2 on retina display). The overall crispness will depend on the resolution setting and the amount of canvas scaling, nothing is automatic you have to set things how you want them.
  14. Multi-Texture usage?

    Thanks for the update samme. My local fixed setTexturePriority() allows non-image components to be specified, thus allowing a wider range of things with textures to be added. It's a few commits behind now but I could update it and check in? I got my whole game down to 1 draw (I think) and it ran slower, probably something to do with issue #198, so didn't pursue the mutitexture route any further.
  15. Phaser Lite

    or build phaser yourself and exclude all the parts you don't need