Jump to content


  • Content Count

  • Joined

  • Last visited

About speedo

  • Rank

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. how to use phaser auto completion in brackets -------------------------------------------- install ternific (extension) [brackets] after that, go to :: for windows::(mac and ubuntu might be quite similar) C:\Users\username\AppData\Roaming\Brackets\extensions\user\ternific\node_modules\tern\plugin and paste phaser.js (auto completion api) (right click and save) http://redchilligame.com/tutorials/vim_phaser/js/phaser.js create .tern-project at the root dir. of your project file and paste and save { "ecmaVersion": 6, "libs": ["browser"], "loadEagerly": []
  2. This is a casino slot game made with pixi.js with high score mode "summerslam" migrated from as3 - to - pixi.js => rendering is super fast http://redchilligame.com/assets/html_games/summerslam/summerslam
  3. This is a casino slot game made with pixi.js with high score mode "summerslam" migrated from as3 - to - pixi.js => rendering is super fast http://redchilligame.com/assets/html_games/summerslam/summerslam
  4. for NEOVIM auto-completion for phaser:: neocomplete doesn't work in neovim so, switch to deoplete.nvim (its awesome). to use auto-completion with-out the "ctrl x + ctrl o" see following steps:: requirements:: 1] deoplete.nvim (note it requires python3 :checkhealth) For vim-plug :: --> init.vim:: if has('nvim') Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } else Plug 'Shougo/deoplete.nvim' Plug 'roxma/nvim-yarp' Plug 'roxma/vim-hug-neovim-rpc' endif " Use deoplete. let g:deoplete#enable_at_startup = 1 2] deoplete-ter
  5. I mainly use vim but if u want to use neovim for phaser. to use phaser with neovim (all the steps and plugins are same as vim configuration) for neovim:: install nodejs. (For lookup http://redchilligame.com/how_to_use_phaser_with_vim ) install neovim:: To be able to use add-apt-repository you may need to install software-properties-common: sudo apt-get install software-properties-common sudo add-apt-repository ppa:neovim-ppa/stable sudo apt-get update sudo apt-get install neovim Prerequisites for the Python modules: sudo apt-get install python-dev python
  6. you can do everything in vim ("Old is Gold"). but if you want to use nvim then, for nvim (neovim) ; put the phaser auto-completion api to ...tern/plugin/.. or main .npm folder for global as described in http://redchilligame.com/how_to_use_phaser_with_vim follow this links:: for using vimrc for nvim https://github.com/neovim/neovim/wiki/FAQ https://groups.google.com/forum/#!topic/neovim/Nuki1lAnZ04 for ternjs :: https://github.com/carlitux/deoplete-ternjs https://github.com/roxma/nvim-cm-tern
  7. Just to be sure, I have tested in all platform as described in http://redchilligame.com/how_to_use_phaser_with_vim and it works very well (100/100 %). recheck:: -> python(2,3) ? -> in home dir:: place.. ->.vimrc/_vimrc(win) ->.vim ->bundle ->tern_for_vim ->node_modules .../plugin/ --> give it a try with vundle plugin manager --> re-check your vimrc file(path/calling..) and folder location once. --> install all the requirement plugins for associative plugins see doc. --> if all is set it wi
  8. (vim + phaser rocks) so as per your steps, all the installation steps are correct in reference to http://redchilligame.com/how_to_use_phaser_with_vim . its the problem with the tern_for_vim configuration since you are using vim-plug "plugin manager" (there's no error/problem with the vundle vim "plugin manager"). do any of the following steps:: reference:: https://github.com/ternjs/tern_for_vim/blob/master/autoload/tern.vim 1] goto you tern_for_vim folder ..autoload/tern.vim line 15 since Ubuntu; change node --> "nodejs" let g:tern#command = ["node", expand('<s
  9. I think , you might have missed some steps for configuration phaser with vim in http://redchilligame.com/how_to_use_phaser_with_vim - according to the error you have posted:: /home/user/game/phaser.js:16034 tern is pointing to wrong api plugin check this steps:: 1] if linux:: install tern inside tern_for_vim folder using sudo npm install tern if windows:: if you use "neocomplete" instead of "youcompleteme" check if vim is compiled with +lua 2] you have correctly downloaded and copied phaser.js auto-completion api to the ..tern/plugin/ folder (*
  10. if you followed all the steps correctly for setting vim with phaser in http://redchilligame.com/how_to_use_phaser_with_vim then, there shouldn't be any problem.(if the steps are correct). if the phaser auto completion plugin is installed in correct dir. then , its not necessary to type :TernDef (vim will auto display TernDef panel at bottom/top ). according to error you have posted:: at loadPlugins (/home/espace/.vim/plugged/tern_for_vim/node_modules/tern/bin/tern:136:15) the phaser auto completion directory folder is mismatched when calling:: set it to ../tern_for_v
  11. **Updated.. **added more detail steps - options for handling bugs for phaser auto-completion in vim [ bug section] http://redchilligame.com/how_to_use_phaser_with_vim
  12. if you are coding all the javascript/ phaser inside main html file and want phaser auto-completion then, in vim, :set ft=javascript (to switch back :set ft=html) **this will allow you to list the .js plugin in current working file //for handling further bug on phaser auto-completion with vim// http://redchilligame.com/how_to_use_phaser_with_vim
  13. Hey guys, for all Vim users , check out my tutorial on how to use phaser with vim (includes auto-completion) http://redchilligame.com/how_to_use_phaser_with_vim
  • Create New...