Shop OBEX P1 Docs P2 Docs Learn Events
Battlez0wned: 3D tank combat on networked HYDRAs (sneak peek) — Parallax Forums

Battlez0wned: 3D tank combat on networked HYDRAs (sneak peek)

mparkmpark Posts: 1,305
edited 2009-06-06 18:40 in Propeller 1
I hope to have this running at NWCGE in Portland (Oregon) this weekend, so if you're in the neighborhood, drop by. Otherwise you'll have to settle for this blurry video and pic:

www.youtube.com/watch?v=e708sfBKfoU

Sorry about the low picture quality. I hope you can make out what's going on.



Michael


EDIT: Changed video link to YouTube.

Post Edited (mpark) : 4/4/2010 5:19:15 PM GMT

Comments

  • Ym2413aYm2413a Posts: 630
    edited 2007-09-27 08:31
    oh my god... THAT IS SO AWESOME!!!!!!! [noparse]:)[/noparse] [noparse]:)[/noparse] [noparse]:)[/noparse] [noparse]:)[/noparse] [noparse]:)[/noparse]
  • BaggersBaggers Posts: 3,019
    edited 2007-09-27 08:33
    Yeah, what he said lol
  • CardboardGuruCardboardGuru Posts: 443
    edited 2007-09-27 09:40
    Looks fantastic! Have you networked 2 Hydras, or are you somehow running both TVs off the same one?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Help to build the Propeller wiki - propeller.wikispaces.com
    Prop Room Robotics - my web store for Roomba spare parts in the UK
  • JT CookJT Cook Posts: 487
    edited 2007-09-27 13:19
    Ditto, that is pretty cool.

    Vecter deathmatch.
    93 x 128 - 4K
  • BamseBamse Posts: 561
    edited 2007-09-27 13:43
    Very impressive...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Living on the planet Earth might be expensive but it includes a free trip around the sun every year...

    Experience level:
    [noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
    [noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
    [noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
    [noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
    [noparse][[/noparse] ] I dream in SX28 assembler...

    /Bamse
  • mparkmpark Posts: 1,305
    edited 2007-09-27 14:13
    Thanks, guys! I just wish I had enough memory left for sound.

    CardboardGuru, it's two HYDRAs connected with HYDRA-NET (phone cord).
  • JT CookJT Cook Posts: 487
    edited 2007-09-27 14:36
    Are you using 4 color bitmap or 2 color bitmap?
  • potatoheadpotatohead Posts: 10,253
    edited 2007-09-27 15:56
    Excellent!!

    Well now I'm just gonna have to show up at the show.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Wiki: Share the coolness!
  • mparkmpark Posts: 1,305
    edited 2007-09-27 16:05
    JT -- it's 4-color. I don't think I want to give up my 3 shades of glowing green for sound, if that's where you're headed. I'd rather explore writing a teeny-tiny sound driver.

    Potatohead -- Please do!





    m
  • ColeyColey Posts: 1,108
    edited 2007-09-27 20:29
    Wow!

    Well done mpark, I can't wait to see the finished article if this is WIP....

    Coley
  • BaggersBaggers Posts: 3,019
    edited 2007-09-27 21:29
    Is there going to be a one player version?
  • mparkmpark Posts: 1,305
    edited 2007-09-27 23:07
    I'm not particularly interested in single-player, mostly because I have no idea how to do the enemy AI. However, if someone would like to give it a shot we could maybe collaborate.
  • BaggersBaggers Posts: 3,019
    edited 2007-09-28 07:01
    sure [noparse]:)[/noparse]
  • mparkmpark Posts: 1,305
    edited 2007-09-28 16:42
    Cool! But I must warn you there's hardly any room left for AI.

    What I'll do is clean things up a bit (and hopefully save some memory) and just post the source for two-player. I believe the value of this program is less as a game and more as a demonstration of the power of the Propeller. I wrote the whole thing in Spin; the only assembly language is in the drivers (standard Parallax TV and graphics drivers).

    The point being: This is something you can do with brain-dead algorithms in unoptimized Spin. Now imagine what you could do with some real coding--and do it!

    Heading off to Portland now. Hope I can get online at some point.
  • BaggersBaggers Posts: 3,019
    edited 2007-09-28 20:13
    Ok, sounds like a plan, [noparse]:)[/noparse]
    yes, the propeller is an amazing chip, we can't thank Chip enough for this great gift to us all [noparse]:)[/noparse]
    Hope you have fun at Portland.

    Baggers.
  • JT CookJT Cook Posts: 487
    edited 2007-09-28 22:52
    I live in central Iowa, so Portland OR is a little out of my way.
    But I would imagine there would be enough memory for a single player version if someone made a seperate app and pulled all the networking code.
  • BaggersBaggers Posts: 3,019
    edited 2007-09-29 09:03
    Pulling the network code was going to be my first port of call if the memory ran out doing AI.
  • AndreLAndreL Posts: 1,004
    edited 2007-10-03 03:19
    This is totally sweet, glad someone used my network port. Using a phone cable and reflection cancellation and hours of Oscope work to get it to work doesn't help if no one uses it [noparse]:)[/noparse] So I am glad this first game is such an amazing demo.

    Andre'
  • Ym2413aYm2413a Posts: 630
    edited 2007-10-08 05:24
    How many cogs does it take so far when running? [noparse]:)[/noparse]
    I got an idea!
  • mparkmpark Posts: 1,305
    edited 2007-10-08 21:39
    I believe it's using all eight, but two could be freed up easily. What's your idea?
  • Ym2413aYm2413a Posts: 630
    edited 2007-10-10 14:10
    I was thinking of adding multi-channel sound support for ya' in less then 1k of HUB-ram. [noparse];)[/noparse]
    Only I'll need one COG to do so.

    --Andrew Arsenault.
  • mparkmpark Posts: 1,305
    edited 2007-10-10 21:39
    Kewl! Keep an eye on the Project: BZ thread. I just might try to clean up the code, hopefully free up some cogs and some memory.
  • CassLanCassLan Posts: 586
    edited 2009-04-30 17:26
    Wow! That is really something!!

    Any recent updates?

    Rick
  • ColeyColey Posts: 1,108
    edited 2009-04-30 17:51
    The source is here....
    http://forums.parallax.com/showthread.php?p=680362 cool.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    PropGFX - The home of the Hybrid Development System and PropGFX Lite
  • MicrocontrolledMicrocontrolled Posts: 2,461
    edited 2009-06-05 23:27
    Nice game!!!!! what Graphics engine did you use for it?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Toys are microcontroled.
    Robots are microcontroled.
    I am microcontrolled.
  • mparkmpark Posts: 1,305
    edited 2009-06-06 18:40
    I guess it depends on what you mean by "engine".

    I wrote the 3D-to-2D transformation code myself, but I used the standard Parallax TV and Graphics drivers to actually draw the lines and display everything on the screen.

    Check out the source: http://forums.parallax.com/forums/default.aspx?f=33&m=221357
Sign In or Register to comment.