Jump to content

sparksflyupwards

Members
  • Posts

    15
  • Joined

  • Last visited

sparksflyupwards's Achievements

Newbie

Newbie (1/14)

7

Reputation

  1. thanks Ernesto i tried to add velocity to the sprite rather than just change it. that improved it somewhat. there is a bigger issue though, the moveCoin function is only called while i'm dragging the sprite :S! when the sprite is in "free fall" and collides with the pins the collide function is not called at all. does this have something to do with dragEnabled? thanks for your help so much man
  2. I have a set of pins set up on a board and I want the ball to get a specific velocity when it collides with a pin in order to guide it to a predetermined destination. basically every time the ball collides with a member of the pins group I do a check to see if the ball should be falling left or right and then force that velocity on the ball, this is designed to ensure that the ball falls in the correct predetermined slot. at the moment I'm using the phaser overlap function: this.physics.overlap(coins, pins, moveCoin, null, this); where move coin looks like this: function moveCoin(coin, pin){ if(shouldMoveRight(coin)) coin.body.velocity.x=100; else coin.body.velocity.x=-100;} Now my issue is that this function seems to only work some of the time and not others. This is pretty confusing and I do not quite understand why that would be the case. Is there a better way for me to implement this or is there something i'm doing wrong? I've tried using the collide function as well with the same effect. Some help will be massively appreciated!
  3. I just wrote you a giant description of what the problem was. In writing the description I solved the problem. I love you. Thanks
  4. Hi I am a beginner to javascript and to the Phaser framework and so far I am loving it! However I've gotten to a problem that I have been trying to fix for days with no luck... I could sure use some help I am trying to convert my phaser game into phaser states following the basic template in the phaser examples file. The problem I have is that I cant seem to add a group outside of the game prototype. My game prototype: "BasicGame.Game.prototype = { ...};" and my game constructor: "BasicGame.Game = function (game) {...}; seem to work fine in that the game runs without error except when I try to add a group with this.add.group(); I must add the group outside of the game prototype because else I will not be able to add sprites to it using functions not contained in the prototype! I have tried all solutions I could think of or search, does anyone have any suggestions?
  5. I am very new to html5 developing and so far this forum has been a lovely place to be! I've just hit into a bit of trouble trying to remove the address bar from my game for the iphone 4 and none of what i've tried seems to work.... so far I have tried: the meta tag <meta name=apple-mobile-web-app-capable content=yes> and scrollTo(0, 1); But neither seem to work for the iphone 4~! I'm sorry if this is a very rookie question but I can't seem to solve it!
  6. who knew making games could be such serious business
  7. Here is why you HAD to have been inspired by Gravity Duck. 1. You copied the gravity flipping mechanics. This is a fairly counter intuitive game mechanic and though I don't know if Gravity Duck was the first to pioneer it, this is a significant factor. 2. The games are named the same damn way Gravity Duck ... vs Flip Duck both use the duck character and suggest the gravity flipping mechanic in the name. If you say both are co-incident you are saying you happened to both choose gravity flipping and a chose duck as your mascot. 3. Lastly it doesn't matter that you say you didn't see the game before (this is just hearsay). It doesnt matter that you slightly modified the game mechanics without really alterring it at at all (gravity only flips up and down). The similiarities between the gravity flipping, the duck character, the name similarities listed above, and the mechanic of chasing after eggs are too many too exact copies for this to be taken seriously as co-incident. Now I have no moral authority over you and I don't believe mimicking game mechanics is stealing (we can talk more about this later). Where you transgress however is when YOU moralize other people where you have clearly commited the same "crimes".
  8. I really like the concept! Was this a HTML5 wrapped app/completly native?
  9. I love your game! Though it is particularily difficult to play on a track pad ;p Also I must say your 404 screen is very charming
  10. Awesome, thanks for the reply i'm working on a Christmas game right now! Is there any text translation work you'd like done to the game that I could do before I submit it?
  11. I love this game! The only thing I could add is that there could be some more interesting animation work for eating. Growing, changing color, speeding up, etc... Excellent execution
  12. I love the feel of the game, I think you really put in a lot of attention into making the game mechanics simple and enjoyable and it shows! I also love the graphics its all really phenomenal. How long did a game like this take you to make?
×
×
  • Create New...