oddkraken

Members
  • Content Count

    33
  • Joined

  • Last visited

About oddkraken

  • Rank
    Advanced Member

Recent Profile Visitors

704 profile views
  1. It should be "window.onload = function() ..."
  2. I went on vacation and have been kind of busy, but now I'm back at it! This morning I finally got around to setting up a dev environment on my new PC, making a few small updates to Orange Sea, and deploying. Some updates that I have planned for the near future: A merchant balloon with items to spend pearls on Story revealed via short monologues between levels More types of enemies - balloons that shoot back, fast balloons, phantasms from the water Collisions cause you to drop pearls More music! Thanks for checking it out, and as always, I greatly appreciate any feedback.
  3. @drfeld Thanks! Good to hear about the performance. @HappinessSam I've struggled a bit with the controls. If they're too responsive, it just seems unnatural to have a balloon zipping around. I could cap the speed a little slower so it doesn't feel like you're "shooting off," which is a complaint I've heard before. The performance is pretty bad on mobile...I've been thinking about scrapping it altogether and focusing on PC. I think I'll want the player to have more controls than I can provide on mobile.
  4. That's strange...my specs are similar and it's always 60fps for me. Any tips on how to improve performance?
  5. I don't see what's wrong with the Phaser documentation. Did you look at the Tween methods? http://phaser.io/docs/2.6.1/Phaser.Tween.html#to explains very clearly how to tween the properties of an object to specified values. If you want a tween to yoyo forever, you can pass -1 as the repeat value and true as the yoyo value, as explained in the documentation. The body-scale example you linked also shows how to tween scale and yoyo it, which seems to be exactly what you want. Maybe I'm misunderstanding your question.
  6. Oh I see. Within the context of the callback, this refers to the object that triggered the event (I think). It's not a reference to the game or game state. I'm not sure what the best practice is here, but you could define a global variable game pointing to the game object, and use that instead of this.
  7. In the Full Screen Mobile example, the game states don't have direct access to the game variable. You have to access it as this.game. Alternatively, since this refers to a Phaser.State, you have access to variables like this.camera (see http://phaser.io/docs/2.6.1/Phaser.State.html).
  8. Your game variable is undefined. Where are you creating the game object?
  9. Hey guys - Big update. Still WIP. The game is really tough but I think it's a lot of fun. Let me know what you think. Video:
  10. I think you need to calculate physics on the server, otherwise you're trusting the client's physics calculations. You could have the client do its own physics calculations for low latency movement, and periodically update the client with any corrections from the server.
  11. danyburton - I'm making some big changes to the gameplay, so it will hopefully be more engaging and less frustrating. marcgfx - Thanks. Do you have any idea what caused the performance issues? I'll look into it.
  12. I've updated the movement after getting some comments that the balloon goes too far/fast when pressing the arrows. I decreased the acceleration slightly, and added more drag, which slows you down more quickly when you let up. What do you guys think? Thanks. orangesea.oddkraken.com
  13. bdekk - Thanks! I'm not much of an artist, so the textures are Gimped together from Google Image Search results. There are some that I really want to improve - storm clouds, fish, balloon. Gameplay is taking priority for the moment.
  14. I changed the cloud generator to target them more at the player. This makes it so the player can't camp out in one spot and be safe, and it also prevents the screen from getting an impossible wall of clouds. I think it works pretty well, but I'd love some feedback. I've also added a mechanic where the specters give you a power-up that allows you to fly through clouds unscathed for a few seconds (and the fish and lightning of course). Once you get one, you can activate it if you're in trouble. Next up: something to collect, because you need a little more to do while dodging clouds and fish and lightning! orangesea.oddkraken.com