• Content Count

  • Joined

  • Last visited

Everything posted by Mattia

  1. Mattia

    js13kGames 2017

    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"! 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. Mattia

    Music you listen while working.

    Cool 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. Mattia

    physcis arcade rotation collision problem

    I was not receiving notifications neither, I had to change my profile settings. Glad to year that you solved that
  4. Mattia

    physcis arcade rotation collision problem

    Oh, sorry @espace3d I did not read your last comment in time. Btw, I cannot see your other post, have you removed it? Have you already fixed it by yourself?
  5. Mattia

    my sprite can't move

    Hi LaaW, you are checking for keyboard inputs in the create function, so just once when the game starts. Use the update functions, instead, and it works fine, like this: As shown in the Phaser keyboard example, too: Phaser examples are a good start too, if you don't want to follow step by step tutorials. Cheers!
  6. Mattia

    physcis arcade rotation collision problem

    Oh, I was writing reply but you anticipated me Well, by the way, I've ported your example to P2, give it a look:
  7. Mattia

    physcis arcade rotation collision problem

    Hi, I've added some debug lines to your code: 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. From: Have you tried with P2 physics?
  8. Mattia

    moving only one time

    @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:
  9. Mattia

    Easy way to upscale?

    Hi, I needed something similar in the past, too, for some performance tests. Try to use: and You can easily set them as usual = 0.5 = 0.5 or, 0.5)
  10. Mattia

    getting the sprite key when using a texture atlas

    Hi, I think you are looking for sprite.frameName In general, to be sure of what to call, inspect the sprite instance with: console.log(sprite) Cheers!
  11. Mattia

    moving only one time

    Great! Nice to hear that!
  12. Mattia

    "start is not a function"

    Hi, start() is not a function of "game", but a function of "game.state" (StateManager) , so use this: game.state.start('Boot');
  13. Mattia

    moving only one time

    Hi, you could try using "keyboard hotkeys" as shown in this example: Here's a quick fiddle example using your code:
  14. Mattia

    Hiring for HTML5 games

    @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, 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 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 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.
  15. Mattia

    Hiring for HTML5 games

    @True Valhalla Trying to attract customers and enlarge your business by attacking small developers? Totally fair and professional, I would hire someone like that. Your aggression is offtopic btw so I've just send you a PM. Cheers from a small fan of yours trying to learn from you.
  16. Mattia

    Hiring for HTML5 games

    Hi, you can check our last Html5 games ready for licensing here: Here's our full game portfolio: We can also create any kind of custom game to fit your needs. If you are interested please contact us using the link on our website or through a PM here. Thank you!
  17. Hi Tomy, I've just sent you a PM.
  18. Mattia

    How to add objects on Layer?

    This. You may want to check this example: Also, to have a deeper look at Phaser's groups check this: Cheers!
  19. I've just dropped you a line on Skype.
  20. Mattia

    Simple Branded Games Required

    Just sent you an email.
  21. Mattia

    Looking to license HTML5 Games!

    For now, They've just replied to my email telling me that they are evaluating my games and they will let me know
  22. Hello there! This year I've discovered the js13kgames competition and I've decided to find some time and give it a try! It has been really challenging and I've learned a lot! Unluckily I've discovered the competition a little bit late so I've just had like a week to create my game but in the end I managed to do it in time 2015's theme was "Reversed" so I've decided to create something a little bit crazy, and pretty hard to play: a fast paced survival space shooter in which enemies have the same color of the background. You will have to reverse the background color to reveal hidden enemies, avoid their bullets and survive! It is mobile compatible and here's how to play: - Desktop: arrow keys to move, spacebar to reverse background color. M to toggle mute. - Mobile: tilt device to move, tap to reverse background color. You can play Reverse Ground Battle here: Here's the source code on GitHub: And here's a screenshot: It was my first time using jAllegro and bfxr really saved my time! I had some issues with mobile browsers compatibility but in the end I managed to create this little game with great fun and satisfaction! I'll just leave this here in case you want to play some unusual game, while hoping that the source code can be helpful, too! Have Fun!
  23. Mattia

    Box2D plugin how to remove joints?

    Glad of being of help! You can label this topic as answered for further reference if you like
  24. Mattia

    [js13k] RGB : Reverse Ground Battle

    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
  25. I've just emailed you, hoping that you are still looking for developers