fitness23

Members
  • Content count

    58
  • Joined

  • Last visited

About fitness23

  • Rank
    Advanced Member

Recent Profile Visitors

495 profile views
  1. Hi @trpzn I have the code here. I hope @Anderberg doesn't mind since he made it available before: /* Fix for Phaser to properly remove music cache START */ Phaser.Sound.prototype.onEndedHandler = function () { this._sound.onended = null; this.isPlaying = false; this.stop(); if (this.externalNode) { this._sound.disconnect(this.externalNode); } else { this._sound.disconnect(this.gainNode); } }; Phaser.Sound.prototype.stop = function () { if (this.isPlaying && this._sound) { if (this.usingWebAudio) { if (typeof this._sound.stop === 'undefined') { this._sound.noteOff(0); } else { try { this._sound.stop(0); } catch (e) { // Thanks Android 4.4 } } } else if (this.usingAudioTag) { this._sound.pause(); this._sound.currentTime = 0; } } this.pendingPlayback = false; this.isPlaying = false; var prevMarker = this.currentMarker; if (this.currentMarker !== '') { this.onMarkerComplete.dispatch(this.currentMarker, this); } this.currentMarker = ''; if (this.fadeTween !== null) { this.fadeTween.stop(); } if (!this.paused) { this.onStop.dispatch(this, prevMarker); } }; /* Fix for Phaser to properly remove music cache END */ This works fine for my project which is in Phaser version 2.6.2. As far as I know it is still an open issue, I have to assume not many people have run into this issue before but when you are making big games like mine which is over an hour long you need to be able to ditch the audio easily Hope that helps.
  2. Hi @Tua, Thanks very much for your lovely comments. You've encouraged me to do a quick write up of my experience so far so I've written a quick article here = http://www.andy-howard.com/phaser-to-steam/ Main points were that I used nw.js to make the exe file. There are a few things to be aware of such as the icons going a bit strange and the fullscreen mode but I hope it's helpful Are you making an exe file yourself?
  3. Hi @rich, Yes of course. I'm finding it useful to document stuff like this so I remember for next time haha. I'll wait a few more weeks and write back on this post.
  4. Hi, I would like to build a pixel art game and I have identified that I would like the original size of the canvas to be 400px (width) x 225px (height). Of course I need to scale this up to show that it is indeed pixel art but which option do I take: 1) Upscale the graphics via image editing software to be at a bigger scale or... 2) Just make Phaser scale the canvas directly from the original 400px x 225px canvas and turn off anti-alias. This sounds like the most obvious choice. Thanks
  5. Thanks so much @rich
  6. Hi there, My last post was trying to get Bayou Island past Steam Greenlight. It passed and now Bayou island has now been released on Steam! This 'little' project has taken me nearly 2 years to complete. It is a Point and Click adventure game. Here's the link = http://bit.ly/2l8pcYy Description: Help an unknown captain make his way through the mysterious Bayou Island and try to find a way back to his ship. Solve the various puzzles and talk with the island's inhabitants to uncover what is really going on. But is something sinister afoot? Who is telling the truth? Who can you really trust? Using your logic is the only way you're going to win. This has been made with the love and inspiration of the point and click adventure games of the 90s. Features: - Easy to use Point and Click user interface - Gorgeous graphics - Beautifully composed original music - Easy to use controls - Rich storyline which progresses when each puzzle is solved Many thanks to all in the Pixi and Phaser community for helping me Andrew.
  7. @scheffgames yes most of the time they are made for gaming portals. But you can still make the game run as an exe file (using nw.js and Enigma) and send out to Steam
  8. Thank you so much for your vote I'm really pleased that you like the look of it.
  9. Bayou Island is a Point and Click Adventure game I've been working on in Phaser for the last year and a half. It is now on Steam Greenlight, please could you vote? I would be ever so grateful. The link can be found here = http://bit.ly/2iwXKlV Description: Make your way through this thrilling old school style point and click adventure game and try to solve the mysterious circumstances plaguing Bayou Island. Help an unknown captain make his way through the mysterious Bayou Island and try to find a way back to his ship. Solve the various puzzles and talk with the island's inhabitants to uncover what is really going on. But is something sinister afoot? Who is telling the truth? Who can you really trust? Using your logic is the only way you're going to win. This has been made with the love and inspiration of the point and click adventure games of the 90s.. Features: - Easy to use Point and Click user interface - Gorgeous graphics - Beautifully composed original music - Easy to use controls - Rich storyline which progresses when each puzzle is solved PR movie trailer = http://www.andy-howard.com/bayou-island/trailer.mp4 PR screenshots = http://www.andy-howard.com/bayou-island/screenshots.zip Promo site = http://www.andy-howard.com/bayou-island/ All press enquiries email address: junior.howard.ah@gmail.com Many thanks for your time Andrew.
  10. It's usually framerate that's the problem. If you have any animations try to stick to 15 frames per second if you can. This is what I had experienced at least.
  11. Hi, I created a game in Phaser but I'm trying to make an exe file of it. I used Web2Exe but every time I use it, it does make the exe file but when I try to open it it says "This app can't run on this pc". Has anyone else experienced this? Looking through Google proved unsuccessful for a solution. Alternatively is there another way to make an exe file?
  12. Hi @jyapayne Please could you provide more detailed instructions on how to install. I'm not a very well seasoned windows cmd person Many thanks for this Andrew.
  13. Hi, Should be an easy one but I can't work it out. I am making a marker for a particular sound, but I need to do something after the marker has finished. So far I have this, but this isn't correct as it's not firing based on the current marker. Any ideas? this.foleySounds.addMarker("nextSoundToCompile", param1, param2); this.foleySounds.play("nextSoundToCompile"); this.foleySounds.onMarkerComplete.add(function() { alert("done"); }, this); How can I change this based on when the marker "nextSoundToCompile" has finished?
  14. I understand you can make the camera follow a particular sprite but can you make the camera delay by 1 second before it starts following the sprite?
  15. I need to be able to apply the black and white filter in a part of my game however the listed feature in the phaser examples only works in webgl mode and I must have the game on canvas mode due to several reasons. Is there another way?