eigenbom
|
|
« Reply #1320 on: January 16, 2013, 01:09:56 AM » |
|
Update: Added a particle system, so now when you hit and break blocks, little pixel-sized particles fly off. Some blocks (grass, vines, ..) don't spawn block items when they are destroyed. The particles took me all day. First I (lazily) tried to model each particle as a Box2D body, but alas, it was too slow. In the end I decided to manually handle the physics and particles, while using Box2D for collision detection. I also batch the particle drawing using vertex arrays. To avoid draining the system, I've capped the on-screen particles to around 256 iirc. They are stored in a circular buffer (so older particles get overwritten by newer ones). I wanted to do a vid but it's been a ~10 hour coding day, so maybe next time. buhbye!
|
|
|
Logged
|
|
|
|
eigenbom
|
|
« Reply #1321 on: January 21, 2013, 05:55:44 PM » |
|
|
|
|
Logged
|
|
|
|
Code_Assassin
|
|
« Reply #1322 on: January 21, 2013, 06:19:50 PM » |
|
NOOOOOOOOOOOOOOOOOOOOOOOOOOOO U is a marderer.
|
|
|
Logged
|
|
|
|
poe
Guest
|
|
« Reply #1323 on: January 21, 2013, 06:31:57 PM » |
|
Love the particles! Cats need to make cat particles.
|
|
|
Logged
|
|
|
|
DustyDrake
|
|
« Reply #1324 on: January 21, 2013, 06:40:50 PM » |
|
I'd like to point out that when that gif was loading, it was just everyone's there and happy, then there was a layer of blood on the ground. No explosions, just everything stopped, then dissapeared
|
|
|
Logged
|
|
|
|
Ashkin
Guest
|
|
« Reply #1325 on: January 21, 2013, 07:56:30 PM » |
|
It's... BEAUTIFUL. Love the particles! Cats need to make cat particles.
And then those cats explode into cats, and those cats explode into more cats...
|
|
|
Logged
|
|
|
|
happymonster
|
|
« Reply #1326 on: January 22, 2013, 12:08:06 AM » |
|
|
|
|
Logged
|
|
|
|
Thecoolestnerdguy
Level 2
while(!succeed) try();
|
|
« Reply #1327 on: January 22, 2013, 04:29:40 AM » |
|
It's... BEAUTIFUL. Love the particles! Cats need to make cat particles.
And then those cats explode into cats, and those cats explode into more cats... This can be possibly dangerous...
|
|
|
Logged
|
minecraft didnt copyright squares
|
|
|
poe
Guest
|
|
« Reply #1328 on: January 22, 2013, 01:40:59 PM » |
|
It's... BEAUTIFUL. Love the particles! Cats need to make cat particles.
And then those cats explode into cats, and those cats explode into more cats... Without this feature, the game will fail.
|
|
|
Logged
|
|
|
|
|
poe
Guest
|
|
« Reply #1330 on: January 22, 2013, 02:25:52 PM » |
|
you two are aware of catsplosions in dwarf fortress right ?
I am now.
|
|
|
Logged
|
|
|
|
eigenbom
|
|
« Reply #1331 on: January 22, 2013, 02:28:59 PM » |
|
wow, thx for the link.
|
|
|
Logged
|
|
|
|
|
eigenbom
|
|
« Reply #1333 on: January 22, 2013, 05:57:20 PM » |
|
Shush RICHARD PHIPPS 2010!
|
|
|
Logged
|
|
|
|
Belimoth
|
|
« Reply #1334 on: January 22, 2013, 06:03:18 PM » |
|
lol
|
|
|
Logged
|
|
|
|
happymonster
|
|
« Reply #1335 on: January 22, 2013, 06:15:01 PM » |
|
Bah!
|
|
|
Logged
|
|
|
|
eigenbom
|
|
« Reply #1336 on: January 22, 2013, 09:40:10 PM » |
|
Update: Added life/health bar, death, exploding rabbits, etc. I also added the very first mob, although he's harmless atm. Watch this video (in 720p and fullscreen) and enjoy the pointless slaughter of hundreds of spiders.
|
|
|
Logged
|
|
|
|
Code_Assassin
|
|
« Reply #1337 on: January 23, 2013, 12:15:03 AM » |
|
Update: Added life/health bar, death, exploding rabbits, etc. I also added the very first mob, although he's harmless atm. Watch this video (in 720p and fullscreen) and enjoy the pointless slaughter of hundreds of spiders. yay.
|
|
|
Logged
|
|
|
|
Thecoolestnerdguy
Level 2
while(!succeed) try();
|
|
« Reply #1338 on: January 23, 2013, 05:24:35 AM » |
|
Update:I also added the very first mob, although he's harmless atm.
First mob? Cute rabbits don't count as mobs?
|
|
|
Logged
|
minecraft didnt copyright squares
|
|
|
Pixelulsar
|
|
« Reply #1339 on: January 23, 2013, 12:34:12 PM » |
|
Update: Added life/health bar, death, exploding rabbits, etc. I also added the very first mob, although he's harmless atm. Watch this video (in 720p and fullscreen) and enjoy the pointless slaughter of hundreds of spiders.
Cool spiders, They should be able to walk on roofs and stuff too. Also exploding cats and bunnies are cool.
|
|
|
Logged
|
|
|
|
|