Author Topic: v1.3 is up on github  (Read 8155 times)

Adam Atomic

  • Founder
  • Key Contributor
  • *****
  • Posts: 852
  • Karma: +0/-0
  • new dad
    • View Profile
    • Adam Atomic
« Last Edit: Thu, Dec 10, 2009 by Adam Atomic »

BullitSpeed

  • Contributor
  • ****
  • Posts: 264
  • Karma: +0/-0
    • View Profile
    • My Website!
Re: v1.3 is up on github
« Reply #1 on: Wed, Dec 9, 2009 »
Awesome! :D

Just tonight, I had gotten my game to work with Flixel v1.28 (?) from 2009-12-08.

Now, I dropped in Flixel v1.3 for my game project and fixed all IDE errors (in Flex Builder) in the game classes that came up.  I had to update any FlxText instances and change my bullets' FlxArray to Array.

When I run my game, it doesn't seem to go fully into the PlayState.  It updates to the PlayState cursor, but still plays the MenuState's music.  The screen remains black.  I'm loading in a Flan-built level.

Anyone else experiencing this problem?  Any ideas on how to remedy?  My IDE has no errors.
« Last Edit: Wed, Dec 9, 2009 by BullitSpeed »

Adam Atomic

  • Founder
  • Key Contributor
  • *****
  • Posts: 852
  • Karma: +0/-0
  • new dad
    • View Profile
    • Adam Atomic
Re: v1.3 is up on github
« Reply #2 on: Wed, Dec 9, 2009 »
Trying running in debug mode (the little beetle icon) - a lot of errors in flash get hidden or happen at runtime, especially regarding arrays (which changed dramatically for 1.3, hopefully for the last time!!)

BullitSpeed

  • Contributor
  • ****
  • Posts: 264
  • Karma: +0/-0
    • View Profile
    • My Website!
Re: v1.3 is up on github
« Reply #3 on: Wed, Dec 9, 2009 »
Code: [Select]
for(var i:uint = 0; i < 100; i++)
     _bullets.add(this.add(new Projectile01()));

TypeError: Error #1006: add is not a function.
What changed that would have caused this?
« Last Edit: Wed, Dec 9, 2009 by BullitSpeed »

Markham

  • Guest
Re: v1.3 is up on github
« Reply #4 on: Wed, Dec 9, 2009 »
I think it needs to be _bullets.push() since _bullets is probably now just an Array instead of a FlxArray.

BullitSpeed

  • Contributor
  • ****
  • Posts: 264
  • Karma: +0/-0
    • View Profile
    • My Website!
Re: v1.3 is up on github
« Reply #5 on: Wed, Dec 9, 2009 »
Yep that was it!  The project now works. :D

Adam Atomic

  • Founder
  • Key Contributor
  • *****
  • Posts: 852
  • Karma: +0/-0
  • new dad
    • View Profile
    • Adam Atomic
Re: v1.3 is up on github
« Reply #6 on: Thu, Dec 10, 2009 »
pushed up some collision fixes for v1.31!

http://wiki.github.com/AdamAtomic/flixel/release-notes

EDIT - pushed up 1.32 with some more bug fixes, now back to features!
« Last Edit: Thu, Dec 10, 2009 by Adam Atomic »

BullitSpeed

  • Contributor
  • ****
  • Posts: 264
  • Karma: +0/-0
    • View Profile
    • My Website!
Re: v1.3 is up on github
« Reply #7 on: Thu, Dec 10, 2009 »
sweet!

Adam Atomic

  • Founder
  • Key Contributor
  • *****
  • Posts: 852
  • Karma: +0/-0
  • new dad
    • View Profile
    • Adam Atomic
Re: v1.3 is up on github
« Reply #8 on: Thu, Dec 10, 2009 »
More bug fixes and sprite sheet support are up (v1.34)

ClimbHigh

  • Guest
Re: v1.3 is up on github
« Reply #9 on: Thu, Dec 10, 2009 »
Thanks for all those updates !
Just a thing, I like a lot the documentation on this site : http://www.ivansafrin.com/nanodoc/flixel/ but it's not up to date.
Is there an easy way to generate one from the source ? Or a place somewhere on the Internet where it's up to date ?

BullitSpeed

  • Contributor
  • ****
  • Posts: 264
  • Karma: +0/-0
    • View Profile
    • My Website!
Re: v1.3 is up on github
« Reply #10 on: Thu, Dec 10, 2009 »
this rocks :D

Richard Kain

  • Active Member
  • ***
  • Posts: 231
  • Karma: +0/-0
    • View Profile
Re: v1.3 is up on github
« Reply #11 on: Thu, Dec 10, 2009 »
Whooo Hooo! Sprite Sheet support! Now I don't have to go back in and add that functionality for every project I work on. I likes me lots of animation frames, so Sprite Sheets are a must.

mklee

  • Member
  • **
  • Posts: 68
  • Karma: +0/-0
    • View Profile
Re: v1.3 is up on github
« Reply #12 on: Thu, Dec 10, 2009 »
The progress on Flixel now is approaching Lucy levels of speed!

Adam Atomic

  • Founder
  • Key Contributor
  • *****
  • Posts: 852
  • Karma: +0/-0
  • new dad
    • View Profile
    • Adam Atomic
Re: v1.3 is up on github
« Reply #13 on: Thu, Dec 10, 2009 »
Thanks for all those updates !
Just a thing, I like a lot the documentation on this site : http://www.ivansafrin.com/nanodoc/flixel/ but it's not up to date.
Is there an easy way to generate one from the source ? Or a place somewhere on the Internet where it's up to date ?

It's still gonna be another week or so I think until I get the documentation into github, but it's been re-skinned and has search and some other nice stuff.  Just waiting for ivans to clean it up a bit and then we should be all set :)

vonWolfehaus

  • Active Member
  • ***
  • Posts: 247
  • Karma: +0/-0
    • View Profile
    • Cold Constructs
Re: v1.3 is up on github
« Reply #14 on: Thu, Dec 10, 2009 »
Adam, just wanted to mention that the documentation in your source code is, quite frankly, hilarious.

Thanks man.
« Last Edit: Thu, Dec 10, 2009 by vonWolfehaus »
Meet Obama every day at #flixel on irc.freenode.net.
Use your favorite IRC client or  http://webchat.freenode.net/

Adam Atomic

  • Founder
  • Key Contributor
  • *****
  • Posts: 852
  • Karma: +0/-0
  • new dad
    • View Profile
    • Adam Atomic
Re: v1.3 is up on github
« Reply #15 on: Thu, Dec 10, 2009 »
haha! you're welcome i think?  Also 1.35 is UP, with massive improvements to how flixel handles sound!!

PaulGene

  • Member
  • **
  • Posts: 83
  • Karma: +0/-0
    • View Profile
    • PaulGenehompson
Re: v1.3 is up on github
« Reply #16 on: Fri, Dec 11, 2009 »
All these updates are bloody brilliant ;D

I was going to add some proximity sound... dont need to now!

Keep up the great work m8 its VERY much appreciated

Socapex

  • Active Member
  • ***
  • Posts: 156
  • Karma: +0/-0
    • View Profile
Re: v1.3 is up on github
« Reply #17 on: Fri, Dec 11, 2009 »
Completely wicked. Thanks so much Adam, especially for integrating sprite sheets.
Free cake every day at #flixel on irc.freenode.net.
Use your favorite IRC client or  http://webchat.freenode.net/

BullitSpeed

  • Contributor
  • ****
  • Posts: 264
  • Karma: +0/-0
    • View Profile
    • My Website!
Re: v1.3 is up on github
« Reply #18 on: Fri, Dec 11, 2009 »
Thank you thank you thank you.  These updates are fantastic!

The sound enhancements are very nice and thanks very much for the pause button!  By the way, is there any way to get around the MP3 moment of silence embedded into audio that disrupts seamless looping?

Adam Atomic

  • Founder
  • Key Contributor
  • *****
  • Posts: 852
  • Karma: +0/-0
  • new dad
    • View Profile
    • Adam Atomic
Re: v1.3 is up on github
« Reply #19 on: Fri, Dec 11, 2009 »
Not really :(  best to just compose the loops so that is is as least-noticeable as possible.  Here's a good page about that stuff that I dug up a while ago:

http://www.compuphase.com/mp3/mp3loops.htm

Pain in the ass!!  Hopefully the musagi stuff loops seamlessly when we get it integrated