Archive for the ‘ Red5 ’ Category

First Papervision3D Game!

ObstacleCourse game

Anyone remember the original 1992 Xwing game? When you first started playing the game, you had to do obstacle courses to learn how to fly the various ships. They all had their strengths and you needed to learn how to navigate using those strengths basically.

I couldn’t find a screen shot online of the obstacles, so the ones I created are purely from memory. But they’re fun and they get the job done, so how cares, right? I added a little mutliplayer element with the Leader Board (that added a couple extra days), and I think it really makes it 1000x’s more fun if you see your friend’s times 🙂

The workflow was incredible on creating this game! All told, i think this is probably about 4weeks work, and that’s with all of the learning curves. I was able to create all courses in 3D Studio Max, export as collada and load at runtime! All I had to do was right a little code around handling the child objects of the collada object (better known as obstacles) and whenever I loaded a new course, it already knows where they are and how many etc. Then, to allow for more obstacles to be used in a course, I only show 10 at a time. Couldn’t be easier to create new corses!

I think with this demo, we can see Paperworld taking shape as this uses many of the same features and principles of what we’re putting together for Paperworld.  On my laptop with dualcore2, it smokes at 30fps!

The objective is simple: Follow the arrow and get through all of the obstacles as fast as you can.

Tips:

  • WATCH YOUR SPEED – DO NOT JUST HOLD DOWN “W” – TAP IT TO SPEED UP AND USE “S” TO SLOW AT THE OBSTACLES TO MAKE YOUR TURNS.
  • Use the roll keys (A, D) to orient yourself to the oncoming obstacle.
  • If you don’t have a fast computer, flying in cockpit view helps give you some extra speed by not rendering the Xwing
  • Go fullscreen and back to gain speed while playing in the browser (remember to go back, otherwise your keys won’t work in fullscreen mode)

Check out the videos:

REQUIRES FLASH PLAYER 9.0.28 OR HIGHER – CLICK HERE FOR ADOBE DOWNLOADS

Play it here!


Rings Race

Speed Test

Cork Screw
Advertisements

Red5 :: Flex2/AS3 Samples started

SimpleConnector

I’ve just started on some basic sample/reusable code for creating basic applications with Flex/as3 that use Red5. The first, is a Connection class along with a SimpleConnector.mxml to show how to use the Connection class.

SimpleConnector has a textfield for the URI, Red/Green light for connection status and a connect button. There are methods to get the NetConnection object to pass along for any netstreaming you’ll be doing. This zip includes the orignal FLVPlayer code that now uses the SimpleConnector.mxml and Connection class.

We’re still discussing where we’ll put the sample code for Red5, but for now, I’ll post updates here.

Red5Samples.zip

Red5 Flex2/AS3 Demo :: FLV Stream Player

I went ahead and re-routed some of the guts of my soon to come FLVPlayer to work with Red5 and streaming. This is a Flex2/AS3 app with source so people can have some basic code in getting started with Red5 and Flex2/AS3. This was built with Red5 v0.6RC1.

Source:
Get the updated source

Red5 Flex FLVPlayer

Enjoy!

FITC Hollywood – What a great time!

Well, I finaly got the midi/drum/flash/red5 demo ready enough to show at FITC and it was a party to say the least! The crowd was cool, friends helped me out tremendeously to truck gear from the room to the conf rooms and back.

You can see the original demo from home:
http://www.rockonflash.com/demos/MidiDemo/Demo.html

setting up

After some minor technical issues, I got it fired up and we rocked for an hour 😉

The crowd was really into it, which amazed me. I was just hoping to get it to work and some musicians would dig it, but by the time it was over, someone asked for an encore (which blew me away) and we thew down Subdivisions by Rush.

The first song was Tom Sawyer, which I never made it all the way through for. Then it ended with a Dream Theater montage which you can see here or hear on YouTube.com. Keith posted about it on his blog (BIG thanks for doing that Keith!). www.bit-101.com/blog/?p=879

Playing along with Tom Sawyer Video


I just wanted to say thanks to Chris Allen, Keith Peters, Mark Cohn (BLITZ), Robert Gale, Luke Hubbard, Joachim Bauch, Steven Gong, Chris Mills, and Tina Paulson for helping me get it all working, getting the equipment to the stage and getting setup – it was a family effort!!

Below, I included the slide from the presentation that basically explains the flow of what I did. And I thought to include a shot of what my office looked like for 8 weeks (notice the kick pedals under the desk 😉

ROCK ON \m/

Diagram of programatic flow
Advertisements