Milton

Members
  • Content Count

    385
  • Joined

  • Last visited

  • Days Won

    2

Reputation Activity

  1. Like
    Milton got a reaction from zetsubou in Objects might fall through despite of collision   
    If you use Matter:
    You can adjust the number of iterations that Engine.update performs internally.
    Use the Scene Matter Physics config object to set the following properties:
    positionIterations (defaults to 6)
    velocityIterations (defaults to 4)
    constraintIterations (defaults to 2)
     
    If you use Arcade you could just alter World.js a bit where it says (in update):
    this.step(fixedDelta);  
  2. Like
    Milton reacted to enriqueto in [Phaser 2] Boobs, butt or shoulder?   
    A game I did a while ago, available for licensing. Play it here
    .
  3. Like
    Milton got a reaction from espace in cordova android ubuntu fail to install need really help   
    defaultBuildToolsVersion="27.0.1" //String
    Installed packages:=====================] 100% Computing updates...
    Path | Version | Description | Location ------- | ------- | ------- | -------
    build-tools;19.1.0 | 19.1.0 | Android SDK Build-Tools 19.1 | build-tools/19.1.0/
    build-tools;20.0.0 | 20.0.0 | Android SDK Build-Tools 20 | build-tools/20.0.0/
    build-tools;26.0.2 | 26.0.2 | Android SDK Build-Tools 26.0.2 | build-tools/26.0.2/
    build-tools;28.0.3 | 28.0.3 | Android SDK Build-Tools 28.0.3 | build-tools/28.0.3/
    See the problem  ?
  4. Like
    Milton got a reaction from makis in Any reason to use phaser...   
    I think Phaser2 has a better learning curve, and resources than any other engine.
    Phaser3 is for experienced developers, I agree. Rich chooses to give the devs the option. Commercially, I think he's wrong, but that's his choice.
  5. Thanks
    Milton got a reaction from Heramb89 in HTML Source Code Game   
    It should. Just copy a client version of now.js to the isto/nowjs directory.
    To use apache, just copy your directory to your WWW directory (look it up) and then browse to localhost/isto
    If it doesn't work, press CTRL-Shift-J for the error.
  6. Thanks
    Milton got a reaction from Heramb89 in HTML Source Code Game   
    You haven't zipped the tree recursively. It's missing a nowjs directory, with file now.js.
    So far it's pure javascript (nodejs), I don't see any Java. So you can just edit this with notepad or whatever (maybe google a 'javascript IDE').
    It loads fine, but then hangs on now.js: Failed to load resource: the server responded with a status of 404 (Not Found)
    To run this you need a webserver like mongoose.
  7. Like
    Milton got a reaction from Heramb89 in HTML Source Code Game   
    Html5 and css you can edit with your favorite text editor. Even notepad.
    Java needs to compile, and won't run on any browser these days. Android studio is a good choice.
    This probably means it's a Java project, and you need to run a jar.
    Maybe you can list the directory (tree) here, so we can try to recognize  how it was made, and what jar to run.
  8. Like
    Milton got a reaction from Heramb89 in HTML Source Code Game   
    You probably need a web server.
    Download Mongoose and point it to your source directory.
    Then it will tell you where to browse to.
  9. Like
    Milton reacted to BdR in Mario Bros and Highway LCD game simulators   
    I've recently been working on improving the library, it now has better browser compatibility so it should work on any browser and any device, including mobile and tables.
    But more importantly, I've added 2 new playable games: Donkey Kong II and Tom's Adventure. Enjoy 

  10. Like
    Milton got a reaction from quiphop in What is the "Stage" in Phaser?   
    The Stage is the base container of display objects. Each application has one Stage object, which contains all on-screen display objects. The Stage is the top-level container and is at the top of the display list hierarchy.
    I'm not up to date on Phaser, but in Flash you would just addChild(sprite) or this.addChild(sprite), or even stage.addChild(sprite).
  11. Thanks
    Milton got a reaction from jamespierce in [Solved] Website "Stealing" my Games - What can I do?   
    Maybe something like 
    if(parent && parent.document == undefined) { window.top.location.replace('http://yoursite/game'); }
  12. Like
    Milton got a reaction from fazz in Phaser 3 texture getPixels (plural)   
    If you look at the source of getPixel (https://github.com/photonstorm/phaser/tree/v3.12.0/src/textures/TextureManager.js#L907) it seems trivial to add getPixels.
    All you need to do is make sure this line gets called with x,y,width,height:
    var rgb = ctx.getImageData(0, 0, 1, 1);   Not a user of Phaser 3 yet, so maybe Rich has a more obvious solution.
  13. Thanks
    Milton got a reaction from RagingPixel in [WIP] Tetris clone   
    Wow, I'm impressed. This is so much better. Please do the colors first. Look at wikipedia for the originals.
    Also, I'm not a fan of seeing where the block would end up. It obscures my view. Most people do want this, but maybe you could have an option?
  14. Like
    Milton reacted to RagingPixel in [WIP] Tetris clone   
    I made several changes after receiving feedback:
    The sideways movement is now instant,
    spacebar makes piece drop to the bottom instantly,
    fixed a bug with the down arrow / s key
    I'm planning to add some difficulty increasing next.
     
  15. Thanks
    Milton got a reaction from blackhawx in Is it possible to get coordinates of the mouse while not pressed down?   
    Then your mouse is broken
    https://labs.phaser.io/view.html?src=src\input\pointer\move event.js
  16. Like
    Milton reacted to Antriel in 3 Minute Adventure   
    Hah  Just to be safe: it's a reference to Stanley's Parable.
    Actually none. It's a bit cumbersome with all the untyped code, but so far it hasn't slowed me down more than making good externs would. I always planned on doing them, but didn't get around it so far. The code I wrote for the TS definitions would be a good entry point though.
  17. Like
    Milton got a reaction from jamespierce in [Phaser] Mafia Pool Tricks   
    You could just transform a texture on the fly (without using a 3d engine or WebGL). I played around with that a while back. See here. Use the cursor keys to move the ball, and press X for aXes.
    The original Java code I based this on is here.
  18. Like
    Milton got a reaction from jamespierce in [Phaser] Mafia Pool Tricks   
    You could just transform a texture on the fly (without using a 3d engine or WebGL). I played around with that a while back. See here. Use the cursor keys to move the ball, and press X for aXes.
    The original Java code I based this on is here.
  19. Thanks
    Milton got a reaction from Damian Pastorini in Question about const's   
    You only need them if you rebuild Phaser itself. You could shrink the filesize by using only 1 (or even no) renderer.
  20. Thanks
    Milton got a reaction from Federayk in Problem with the Jump of player   
  21. Like
    Milton got a reaction from mapacarta in [Phaser 3] Rookie Bowman   
    Very good. A bit like Rick Dangerous, and I always liked that.
    The sprites could be more clear though. It's hard to tell what's hazardous. Especially the white rocks, and for instance in the picture above, I thought the grass were spikes...
    It's also not clear where you can fall, or where you can go left/right to a next section. When I entered the section for the second key, my 'right' key was stuck. I don't think it was my keyboard. I thought I was on a conveyor belt but after I pressed escape and continued everything was normal.
    And then there are some typos. Key instead of keys, looby instead of lobby, and probably some more. (Great word though, looby)
  22. Thanks
    Milton got a reaction from -AAG- in [SOLVED]Client having issues testing games on their staging site   
    Can't they look in their server log?
    Maybe they can't handle a space in the filename...
  23. Like
    Milton got a reaction from zelcard in [Phaser] Underworld Chaos   
    Very confusing. It says 'Y' to jump. After some time I figured out it was 'Z'.
    Also, I keep trying to climb the hanging chains, but I guess it's just decoration?
    A better 'goal' would be nice. Maybe like climbing the level to the top.
    And even if you only used 256 colors, it should look a lot better.
    Otherwise, very smooth and professional. Has potential.
  24. Thanks
    Milton got a reaction from mazoku in Gamedistribution payment and VAT   
    NL 857313915B01
    Says google...
  25. Like
    Milton got a reaction from Ninjadoodle in Laser keeps hitting enemies even though destroyed   
    Hi Ninja,
    This has nothing to do with Panda specifics.
    To become a better programmer you should understand memory...
    I grew up with assembly and C, so I guess it's not really fair, but maybe you could read some early Kernighan and Ritchie book.