Search the Community

Showing results for tags 'Brackets'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Coding and Game Design
  • Frameworks
    • Phaser 3
    • Phaser 2
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 9 results

  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": [], "plugins": { "phaser" : {}, "doc_comment": true } } enable ternific:: at right top side of file option menu, click the ternific option file>ternific --> now you can use phaser autocompletion with tern-documentation/tern-def bonus:: install phaser-chain extension ( for phaser api documentation) credits:: http://redchilligame.com/how_to_use_phaser_with_vim
  2. I had another thread where I went back and forth with @samme about pauseupdate not working. After copying his/her code from CodePen into my file, I discovered that running his/her code from within Brackets also resulted in the pause update not working (not getting pointer data). I then ran the code from my file directly in Chrome and Firefox and it didn't work there either (the code runs, no errors thrown, etc. but the pointerdata isn't updated on pause). What am I missing? How can I get pointerdata on pause?
  3. Hello everyone, I opened the Basic Phaser Template and wanted to play around with the example body debug.js from the repository. There is a code comment on the basic template index.html in the script tag which says: We did it in a window.onload event, but you can do it anywhere (requireJS load, anonymous function, jQuery dom ready, - whatever floats your boat I'm familiar with the window onload event done it many times and it works. Idk much about requireJS load, anonymous function, jQuery dom . And so It all boils down to a stupid question. I wanted to try opening the bodydebug.js from the basic template. I've changed the div container name from "Game Container" to "phaser-examples" as the bodydebug.js is referencing, i've substituted the path of an asset 'atari' to my local machine. And i pointed the script tag to read like <script type="text/javascript" src="bodydebug.js"></script> (i have changed the body debug.js to bodydebug.js too.) I'm looking for a quick way to just run the code from the js file.. Unfortunately all i see is a white screen, like it doesn't load anything. I can get the script to work if i use the modular approach. But i want to run the js file as is.. How do i do that? Please have a look at my files and tell me what's wrong? bodydebug.js index.html
  4. Hello, does anyone know how to use code completion of Phaser code using Brackets?
  5. Hello! I am making my first ever game and am having trouble getting my character to lose points. In the game, the character can collect two types of bottles. One of them rewards them points, while the other one I want to take away points. However, after doing the codes, my character is still getting points from collecting the wrong bottles (the ones that should take points away) This was the code I am using to take points from the player (it is in the update function) function collectbottle (player, bottle) { // Removes the bottle from the screen bottle.kill(); // Subtract and update the score score -= score -1; scoreText.text = 'score: '-score; } Anyone have tips or ideas of how to fix? Thank you!
  6. Does anyone know of an add-on or method for getting code hints for Babylon.js within Brackets. Is it the Babylon.d.ts script and if so how would I use it. Many thanks Richard C
  7. Hello & Thanks , Code below runs great in Brackets but not online : http://liesandcowpies.com/testMe/vm-phaser/vm-play-music-WEB.html no errors in Chrome . & not on : http://phaser.io/sandbox/obNsxTrv or http://phaser.io/sandbox/obNsxTrv/play Anyone know why ? Thanks . var game = new Phaser.Game(800, 600, Phaser.CANVAS, 'vm-play-music', { preload: preload, create: create, update: update}); // http://liesandcowpies.com/testMe/vm-phaser/vm-play-cowMoo-WEB.html var s; var cowMoo; var onceThru =1; function preload() { // game.load.baseURL = 'http://liesandcowpies.com/testMe/vm-phaser/'; // game.load.crossOrigin = 'anonymous'; game.load.audio('cowmoo', 'CowMoo.mp3'); } function create() { cowMoo = game.sound.add('cowmoo', .5,'false'); cowMoo.play(); } function update() { if (onceThru == 1) { alert('function update() ' + onceThru); collisionLies02(); onceThru = onceThru + 1 ; } } function collisionLies02() { onceThru = onceThru + 1; alert('function collisionLies02() , onceThru = ' + onceThru); // cowMoo = game.sound.add('cowmoo', .5,'false'); cowMoo.play(); } var game = new Phaser.Game(800, 600, Phaser.CANVAS, 'vm-play-music', { preload: preload, create: create, update: update}); // http://liesandcowpies.com/testMe/vm-phaser/vm-play-cowMoo-WEB.html var s; var cowMoo; var onceThru =1; function preload() { // game.load.baseURL = 'http://liesandcowpies.com/testMe/vm-phaser/'; // game.load.crossOrigin = 'anonymous'; game.load.audio('cowmoo', 'CowMoo.mp3'); } function create() { cowMoo = game.sound.add('cowmoo', .5,'false'); cowMoo.play(); } function update() { if (onceThru == 1) { alert('function update() ' + onceThru); collisionLies02(); onceThru = onceThru + 1 ; } } function collisionLies02() { onceThru = onceThru + 1; alert('function collisionLies02() , onceThru = ' + onceThru); // cowMoo = game.sound.add('cowmoo', .5,'false'); cowMoo.play(); }
  8. Hey guys I have designed a theme for Brackets code editor You can install it by searching for "Plasma Light Theme" in Brackets extension manager. Love any feedback
  9. I downloaded Brackets and opened my files in it, but once I open the html file the canvas is all black and two errors come up. These are, error 1: Failed to load resource: the server responded with a status of 400 (Bad Request) and error 2: Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('http://127') does not match the recipient window's origin ('http://127'). *note: I took out some of the numbers in the brackets of the second error since it displays personal data regarding the server. Thanks for any help