Jump to content

Martiny

Members
  • Content Count

    58
  • Joined

  • Last visited

About Martiny

  • Rank
    Advanced Member

Contact Methods

  • Twitter
    brunomarchi_js
  1. I'm trying to make a zoom feature and when I try using this.world.scale, everything scales fine, except the collision body that keeps the same size. I wonder if this is a bug or I'm using the scale property wrong. var newScale = 0.5; this.world.scale.setTo(newScale,newScale); To fix the body not matching the sprite, I made this, but I believe if there is a better way of doing it. This doesn't work if the sprite has an anchor different than 0, I have no idea how to put anchors into account when calculating the position. Maybe someone could help? this.gameObjects.forEach
  2. @Edu_Edu_err haha, tentei fazer mas não deu ):

  3. Things like a level editor would be great. I think Impact.js has one, but I never got into it because I never bought it. I'd pay a lot for tutorials (specially video tutorials, like tuts+). If there was a tutorial about the best way to handle text in HTML5/Phaser, that would be great. I can't find a good way to do neat a text-heavy game and I think of nothing better than video tutorials to teach me.
  4. I liked the idea. If you need any help at all, you can send me a PM if you want. I'm not as skilled as many others here, so maybe I won't be able to deliver excellent quality games in a tight schedule, but I'm willing to help with whatever I can. I guess it would be impossible for me to win the internship because of where I live (Brazil), but that's not the reason I want to help. I liked the idea.
  5. I've never head of CompoHub. This website is exactly what I was looking for =) It's way better than a topic, it's sad that it might be closed. I'll update it with the ludum dare in a moment. The Level Up 2014 seems good, but I have to finish reading the rules first before updating the topic.
  6. I think for beginners, Phaser + HTML5 is the way to go. I'm a beginner myself and I find Phaser very welcoming. I can actually make stuff I wouldn't be able to do in other places, such as Unity or other frameworks. But of course, it depends. Unity may be easy for you and it's definitely an awesome tool. I tried making something with it but didn't have much success. I'm still pretty bad at coding in general.
  7. We all know that game jams are a great way to improve our game development skills and interacting with the community. So I thought it would be a good idea to list here all the game jams happening in this exact moment. The list will be updated every time a new game jam starts or ends. If you know any game jam in the moment, please reply. Gender Jam Deadline: end of April (can be summited in any day of April) Theme: Gender About: Make a game about YOUR EXPERIENCES with gender. Website: http://www.deviever.com/genderjam2014/
  8. Is this the movement you are trying to achieve? https://googledrive.com/host/0Byme41zCWn4pdlJ6ekJjaExOTXc/ Here's the code: var sprite1;var speed = 5; function preload() { game.load.image('sprite1', 'assets/bird.png'); }function create() { sprite1 = game.add.sprite(200, 200, 'sprite1'); game.physics.enable(sprite1, Phaser.Physics.ARCADE);}function update() { if (game.input.keyboard.isDown(Phaser.Keyboard.LEFT)) { sprite1.body.x -= speed; } if (game.input.keyboard.isDown(Phaser.Keyboard.RIGHT)) { sprite1.body.x += speed; } if (game.input.keyboard.isDown(Phaser.Keyboard.UP)) { sprite1
  9. If I'm not wrong, the "body" is part of Arcade Physics. So you'll need to start it in your create function and enable it to player. function create() {game.physics.startSystem(Phaser.Physics.ARCADE);// the rest of your code..//player = game.add.sprite(150, 320, 'player');game.physics.enable(player, Phaser.Physics.ARCADE);//..}Should work, I guess. If you don't want to work with Arcade Physics, I think removing the "body" (just player.y += 2; for instance), should work.
  10. I'm wondering if there is a way of simulating a mouse click (or touch) on a sprite with a keyboard press. For instance, imagine I have two images, both with a function that when I click on them, the sprite I clicked gets killed. I wanted to click "1" and the first would get killed, and then "2" and the second would get killed. I guess the easier way to achieve this is to simulate a click event in the corresponding sprite when I press '1' or '2', but I don't know how to do it. Is there a way of simulating a mouse click in a specific position (x and y) or on a sprite by a keyboard p
  11. Please add keyboard controls! Really, I'm quite addicted to it and I would love to play with the keyboard. For instance, the first position could be the 1 and then 2 and so on. That would be fun. I loved the game.
  12. Good game man! In your blog, are you planning in sharing the source code or making tutorials about how you did your games as well? And I'm planning in doing something similar, but I'm don't know where to host my games really. How did you create your website?
  13. One day I stumbled upon this: http://harvesthq.github.io/chosen/ Wouldn't that be great? I don't know how to implement that, but it is an idea. A drop-down list that you can search and with indentation.
  14. Martiny

    Gender Jam

    I'll take a look at it, but devi ever makes it clear that the game must be about your personal experiences. I'm not sure my ideia fits into that category. I guess I'll make it anyway, it will be a nice experience.
  15. The game is awesome! Very beautiful and fun to play, I hope you can profit a lot from it (: The only thing that annoyed me was the collision really. I clearly didn't hit an obstacle, but I lost anyway. Maybe it's not what you want, but a simple fix would be to make the collision box of obstacles a little bit smaller. I guess that is common among games: enemies hitbox are smaller than friendly objects. I've seen this in this image, from this site: http://devmag.org.za/2011/01/18/11-tips-for-making-a-fun-platformer/ Good game (:
×
×
  • Create New...