Author Topic: Friendly Blobs!  (Read 7055 times)

0 Members and 1 Guest are viewing this topic.

Offline Kirl

  • Senior Member
  • Pentium
  • ********
  • Posts: 1219
  • Karma: 231
    • View Profile
    • Homepage
Friendly Blobs!
« on: February 12, 2012 »
I just wanted to show off the blob to blob collisions which I'm really happy with!   :updance:
I lost my 1st collision code due to a crash my housemate caused while I wasn't around (I forgot to save).  :telloff:
Now I'm happy it happened because I squashed (really obliterated) a very annoying bug in the rewrite. The blobs would sometimes get stuck in eachother because I moved points away from the center of colliding blobs. Fixed it by moving them towards the center of the blob they belong to instead.

<a href="http://kirl.nl/locoRocko.swf" target="_blank" class="new_win">http://kirl.nl/locoRocko.swf</a>
Ctrl to add blob, D to remove
Arrow keys to move
Click & Drag blob around
Click blob to split
+ & - to resize blob
Space to toggle link structure
« Last Edit: February 12, 2012 by Kirl »
www.kirl.nl
Challenge Trophies Won:

Offline jose gonzalez

  • ZX 81
  • *
  • Posts: 13
  • Karma: 1
    • View Profile
Re: Friendly Blobs!
« Reply #1 on: February 12, 2012 »
Excelente programa.   Felicidades!!!!!

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: Friendly Blobs!
« Reply #2 on: February 12, 2012 »
Awesome  :clap: Makes fun to play with it!

+/- keys doesnt seem to take any effect though!

Keep it up!
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17422
  • Karma: 499
  • evil/good
    • View Profile
    • My Homepage
Re: Friendly Blobs!
« Reply #3 on: February 12, 2012 »
It even runs fast on Android, great work kirl :)
Shockwave ^ Codigos
Challenge Trophies Won:

Offline jace_stknights

  • Amiga 1200
  • ****
  • Posts: 399
  • Karma: 32
  • PEEK & POKE are not MOVEM!
    • View Profile
    • ST Knights WebSite
Re: Friendly Blobs!
« Reply #4 on: February 12, 2012 »
wonderfull!!!  :clap: :clap: :clap: :clap: :clap:
Challenge Trophies Won:

Offline Kirl

  • Senior Member
  • Pentium
  • ********
  • Posts: 1219
  • Karma: 231
    • View Profile
    • Homepage
Re: Friendly Blobs!
« Reply #5 on: February 12, 2012 »
Thank you guys! :)

Great to hear it still runs on android!
I'm not sure why the +- don't work for you benny. You should hold them down for a while and it only scales the active blob.

I want to give them some sort of voices, but finding or making some apropriate sounds is quite difficult...
www.kirl.nl
Challenge Trophies Won:

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: Friendly Blobs!
« Reply #6 on: February 13, 2012 »
@Kirl:
Tested it again. The "normal" +/- keys work. The +/- keys from the numpad do not work.
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: Friendly Blobs!
« Reply #7 on: February 16, 2012 »
This is so cool   :kewl:
Challenge Trophies Won:

Offline Kirl

  • Senior Member
  • Pentium
  • ********
  • Posts: 1219
  • Karma: 231
    • View Profile
    • Homepage
Re: Friendly Blobs!
« Reply #8 on: February 18, 2012 »
I improved the collsions quite a bit and made it much more stable in the process (without any extra cost). This means there is much more flexibility in playing with the various physics values including the blob stiffness!
:updance:

To convey how I feel about this in a concise manner, I present you my first ever celebratory haiku:
Sometimes I rock
Tonight I rocked
I am really pleased with myself!
;D

And thanx rbz! :)
« Last Edit: February 18, 2012 by Kirl »
www.kirl.nl
Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: Friendly Blobs!
« Reply #9 on: February 19, 2012 »
Very nicely done!  Big fan of the loco roco games.  The faces are great.
Jim
PS Sorry it's taken me so long to comment!
Challenge Trophies Won:

Offline Kirl

  • Senior Member
  • Pentium
  • ********
  • Posts: 1219
  • Karma: 231
    • View Profile
    • Homepage
Re: Friendly Blobs!
« Reply #10 on: February 19, 2012 »
Thanks jim! I can only hope to turn this into something nearly as cool as locoroco! :)

I copied the face from a very old lip synch project. I also realised this soft body code can be used to simulate cloth, like your destruction entry which impressed me a lot!
www.kirl.nl
Challenge Trophies Won:

Offline staticgerbil

  • Atari ST
  • ***
  • Posts: 113
  • Karma: 8
    • View Profile
Re: Friendly Blobs!
« Reply #11 on: February 20, 2012 »
Very cute!

Nice work :)