SE Custom Enemies Help Thread

Mapping related threads and questions go in here!
CoolJulianXD
Posts: 38
Joined: 30 Apr 2017, 23:31

Post » 02 Aug 2018, 01:22


Code: Select all


	"quadcount": 3,

	"movement": "truffleshuffle",
	"truffleshufflespeed": 6,
	"truffleshuffleacceleration": 6,

	"category": 1,
	
	"stompable": false,
	"killsonsides": false,
	"killsonbottom": false,

	"turnaroundoncliff": true,
	"starttowardsplayerhorizontal": true,
	"spawnenemyspeed": 6,

	"resistsspikes": false,

	"animationtype": "frames",
	"animationframes": 3,
	"animationstart": 1,
	"animationspeed": 0.1,

	"transforms": true,
	"transformsinto": "humanhurt",
	"transformtrigger": "stomp",
	"width": 1.50,
	"height": 1.50,
	
	"offsetX": 4,
	"offsetY": 0,
	"quadcenterX": 1,
	"quadcenterY": 10,


	"autodelete": false

Im trying to make a toad npc that runs around here is the sprite:Image

Bonus question: how would i make an enemy jump once every few seconds with an jumping sprite?[/hr]
I forgot something stupid, anyways any help on getting a custom sprite for jumping?

User avatar
frostplays
Posts: 26
Joined: 13 Mar 2018, 10:36
Contact:

Post » 06 Sep 2018, 11:25

@Mari0_Player, I don't think so. Maybe have an invisible solid enemy on top of it (constantly spawned, with a short lifetime), that's tangible to Mario but not boxes? That would be very hacky, but it might work.

And @CoolJulianXD, I along with a few other people answered you over at the enemy repositorium - you need to have four rows of sprites. Here, try this.

Image

User avatar
masterminer176
Posts: 78
Joined: 14 Jan 2017, 07:05
Contact:

Post » 30 Sep 2018, 06:25

I'm trying to make a sledgebro enemy, but the game keeps crashing when I go into the editor to test it. Can someone help with that?

Here's the code:

Code: Select all

base=hammerbros
{

	"width": 1.5,
	"height": 1.5,

}
And an image:
Image

User avatar
Qwerbey
Posts: 1282
Joined: 05 Oct 2012, 07:58
Contact:

Post » 30 Sep 2018, 07:22

We could help you a lot better if you posted the crash log as well, but my first guess is the trailing comma at the end of the code.

User avatar
masterminer176
Posts: 78
Joined: 14 Jan 2017, 07:05
Contact:

Post » 30 Sep 2018, 21:02

A. There's no crash log, it just instantly closes the game.
B.
QwertymanO07 wrote:...but my first guess is the trailing comma at the end of the code.
I forgot about that, it might be the problem.
C. FYI: I'm not trying to make the stomp (yet), I'm just making a bigger hammerbro at this point.

Edit: It works now! And with a bit of tweaking I have a link for it too!

User avatar
Ormalawayo
Posts: 101
Joined: 02 Oct 2020, 15:53

Post » 02 May 2021, 04:02

What size should a custom enemy be? There’s one I wanna make

Image

I didn’t make the code so you can give me some to start with if you want

WaluigiDaGreat
Posts: 20
Joined: 03 Nov 2023, 00:04

Post » 08 Nov 2023, 05:08

Qwerbey wrote:
14 Jan 2015, 12:23
The image file is, in fact, named correctly, as in it has the same name as the json sans file extension, but I don't know what you mean by "matches the code." Anyway, here's the image with a download link:
Image
OMG SANS UNDERTALE-

Post Reply