Making Games With FlashPunk: Episode 5 - Importing an Ogmo Level into FlashPunk

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,277
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Oct 14, 2010

Using the Ogmo level we created last time, I teach you how to set up your game to import the data to create a real level you can play!

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (8)

Sign In or Sign Up now to post a comment!
  • @DinosaurSniper Ah, yeah, I got it! Thanks a bunch. I'm still learning all this :D

  • @Fatovarius @Fatovarius Ahhhh yes, i figured it out! check out my thread i posted at the forums flashpunk(dot) net/forums/index(dot)php?topic­=1498.0 hope it helps! if you need anymore help just ask.

    there was a better way to do this with Point() buut i'm not on my computer with all my work on it and that works just the same.

  • @DinosaurSniper I'm getting the exact same error. Must be another thing with the new version of FlashPunk. Let me know if you get it working!

  • UHHHG!...

    add(new Player(new Point(int(dataElement.@x), int(dataElement.@y))));

    gives me an error "incorrect number of arguments. Expected no more than 0."

  • @mikezenox2 I believe Flash Punk uses ".setTile" now instead of ".setCell" : )

  • Love your tutorials, & this one has absolutely excellent quality, awesome job! I have a problem with this one though, around 10:38 when you use "_grid.setCell", I get no popup explaining the syntax of setCell, and when I try to run it nothing happens, no error messages or anything (other than a "Build Failed." down where it tells you what line you're on). Any clue what I've done wrong? My script matches as far as I can tell. Anyways, thanks for what you have uploaded though, its a ton of help.

  • Waiting for the next one :)

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more