Milton

Members
  • Content Count

    348
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Milton

  1. Then your mouse is broken https://labs.phaser.io/view.html?src=src\input\pointer\move event.js
  2. Milton

    3 Minute Adventure

    Great fun. I think if our hero does not want to come out of the closet you shouldn't force him to. You have to be PC these days What externs are you using? (your own)?
  3. Milton

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

    [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.
  5. I don't think it's useful to spew that garbage I use Vundle for plugins, these are some of my favorites: Plugin 'jdonaldson/vaxe' Plugin 'Valloric/YouCompleteMe' Plugin 'majutsushi/tagbar' Plugin 'leafgarland/typescript-vim' Plugin 'w0rp/ale' Plugin 'Quramy/tsuquyomi' Plugin 'Chiel92/vim-autoformat' Mostly to get Haxe and Typescript completion and highlighting working. Then there are ctag files (for the tagbar): --langdef=haxe --langmap=haxe:.hx --regex-haxe=/^package[ \t]+([A-Za-z0-9_.]+)/\1/p,package/ --regex-haxe=/^[ \t]*[(@:macro|private|public|static|override|inline|dynamic)( \t)]*function[ \t]+([A-Za-z0-9_]+)/\1/f,function/ --regex-haxe=/^[ \t]*([private|public|static|protected|inline][ \t]*)+var[ \t]+([A-Za-z0-9_]+)/\2/v,variable/ --regex-haxe=/^[ \t]*package[ \t]*([A-Za-z0-9_]+)/\1/p,package/ --regex-haxe=/^[ \t]*(extern[ \t]*|@:native\([^)]*\)[ \t]*)*class[ \t]+([A-Za-z0-9_]+)[ \t]*[^\{]*/\2/c,class/ --regex-haxe=/^[ \t]*(extern[ \t]+)?interface[ \t]+([A-Za-z0-9_]+)/\2/i,interface/ --regex-haxe=/^[ \t]*typedef[ \t]+([A-Za-z0-9_]+)/\1/t,typedef/ --regex-haxe=/^[ \t]*enum[ \t]+([A-Za-z0-9_]+)/\1/t,typedef/ --regex-haxe=/^[ \t]*+([A-Za-z0-9_]+)(;|\([^)]*:[^)]*\))/\1/t,enum_field/ --langdef=typescript --langmap=typescript:.ts --regex-typescript=/^[ \t]*(export[ \t]+([a-z]+[ \t]+)?)?class[ \t]+([a-zA-Z0-9_$]+)/\3/c,classes/ --regex-typescript=/^[ \t]*(declare[ \t]+)?namespace[ \t]+([a-zA-Z0-9_$]+)/\2/c,modules/ --regex-typescript=/^[ \t]*(export[ \t]+)?module[ \t]+([a-zA-Z0-9_$]+)/\2/n,modules/ --regex-typescript=/^[ \t]*(export[ \t]+)?(async[ \t]+)?function[ \t]+([a-zA-Z0-9_$]+)/\3/f,functions/ --regex-typescript=/^[ \t]*export[ \t]+(var|let|const)[ \t]+([a-zA-Z0-9_$]+)/\2/v,variables/ --regex-typescript=/^[ \t]*(var|let|const)[ \t]+([a-zA-Z0-9_$]+)[ \t]*=[ \t]*function[ \t]*[*]?[ \t]*\(\)/\2/v,varlambdas/ --regex-typescript=/^[ \t]*(export[ \t]+)?(public|protected|private)[ \t]+(static[ \t]+)?(abstract[ \t]+)?(((get|set)[ \t]+)|(async[ \t]+[*]*[ \t]*))?([a-zA-Z1-9_$]+)/\9/m,members/ --regex-typescript=/^[ \t]*(export[ \t]+)?interface[ \t]+([a-zA-Z0-9_$]+)/\2/i,interfaces/ --regex-typescript=/^[ \t]*(export[ \t]+)?type[ \t]+([a-zA-Z0-9_$]+)/\2/t,types/ --regex-typescript=/^[ \t]*(export[ \t]+)?enum[ \t]+([a-zA-Z0-9_$]+)/\2/e,enums/ --regex-typescript=/^[ \t]*import[ \t]+([a-zA-Z0-9_$]+)/\1/I,imports/ and stuff like this: let g:tagbar_type_typescript = { \ 'ctagstype' : 'typescript', \ 'kinds' : [ \ 'c:classes', \ 'a:abstract classes', \ 't:types', \ 'n:modules', \ 'f:functions', \ 'v:variables', \ 'l:varlambdas', \ 'm:members', \ 'i:interfaces', \ 'e:enums' \ ], \ 'sro' : '.', \ 'kind2scope' : { \ 'c' : 'classes', \ 'a' : 'abstract classes', \ 't' : 'types', \ 'f' : 'functions', \ 'v' : 'variables', \ 'l' : 'varlambdas', \ 'm' : 'members', \ 'i' : 'interfaces', \ 'e' : 'enums' \ }, \ 'scope2kind' : { \ 'classes' : 'c', \ 'abstract classes' : 'a', \ 'types' : 't', \ 'functions' : 'f', \ 'variables' : 'v', \ 'varlambdas' : 'l', \ 'members' : 'm', \ 'interfaces' : 'i', \ 'enums' : 'e' \ } \ } All fun when you're configuring it, but a couple of years later it looks like complete gibberish...
  6. Well, in VS Code I just set a breakpoint and using either Chrome/Opera or VSCode itself I step through my code (thanks to source maps). Can't get Vim to do the same. And I have a quite impressive vimrc
  7. Sure, but browser debugging doesn't work as flawlessly as it does in VS Code. Obviously it can be made to work, but it's just too difficult.
  8. I use vim for Haxe. But for Typescript with browser debugging/hot_reload VS Code seems better suited.
  9. Milton

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

    (Solved) Need help translating AS2 code to HTML5

    this.gotoAndPlay(rand);
  11. If you want native and web there are few options. Probably Haxe/OpenFL is your best bet. Otherwise go with Unity3d and port a separate web client.
  12. Maybe try it without crosswalk? Since the browser webview works...
  13. Milton

    Run Astro Run - My first HTML5 game

    When I play on Desktop, I'd like to continue with right arrow (or spacebar). Not some mouse button. Pretty good first game
  14. Milton

    Phaser 2.0 Tutorial Series: Flappy Bird

    It looks like https://archive.org/web/ has got it.
  15. Can't they look in their server log? Maybe they can't handle a space in the filename...
  16. Milton

    [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.
  17. Why not actually sell the advertising space ?
  18. Milton

    Pseudo 3d racing?

    If it's just for laughs with some mates, put it up on GitHub. I don't think it's commercially viable anyway. You would likely get some people (even me) contributing exactly what you want for free
  19. Milton

    Pseudo 3d racing?

    Maybe you could contact Ansdor, who just finished Slipstream. I don't think you'll get much cheaper than my estimate, even for a prototype...
  20. Milton

    Pseudo 3d racing?

    Phaser could handle it, no problem. But unless someone is willing to sell existing code cheap, this will cost you. I would ask at least 50K...
  21. Milton

    Gamedistribution payment and VAT

    NL 857313915B01 Says google...
  22. 107 It becomes (somewhat) easier the more balls you get... Nicely balanced though.
  23. Milton

    Laser keeps hitting enemies even though destroyed

    I find that the lesser of two evils... I wonder what undefined result 'var enemy = game.scene.spinvaders[ i ];' etc, gives when 'i' exceeds the original length.