Mattia

Members
  • Content Count

    39
  • Joined

  • Last visited

Posts posted by Mattia


  1. So, in the end I managed to participate this year, too!

    I just had like one week and I had to work during the night a little bit, but in the end I think that it was totally worth it!
    I'm quite satisfied with my "A Day In The Life"! :D

    Now,  I'm trying to find the time to play all the entries, at least 3-4 minutes each.
    It won't be easy since they are 150+ already, so it means like 8+ hours of playing ... but I do have time until the 20th of September!

    I already played a couple of quite interesting games though, with really lovely, lovely, ideas!


  2. On 13/4/2017 at 11:54 AM, Milton said:

    A classical music station. It is claimed Bach improves IQ :)

    On 14/4/2017 at 11:39 PM, scheffgames said:

    Love Bach, especially the Brandeburg Concertos. Gives me a mental sophistication vibe. :)

    Cool :D

    I usually listen to Bach: brandeburg, english suites and lute suites, it depends on my mood :)

    But also: The Cure, The Who and The Beatles, expecially Sgt. Pepper's Lonely Hearts Club Band.
    And I've just realized I use Sgt. Pepper's Lonely Hearts Club Band while programming since I was 12-13yo!

     


  3. Hi,
    I've added some debug lines to your code:

    https://jsfiddle.net/qL2f263y/1/

    As you can see the arcade body is not rotating together with the sprite.
    And, from what I read in the docs, I don't think that it is possible to do so.

    Quote

    Please understand that the collision Body itself never rotates, it is always axis-aligned. However these values are passed up to the parent Sprite and updates its rotation.

    From:

    http://phaser.io/docs/2.4.4/Phaser.Physics.Arcade.Body.html#rotation

    Have you tried with P2 physics?

     


  4. @thefailtheory Yes, it will work for that, too.
    Simply you are rotating the tiles to absolute 90 degrees instead of adding 90 each time.

    Quick fix:

    turn90: function(){
    	var a = Math.floor(this.player.x / gameOptions.tileSize);
    	var b = Math.floor(this.player.y / gameOptions.tileSize);
    
    	if (this.tilesArray[b][a].angle % 90 == 0){
              game.add.tween(this.tilesArray[b][a]).to( { angle: this.tilesArray[b][a].angle+90 }, 200, Phaser.Easing.Linear.None, true);
            }
    			
    }

    As you can see I've also added a modulus operator to check if it's possible to rotate the tile (to avoid rotating it when it's not a multiple of 90).

    Oh, I've tested everything on jsFiddle, this time, too, here's the link:
    https://jsfiddle.net/vtaq37vs/2/

    :)


  5. Hi, 
    I needed something similar in the past, too, for some performance tests.

    Try to use:
    game.world.scale and game.world.pivot

    You can easily set them as usual 

    game.world.scale.x = 0.5
    game.world.scale.y = 0.5


    or

    game.world.scale.setTo(0.5, 0.5)


     


  6. @True Valhalla

    As you wish, even if I still don't think that it's good to offtopic like this.
    And I still find that it is quite unfair and  uncool that you are attacking me and my business, using your fame with cutting irony, to criticize the quality and professionality of all my work, ideas and creations, as I think that we are all mates on the same boat.

    Dude, I respect your work as many others do. I don't understand why you think that I'm against you and I've stolen your content. I haven't stolen any graphics or game or text or content from you. 
    I've just create a page for my Html5 games, which as you can see it's still a draft, and I took inspiration from many websites.

    If you are referring to the three columns design, columns with business information below a header are a common design, http://themeforest.net/item/arinafa-corporate-wordpress-theme/full_screen_preview/8054192?ref=cirvitis
    I list my games in a different way, and if you are referring to the general website design instead, It's just the Pitch Premium theme for wordpress https://siteorigin.com/theme/pitch/?action=demo#pitch

    Maybe you can refer to the header image where the Html5 logo is in the center. 
    Yes, I've took inspiration from the others for that, not just from yours but from many others!
    From this one, too for example http://www.tinglygames.com/html5-games/  and from all the other images with the Html5 logo in the center.
    I've just searched google images for something like "html5 games" to take some inspiration for the header design, and then I've created my own.
    The three logos all share a centered setup with the Html5 logo in the center for sure, but they differ for theme, colors, setting specific setup. 

    About the content, our websites are totally different. You have a blogger setup focused on totally different goals and themes than mine.
    If you refer to the Html5 page, we all share the same content and services, which is Html5 games, mobile compatibility, lincensing and much more.
    You can find similar content in all the websites selling Html5 games.

    TrueValhalla, I'm sorry that I've offended somehow, and I'm really sad that you attacked me like this.

     

     


  7. Thanks for your reviews!

    I'm happy that you enjoyed the unusual gameplay :)

     

    For sure the gameplay isn't meant to stick you to the game for too much, in fact I did not planned to sell it after the competition, so I focused on creating something somehow sperimental and unique ^^

     

    And yes, there are a lot of similar gameplays where you need to swap colors.

    Since the theme was "Reversed" It seemed good to me to get some ideas from these swap mechanics to create a "Reverse" one while limiting the colors to pure RGB to make some eye-keyboard-smashing little game :)