corey

Members
  • Content Count

    6
  • Joined

  • Last visited

About corey

  • Rank
    Newbie
  • Birthday 01/01/1991

Contact Methods

  • Website URL
    http://coreycreativ.com/
  • Twitter
    holmewrecker

Profile Information

  • Gender
    Male
  • Location
    New York
  • Interests
    Games, Longboarding, Beer, Comedy, Witty Banter, Fanciful Conversation, Droll Repartee, Writing, Couplets, What not.
  1. Found a weird hacky workaround which I'm sure only works for me lol but maybe it'll give someone else some ideas. I had back to back text screens that used Space to move forward so if I held Space down for more than a few milliseconds it would skip right past a screen. To fix it I created a variable that held the timeDown value of the last key pressed and put that in the Update function: saveLastKey=game.input.keyboard.lastKey.timeDown;Then whenever I ran into back to back screens that used the same key to progress I ran this check on the subsequent screens: else if(game.input.keyboard.isDown(Phaser.Keyboard.RIGHT)){ if(saveLastKey < game.input.keyboard.lastKey.timeDown) myStates = States.desk_right;}To be honest I'm not 100% sure why it works but it does lol.
  2. Just saw this topic: http://www.html5gamedevs.com/topic/1922-justpressed-only-once/ I guess I need to find a work around.
  3. I'm porting a text adventure game from Unity and I have back to back screens that use the Space bar to advance the story. This is the statement I'm using for the Unity version in C#: if(Input.GetKeyDown(KeyCode.Space)){ myStates = States.endgame_1;}GetKeyDown returns true if the Space bar is pressed/held down. GetKeyDown resets after each frame, so in the next frame if Space is still held down, it won't return true unless it is released and pressed again. Is there a simple way to do this in Phaser that I'm just missing? Please and thank you!
  4. Great stuff everyone. I got some listening to do
  5. corey

    GUI Methodologies

    You may have moved in a completely different direction by now, but do you have any code examples of what phaser+zebra would look like?
  6. What's up folks, I'm new to the forum. Really quick background: I just started playing around with Phaser a few days ago and right now I'm trying to make an action-platformer. Check out my website, it's mostly basic Unity stuff but I'd love any feedback. Btw, Is there an introduction forum around here? I'll post this in there too if there is. Onto the topic at hand; What's your favorite VG soundtrack? So far I've been hitting replay on the old Megaman soundtracks for inspiration. That and the Dragon Quest 8 OST are my favorites to listen to while I'm working. So, let's hear yours.