Milton

Members
  • Content Count

    395
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Milton

  1. Milton

    Effective AABB collision detection

    If your object moves more than 5 pixels, use smaller sub steps (in 1 update).
  2. Milton

    Will Phaser 4 be written in Flutter?

    What would be the advantage over Typescript? Phaser already has TS defs, so you can compile to WebAssembly whenever you like.
  3. Milton

    how to make a perpetual movement with random

    Guess you should use onComplete and then create a new tween. Doesn't look like you can update position, see
  4. Milton

    input on array don't works

    sprite.inputEnabled typo?
  5. No Either change the w2 source or maybe try jQuery Combo. I'm sure they have a combo with add item.
  6. You would need to alter the source. Combo doesn't do what you want.
  7. You should probably ask in the new forum, but anyway: Your hinted_pieces[ i ] probably doesn't work as an index for the child array (only 0 and 1 would work).
  8. Milton

    Objects might fall through despite of collision

    You still use Phaser, just a different Physics engine. Matter is a lot more advanced than Arcade, and not much slower...
  9. Milton

    Objects might fall through despite of collision

    3ms is insane. I would suggest switching to Matter, and configuring your collision.
  10. Milton

    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);
  11. You could try starting chrome with --allow-file-access-from-files but why not just use a server...
  12. Good luck espace Send me your apk 😉
  13. 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 ?
  14. Could you post platforms/android/build.gradle ? (in your project dir, reqTest?)
  15. Probably not long enough All I can figure is some sort of SDK mismatch. Look at the project section in your build.gradle. Maybe you're missing the default versions...
  16. Hmm, looks ok. What about '$ANDROID_HOME/tools/bin/sdkmanager --list' ?
  17. What does 'which android' return? And 'find $ANDROID_HOME -name android' ?
  18. Milton

    Monetising HTML5 games

    That corresponds with: Note that to qualify for revenue share, you can not upload your game to other portals before it is published on CrazyGames. Keyword before.
  19. Milton

    Monetising HTML5 games

    Couldn't find that in the terms. And: Can I still upload my game to other portals? Yes, absolutely. You can still upload your game to any other portal. Note that to qualify for revenue share, you can not upload your game to other portals before it is published on CrazyGames.
  20. Milton

    Any reason to use phaser...

    Using blueprints can be fun. But in the end you'll have to learn C++, and that can be hard. I like to follow youtube tutorials that create an entire game. This was a favorite of mine when I wanted to learn flash. After that Phaser seemed very familiar (I think the original was based on Flixel, a flash engine, also by Rich). And after that porting to Haxe (OpenFL, basically just AS3) was even easier. Which gives you every target you want.
  21. Milton

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

    change setSize only if possible

    I guess you could use another not visible object (player), that tests it first. If it collides/overlaps don't allow the setSize of the actual player. Nice graphics
  23. Milton

    Any reason to use phaser...

    Uhm. You're on an html5 forum, not a mobile app forum. Using Cordova or Cocoon to create a mobile app is not optimal of course. But if you want 1 codebase and a decent HTML5 version, you'll have to go with a javascript engine.
  24. Milton

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

    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.