[SPRITES] Spriting Carnival!!

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: [SPRITES] Spriting Carnival!!

Post by The Zombie Killer »

@scalliano
That actually sounds like a pretty good idea. I have an idea on how to do it, but I only have access to an Android tablet right now...

Basically something like this:

Code: Select all

Heal:
    TNT1 A 0 A_CheckFlag("FRIENDLY", "IsFriendly", AAPTR_DEFAULT) // Only heal enemies
    TNT1 A 0 A_JumpIfInventory("HealItem", 1, 1)
    Goto See
    TNT1 A 0 HealThing(1)
    TNT1 A 0 A_TakeInventory("HealItem", 1)
    Goto Heal
IsFriendly:
    TNT1 A 0 A_JumpIfInventory("HealItem", 1, 1)
    Goto See
    TNT1 A 0 A_TakeInventory("HealItem", 9999) // Prevent 0-tic loop, can 0x7FFFFFFF be
                                               // used instead of 9999?
    Goto See
-TZK
Last edited by The Zombie Killer on Sat Sep 14, 2013 7:07 am, edited 2 times in total.
User avatar
scalliano
Posts: 2871
Joined: Tue Jun 21, 2005 1:16 pm
Location: Ireland

Re: [SPRITES] Spriting Carnival!!

Post by scalliano »

It's definitely a start, although it still commands further investigation.

Also, ended up going with IMX's idea and combined versions 1 and 3:

Image
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: [SPRITES] Spriting Carnival!!

Post by The Zombie Killer »

@scalliano
The current state of the above edited-multiple-times code is probably the best I can do without testing.
I'm just worried about any 0-tic loops that might occur.

Sprites are lookin' awesome by the way.

-TZK
User avatar
scalliano
Posts: 2871
Joined: Tue Jun 21, 2005 1:16 pm
Location: Ireland

Re: [SPRITES] Spriting Carnival!!

Post by scalliano »

Cheers :D

If there was a means of getting an actor to attack both the player and other monsters, this would be so much easier :P
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: [SPRITES] Spriting Carnival!!

Post by The Zombie Killer »

@scalliano
No problem.
I'm actually tempted to attempt to get a monster to hate everyone now. If only I could access my PC. I imagine it would involve lots of A_CheckSight's, A_ChangeFlag's and Thing_Hate's. A feature suggestion would be vastly preferable though.

-TZK
User avatar
scalliano
Posts: 2871
Joined: Tue Jun 21, 2005 1:16 pm
Location: Ireland

Re: [SPRITES] Spriting Carnival!!

Post by scalliano »

The Zombie Killer wrote:A feature suggestion would be vastly preferable though.
Think about what you just said :P
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: [SPRITES] Spriting Carnival!!

Post by Gez »

scalliano wrote:I'm thinking that your idea for A_RadiusGive might be the best method, but instead of her directly giving health, having her give a dummy item that calls a custom state in the target actor
CustomInventory.

Give a CustomInventory item.
scalliano wrote:Still need a way of determining friend/foe, though.
RadiusGive can handle that already. (Unless you have competing monster teams.)
User avatar
ArmanAhmadi
Posts: 117
Joined: Fri Aug 09, 2013 1:52 pm

Re: [SPRITES] Spriting Carnival!!

Post by ArmanAhmadi »

This time, I was inspired by ItsNatureToDie to make another dying Zombieman sprite.
Image
User avatar
IMX
Posts: 791
Joined: Sat May 11, 2013 9:20 am
Location: Frogland, Mexico
Contact:

Re: [SPRITES] Spriting Carnival!!

Post by IMX »

ArmanAhmadi wrote:This time, I was inspired by ItsNatureToDie to make another dying Zombieman sprite.
Image
Nice looking sequence; I actually don't mind the missing chunk that gets blown away, but I predict there will be people asking you to make that other missing part so they can use it to mimick an alternate death from the Pinky someone did a few years back, in which his arm gets blown and it falls either to the left or the right of the pinky's body.
User avatar
ArmanAhmadi
Posts: 117
Joined: Fri Aug 09, 2013 1:52 pm

Re: [SPRITES] Spriting Carnival!!

Post by ArmanAhmadi »

IMX wrote:
ArmanAhmadi wrote:This time, I was inspired by ItsNatureToDie to make another dying Zombieman sprite.
Image
Nice looking sequence; I actually don't mind the missing chunk that gets blown away, but I predict there will be people asking you to make that other missing part so they can use it to mimick an alternate death from the Pinky someone did a few years back, in which his arm gets blown and it falls either to the left or the right of the pinky's body.
I kinda messed up the rotated head piece, but here are the bodyparts:
Image
Image

By the way, did you mean that they can use it to mimick the armless Demon death from Brutal Doom?
User avatar
xenoxols
Posts: 2134
Joined: Mon Mar 18, 2013 6:08 pm
Preferred Pronouns: She/Her
Location: Behind you

Re: [SPRITES] Spriting Carnival!!

Post by xenoxols »

User avatar
TheAdmantArchvile
Posts: 495
Joined: Thu Feb 07, 2008 5:01 pm
Location: Halfway to Madness

Re: [SPRITES] Spriting Carnival!!

Post by TheAdmantArchvile »

It looks like something out of a dolan comic.
User avatar
Captain J
 
 
Posts: 16891
Joined: Tue Oct 02, 2012 2:20 am
Location: An ancient Escape Shuttle(No longer active here anymore)
Contact:

Re: [SPRITES] Spriting Carnival!!

Post by Captain J »

i small the darkest moments at this thread.
gerolf
Posts: 974
Joined: Sat Nov 06, 2010 1:32 pm

Re: [SPRITES] Spriting Carnival!!

Post by gerolf »

Yes, that was darkest moment for all times before.
User avatar
Captain J
 
 
Posts: 16891
Joined: Tue Oct 02, 2012 2:20 am
Location: An ancient Escape Shuttle(No longer active here anymore)
Contact:

Re: [SPRITES] Spriting Carnival!!

Post by Captain J »

i hope i said before was intensional.
perfect sprite works with heart can stop this Darkest Moments for All Times.
Spoiler:
Post Reply

Return to “General”