Jump to content

Photo

2x2 Enemy Sprite Question


  • Please log in to reply
7 replies to this topic

#1 kurt91

kurt91

    Follower of Destiny

  • Members
  • Real Name:Kurtis
  • Location:Eastern Washington University

Posted 13 May 2013 - 11:36 PM

I'm planning out the first boss for my quest, and I'm not exactly sure how to approach it. I'm just wanting a 2x2 enemy that's completely stationary and does absolutely nothing. The threat and challenge comes from the environment. I remember reading a conversation on here about there being a size function in the Enemy Editor, but I have no idea how to set up the animation. If it helps, like I said before, it's completely stationary and does absolutely nothing except for a simple two-frame animation. Could somebody please explain how to set this up for me?



#2 Binx

Binx

    Formerly Lineas

  • Members
  • Real Name:Brian
  • Location:Lancaster, CA

Posted 14 May 2013 - 02:27 AM

Ok, forgive me if this should be obvious, but what exactly are you trying to do? I mean, you said a 2x2 boss, did you mean 32x32 (two tiles by two tiles), or are you trying to do something with only 4 pixels? As far as the former is concerned, I think you'll need to use scripting for that, because I believe the number of tiles it uses is tied in to the enemy type (don't quote me on that, it's just the only thing that seems to make sense, considering none of the attributes in the enemy editor seem to affect size), so if you want it to do nothing except die at a certain point (once the other hazards are dealt with, I assume), I'm pretty sure you'd need scripts. But I could be wrong. I do know that most custom bosses involve a combination of scripting, FFC placement, warps and damage combos, but that's about the extent of my knowlege.



#3 kurt91

kurt91

    Follower of Destiny

  • Members
  • Real Name:Kurtis
  • Location:Eastern Washington University

Posted 14 May 2013 - 03:25 AM

Yep. You got it right. I want a boss that's only 4 pixels big. It's gonna look freaking awesome...

 

Sorry, I couldn't resist. I'm not trying to be mean, but I was laughing when I read that. Seriously, though. I want to make a 32x32 boss. If I can't do it easily in the Enemy Editor, then I guess I'll start looking into how to script it, then. I was just hoping that this would be something really easy.



#4 Binx

Binx

    Formerly Lineas

  • Members
  • Real Name:Brian
  • Location:Lancaster, CA

Posted 14 May 2013 - 03:30 AM

I thought the idea was pretty ridiculous, myself. But, you never know... A 4 pixel boss could be pretty frightening. Give it 255 homing rate and 255 damage then make it almost the same color as the room, That thing'll fu... um.. kick Link's butt.

 

EDIT: Back on topic, you could do it pretty easily in the enemy editor by editing an existing boss into submission, but I dunno if you could make it do all the things you want it to (that is to say, nothing).


Edited by Lineas, 14 May 2013 - 03:33 AM.


#5 strike

strike

    life is fragile, temporary, and precious

  • Members
  • Real Name:Olórin

Posted 14 May 2013 - 06:07 AM

You can do that several ways:

1) Have an invisible enemy with the max step speed surrounded by no enemy flags where you want the enemy to be. You then make the animation in comboes. Because the enemy is going so fast it's pretty much everywhere in the box at the same time so it looks like it has a large hit box.

2) Have a 32x32 large Patra with zero step speed and no miniature Petra's circulating it. It will just be a large enemy.

Hope that helps!

-Strike

#6 kurt91

kurt91

    Follower of Destiny

  • Members
  • Real Name:Kurtis
  • Location:Eastern Washington University

Posted 14 May 2013 - 06:41 AM

Come to think of it, Patras always spawn in the exact same place, right? The top-center of the screen? That could actually work perfectly. That's exactly where I want the boss to be.

 

You see, my idea is to have a sea monster where you can only reach it by navigating moving platforms Frogger-style to get close enough to attack for a brief moment before having to navigate around to get a second chance. Using a stationary, vulnerable Patra should give me a good position to work with for the boss fight.



#7 XMSB

XMSB

    Furry Friends Furever

  • Members
  • Real Name:Joseph Watson
  • Location:San Antonio, Texas

Posted 14 May 2013 - 12:39 PM

2) Have a 32x32 large Patra with zero step speed and no miniature Petra's circulating it. It will just be a large enemy.

 

About that... I tried changing the default BS Patra Enemy's step speed, and it still moved at a hard-coded step speed of 25, yet it works for all the 1x1 Patras, since step speed now appiles to the Patra Class. Just for some reason, step speed still does not seem to apply to 2x2 Patras.



#8 strike

strike

    life is fragile, temporary, and precious

  • Members
  • Real Name:Olórin

Posted 14 May 2013 - 02:47 PM

Yeah... There are all sorts of weird rules that apply to patras that apply to no other enemy. Like Kurt said, they always spawn in the same place. Like Muppet, they always have the same walk speed. You also can not change their frame rate which is incredibly annoying. Out of the two options I listed I highly prefer the first one. It's way easier to set up and more flexible. If your heart really is set on Patra though, you could always surround it with no enemy flags to keep it from moving (if they even respect those).

Anyway, Good luck! :) I hope your boss goes well!

-Strike


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users