Flixel Forums

development => releases => Topic started by: Adam Atomic on Tue, Apr 26, 2011

Title: v2.50 demo activity
Post by: Adam Atomic on Tue, Apr 26, 2011
Hey flixelers!  I am wrapping up the new website, and one of the things it will have (among many others!) is a FEATURES page.  It will look something like this hasty mockup, sort of:

(http://flixel.org/features_mockup.jpg)

The idea is to create some nice little interactive demos, kind of like this one on the tweenlite homepage (scroll down to the Interactive Demo section) (http://www.greensock.com/tweenlite/).  While I can create all these demos myself, I thought this would be a cool opportunity for some community involvement.  I can and probably will create at least a few of these just to serve as examples for the other examples, if that makes sense...

HOWEVER, because these are forward-facing, public, sanctioned demos, there are some fairly strict requirements:

UPDATE: there is now a simple template project that you can download that has most of these specs set up already. (https://github.com/AdamAtomic/FeaturesTemplate)

That's about all I can think of at the moment.  Like the TweenLite demo, I think these demos will be best served with mouse-driven, checkbox-y style behaviors.  Just simple, focused mini-apps that show off a specific feature and thus provide good source code or samples for other developers, especially beginners.

Have I scared you off yet??  If not, here are the general feature areas that I think would benefit from having demos:


I am totally open to more ideas, though these kinds of specialized or focused topics are the ones that will benefit most from these micro-demos and their accompanying explanations.  As always I'd be happy to answer any questions about the guidelines or look over submissions, and I'm looking forward to seeing this stuff come together!  Hope you guys had a good holiday weekend and I'm looking forward to Ludum Dare 20 this weekend!
Title: Re: v2.50 demo activity
Post by: carls on Tue, Apr 26, 2011
I'm excited to see this new site =)
Title: Re: v2.50 demo activity
Post by: goshki on Wed, Apr 27, 2011
Would you be interested in Flixel/LuaAlchemy (http://code.google.com/p/lua-alchemy/) integration example? I'll be doing such demo anyway so I could make a bare-bones example for Features page. Or maybe that would rather fit into some kind of advanced examples page?
Title: Re: v2.50 demo activity
Post by: Adam Atomic on Wed, Apr 27, 2011
that sounds awesome but that might be better suited to the flash game dojo wiki?
Title: Re: v2.50 demo activity
Post by: axcho on Wed, Apr 27, 2011
I'll probably be focusing on my Flox2D plugin for now... I'd be glad to make a demo for it, but since it involves additional code files it might not be appropriate for this list.

Either way though, could you just announce a particular framerate you want for the MenuState? Better than hoping everyone happens upon the right one.

Even better, could you just release an example MenuState that has the graphical style and information and formatting you want us to display?
Title: Re: v2.50 demo activity
Post by: Adam Atomic on Wed, Apr 27, 2011
yea actually making a demo template project is a really good idea, i will do that right now!

ok here you go: https://github.com/AdamAtomic/FeaturesTemplate

updated the top post to link it as well, thanks for the idea :)
Title: Re: v2.50 demo activity
Post by: initials on Wed, Apr 27, 2011
First of all, everything that is new is fantastic!

One area that seems to be lacking documentation and a demo is score and scores. I know they are used in FlxInvaders, but I think just a quick explanation of each would really benefit Flixel. Most games have scores, right?

[edit] specifically, scores is an Array, and how that works, what to do with it would be great. score is pretty straight forward. [edit]
Title: Re: v2.50 demo activity
Post by: Adam Atomic on Thu, Apr 28, 2011
i'm not sure what to say about it really, its not really for anything in particular, just for putting stuff in if you feel like.  doesn't have any automatic behavior or anything, just a container for stuff that is common...
Title: Re: v2.50 demo activity
Post by: Adam Atomic on Fri, Apr 29, 2011
This is pretty awesome you guys, we have three demos started already! You can check em out on the features page http://flixel.org/features.html (groups and tilemaps should be up in a few minutes anyways) Feel free to give feedback or fork the projects to help make them as awesome as possible :)
Title: Re: v2.50 demo activity
Post by: phmongeau on Fri, Apr 29, 2011
I'm trying to make a split screen demo.

It's almost finished, but I can't figure out a good way to add a border to the FlxCameras. I tried using a big FlxSprite, but it lowers the frame rate way to much.

Anyone has an better idea?

Here's what I've got so far (without borders) (http://dl.dropbox.com/u/67075/SplitScreen/testpage.html)

edit: source code (https://github.com/phmongeau/SplitScreen)
Title: Re: v2.50 demo activity
Post by: mightiest_hero on Sat, Apr 30, 2011
Hi Adam,
I'm already creating tutorial for pathfinding maybe you want to add my tutorial in features. I'm still new in svn or git so please guide me. this the link
http://code.google.com/p/flixel-tutorial/
Thanks
Title: Re: v2.50 demo activity
Post by: phmongeau on Sat, Apr 30, 2011
Unless someone as an idea they want me to add, I think I'm done with the split screen demo. :)

http://dl.dropbox.com/u/67075/SplitScreen/testpage.html (http://dl.dropbox.com/u/67075/SplitScreen/testpage.html) (Same link as before)

source (https://github.com/phmongeau/SplitScreen)

I added a quit button and tinted the cameras to differentiate them.
Title: Re: v2.50 demo activity
Post by: Adam Atomic on Sat, Apr 30, 2011
i'll post split-screen tomorrow!  for now passing out, LD48 burnout oooofff
Title: Re: v2.50 demo activity
Post by: Adam Atomic on Sun, May 1, 2011
i'm posting this to the page now - what I'll do (like I did witht he other ones) is I will host the SWF, and provide links to the source code, but it will be up to you to just email or twitter me a new SWF should the demo change so much form community feedback that the SWF doesn't really loook like the source code anymore.  otherwise it's fine for the SWF and the repo to be slightly out of sync :)
Title: Re: v2.50 demo activity
Post by: TestSubject06 on Sun, May 1, 2011
I just finished a FlxSave demo. Will probably do the Debugger demo either tomorrow when I get home from class, or Tuesday
Title: Re: v2.50 demo activity
Post by: deadkidsong on Sun, May 1, 2011
I am working on a replay demo and almost finished. I am trying to upload it to githud now(I am new to that.)

UPDATE

Checkout github.com/deadkidsong/Flixel_Replay_DEMO/

record and replay keyboard input
Not 100% exact somewhow, I think it is because of physics or sth about multi-input at same frame.
Title: Re: v2.50 demo activity
Post by: Adam Atomic on Mon, May 2, 2011
Awesome progress so far you guys!  Remember, to make these demos as awesome as possible, I want to encourage community feedback regarding both the demo and the demo's source code!  These things are turning out pretty great, but I know Flixel wouldn't be as good without other sets of eyes looking it over :)
Title: Re: v2.50 demo activity
Post by: deadkidsong on Mon, May 2, 2011
UPDATE on the replay demo

blue block(keyboard) works good now
but I also intended to record and replay mouse's position, but I had problem: http://flixel.org/forums/index.php?topic=3787.0 (http://flixel.org/forums/index.php?topic=3787.0)

Current progress: http://megaswf.com/serve/1106974 (http://megaswf.com/serve/1106974)
Title: Re: v2.50 demo activity
Post by: Adam Atomic on Mon, May 2, 2011
coming along really nicely!  i replied to your thread in help, i hope it... helps :)
Title: Re: v2.50 demo activity
Post by: deadkidsong on Mon, May 2, 2011
Replay DEMO done

check out:

https://github.com/deadkidsong/Flixel_Replay_DEMO (https://github.com/deadkidsong/Flixel_Replay_DEMO)

http://www.swfcabin.com/open/1304403296 (http://www.swfcabin.com/open/1304403296)
Title: Re: v2.50 demo activity
Post by: Adam Atomic on Tue, May 3, 2011
This is so rad you guys!!  I went through and rewrote a lot of the features page text to include links to documentation, and updated the checklist:

Title: Re: v2.50 demo activity
Post by: TestSubject06 on Tue, May 3, 2011
"and FlxEmitter is just an extension of creating and launching particles,"
could be
'and FlxEmitter is just a means of creating and launching particles'?

Also, totally working on debugger demo right now
Title: Re: v2.50 demo activity
Post by: Adam Atomic on Tue, May 3, 2011
cool, good catch - i missed a closing quote in the html :)
Title: Re: v2.50 demo activity
Post by: deadkidsong on Tue, May 3, 2011
From features page, a "thousand object demo" is wanted?
Title: Re: v2.50 demo activity
Post by: AdamHarte on Tue, May 3, 2011
This is great! These kind of simple demos all in one accessible place is exactly what flixel needed, especially for people on the verge of getting started or not.

I also think it is very important for the community that these examples stay updated. So there is always a place where you can trust to get good reference code on the main features.

Nice work guys! :)
Title: Re: v2.50 demo activity
Post by: TestSubject06 on Thu, May 5, 2011
Sorry for the huge delay on this Debugger demo, lot of stuff going on around me, and I'm going to be out all day tomorrow.
Title: Re: v2.50 demo activity
Post by: zuperxtreme on Mon, May 9, 2011
Love the new page, very cool guys.

Looks like I'll have to switch to 2.5 soon. :)
Title: Re: v2.50 demo activity
Post by: AdamHarte on Sat, Jun 25, 2011
Might be nice to have a demo on the features page about how easy it is to make a HUD or a menu.
Title: Re: v2.50 demo activity
Post by: werem on Mon, Mar 26, 2012
I'm trying to migrate from v2.43 to v2.50. The classes are very different and the first try was all error-red. Several overrided methods no longer exist...

The reason I try to migrate is the color bitmap level design feature(http://forums.flixel.org/index.php/topic,5086.msg28301.html#msg28301).

Is there a place when I can see the way to migrate from one version to another? Whats the best way to go?

Thanks in advance.