Jump to content

Milton

Members
  • Content Count

    440
  • Joined

  • Last visited

  • Days Won

    4

Reputation Activity

  1. Like
    Milton got a reaction from serokon in How are "ski avoid obstacle" games called?   
    It's basically a 'vertical endless runner'.
    A google search gives this tutorial.
    The 'hotride' game is Isometric, but you should only worry about that after you've finished coding a basic 2D version. Then just project it to 2.5D.
  2. Like
    Milton got a reaction from Martin99 in How are "ski avoid obstacle" games called?   
    It's basically a 'vertical endless runner'.
    A google search gives this tutorial.
    The 'hotride' game is Isometric, but you should only worry about that after you've finished coding a basic 2D version. Then just project it to 2.5D.
  3. Like
    Milton reacted to Darko in Tint missed up in bobs   
    Hi, just trying to bring some more light if it helps...
    Another solution I guess:
    var value = 0xff0000;
    var color = (value >> 16) + (value & 0xff00) + ((value & 0xff) << 16)
    Looks that this is what it's being applied in the sources...
    https://github.com/photonstorm/phaser/blob/v3.22.0/src/gameobjects/components/Tint.js
     
  4. Like
    Milton got a reaction from Perrycat in stock trading   
    If you have to ask, you're not ready for it.
    My advice is, give me all your money, and I'll give you a 3% yearly return
  5. Like
    Milton got a reaction from demiculus in Why did phaser stop using pixijs?   
    Google:
     
  6. Like
    Milton got a reaction from newBie here in Best way to check collision for many elements   
    We are lazy. We use a physics engine  (or collision library).
    Wikipedia is quite enlightening. Optimization is done mostly through pruning and partitioning.
     
  7. Like
    Milton got a reaction from plicatibu in How manipulate time without user cheat?   
    Now I won't even have to change the time
    I can just catch the request... Slightly more trouble upfront (fake the nameserver,  serve response), but then I can really get going.
    But I guess it would prevent the average user from cheating.
    Couldn't you just save the last used time, and see if it magically decreases... The user is going to corrrect the time again, and if they start up the game, just remove the bonus?
  8. Sad
    Milton reacted to jake in Game loop advice   
    @Milton I actually went with the idea of choosing velocities that respect the minimum FPS value I want to target, in this case 60. The general rule I set for myself is to not allow velocities that result in less than 1 pixel of movement per 2 frames max. For example: velocity of 30 would be the min allowed speed resulting in 0.5 pixels per frame, or 1 pixel per 2 frames, basically 30 FPS. This has resulted in smooth(er) movement. Interpolation never really made a ton of sense in a pixel perfect loop in my opinion - and is a remnant of a brick breaker game I made using canvas primitives (not bitmaps) where it made sense  - so I've rounded positions to whole values during rendering.
    The loop itself is fine, it's similar to Monogame where the update logic will try to catch up if dt is too far behind. Which can result in spiral of death but that's not a concern in my case. 
    A live demo is here
    @Antriel thanks for the breakdown. I think the conclusion I came to with velocity selection makes sense based on what you suggested.
  9. Like
    Milton got a reaction from Saadhaider 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)
  10. Thanks
    Milton got a reaction from plicatibu 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'); }
  11. Haha
    Milton reacted to Anders Athletic Design in [C2] Onan The Barbarian Bench Press   
    The Sperminator? Sorry
  12. Thanks
    Milton got a reaction from b10b in MTB Hero   
    53.53  Don't think I can go much faster.
    Excellent game!
  13. Thanks
    Milton got a reaction from kaminari in HTML5 with competition for players (Questions)   
    Just google for 'prevent highscore hack'. This has been a problem forever...
  14. Like
    Milton got a reaction from Mertens in 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.
  15. Like
    Milton got a reaction from vornay in 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.
  16. Like
    Milton got a reaction from willis in Wrong picked object by id (custom poperties). Phaser 3 bugs or my code mistake?   
    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).
  17. Like
    Milton reacted to abhivaidya in It's Christmas   
    Hello,
    Merry Christmas and a Happy New year to everyone. Made a quick little scene using Kenney's holiday pack. Do check it out. Had planned a lot more but couldn't finish in time for the festival. Anyway here it is : It's Christmas
    Happy holidays!
    Abhi
  18. 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);  
  19. 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
    .
  20. 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  ?
  21. 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.
  22. 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.
  23. 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.
  24. 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.
  25. 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.
×
×
  • Create New...