studdDev

Members
  • Content count

    5
  • Joined

  • Last visited

  1. studdDev

    Box2D destructible terrain

    Hello there, Is it possible to create destructible terrain in HTML5 and box2d Video examples : Box2d Destructable terrain.mov Box2d Destructable terrain 2.mov Any help in this direction would be much appreciated. Thanks Again
  2. studdDev

    Pixi Glow Filter

    Hello there, I am trying to load a pixi glow filter for a phaser project I am working on. I followed this tutorial http://phaser.io/examples/v2/filters/pixi-filter But I am a bit confused as to how to make this run on type script without the ts definitions. Any help in this regard would be much appreciated Thank you
  3. studdDev

    [Help] Access function in html file

    @mattstyles thanks for the info, this is our first game in HTML 5 and i am pretty much a noob when it comes to HTML. Thank you for all your tips, will surely consider them
  4. studdDev

    [Help] Access function in html file

    Thanks @mattstyles, but ShowAds(); and window.ShowAds(); is throwing a cannot find property error. but i found a work around. if (window.hasOwnProperty('ShowAds')) { window['ShowAds'].call(); } and seems to be working fine. Thanks again for your help
  5. Hello there, I am relatively new to game development. I have defined a function ShowAds() within the html index file <script type="text/javascript"> var version = 'dev', libs = [ ]; var game = new StuddGames.AppBoot(); function ShowAds() { console.log("Show Ad"); } </script> is there a way i can call this function from typescript within the game code? Thanks for your help