The Enemy Respositorium

Mapping related threads and questions go in here!
User avatar
Sunset_Moth
Posts: 781
Joined: 02 Sep 2012, 23:22
Contact:

Post » 31 Jan 2014, 03:23

What is the weighted box name? I crash when I try to transform turret's Mushgoomba into a box instead of a mushroom.
................................................................................................................................10,000,000
I add this page to my collection. I will use them to build a portal to equestria someday. I need about a million

User avatar
TurretBot
Posts: 4413
Joined: 15 Mar 2012, 23:18
Contact:

Post » 31 Jan 2014, 03:32

cubes are not enemies (odd though; you could make an enemy version easily)

B-Man99
Posts: 1868
Joined: 02 Jul 2012, 00:32
Contact:

Post » 31 Jan 2014, 03:33

TurretBot wrote:cubes are not enemies (odd though; you could make an enemy version easily)
Someone should really do this. That would be really helpful. I'm terrible with enemy scripting though :/
I might give it a try after I finally get a demo of my mappack up.

User avatar
TurretBot
Posts: 4413
Joined: 15 Mar 2012, 23:18
Contact:

Post » 31 Jan 2014, 03:36

Just don't make it hurt you but still collide. You wouldn't be able to hold it though.

B-Man99
Posts: 1868
Joined: 02 Jul 2012, 00:32
Contact:

Post » 31 Jan 2014, 03:42

Ahhh, that's what you meant. Thanks though...

User avatar
Flutter Skye
Posts: 1690
Joined: 08 Apr 2012, 17:54
Contact:

Post » 31 Jan 2014, 09:30

I made a replacemed for the cube. A 1 Ton weight. https://www.dropbox.com/s/kmq2yy4dodck2r7/Thingy.zip
It doesn't kill you or enemies. It only kills you if it falls on you head.

User avatar
Superjustinbros
Posts: 2119
Joined: 29 Mar 2012, 20:39
Contact:

Post » 31 Jan 2014, 17:58

Flutter Skye wrote:I made a replacemed for the cube. A 1 Ton weight. https://www.dropbox.com/s/kmq2yy4dodck2r7/Thingy.zip
It doesn't kill you or enemies. It only kills you if it falls on you head.
So, it could pass as a Great Giana Sisters boulder?

User avatar
Flutter Skye
Posts: 1690
Joined: 08 Apr 2012, 17:54
Contact:

Post » 31 Jan 2014, 18:16

Maybe. I don't remember the boulders from Giana Sisters.
Last edited by Flutter Skye on 14 Jul 2014, 11:18, edited 1 time in total.

User avatar
Sunset_Moth
Posts: 781
Joined: 02 Sep 2012, 23:22
Contact:

Post » 31 Jan 2014, 20:42

I already made a cube-like enemy. You can't pick it up, and if you stomp it it activates or deactivates. When active, the sides and bottom kill you and it moves back and forth. When deactivated it just sits there. So if you want it to move, portal it or activate it.

It's called a Boxy. Based off of Turret's code for the Mushgoom.

Image

User avatar
jwright159
Posts: 442
Joined: 20 Nov 2013, 22:26

Post » 31 Jan 2014, 21:46

This is some pretty cool stuff. I just printed the how-to for custom enemies. I will try to post one.
Edit: what program can make .jsons? ive never herd of that file before.

User avatar
Flutter Skye
Posts: 1690
Joined: 08 Apr 2012, 17:54
Contact:

Post » 31 Jan 2014, 22:05

Notepad ++.
Also just rename the .TXT File into .json and It will work.

User avatar
jwright159
Posts: 442
Joined: 20 Nov 2013, 22:26

Post » 01 Feb 2014, 17:17

Flutter Skye wrote:Notepad ++.
Also just rename the .TXT File into .json and It will work.
Notepad++ doesn't have it. The closest it has is Java

User avatar
Flutter Skye
Posts: 1690
Joined: 08 Apr 2012, 17:54
Contact:

Post » 01 Feb 2014, 17:43

Image
Open it with Notepad ++, and there you go.

User avatar
jwright159
Posts: 442
Joined: 20 Nov 2013, 22:26

Post » 01 Feb 2014, 17:47

If I want to make a goomba that doesn't colide other goombs, what does it say?

User avatar
crazyal02
Posts: 52
Joined: 03 Mar 2013, 19:15

Post » 01 Feb 2014, 21:44

Table for the collision mask property I found in the source

Image

User avatar
jwright159
Posts: 442
Joined: 20 Nov 2013, 22:26

Post » 02 Feb 2014, 01:32

I know that but what does the code say?

User avatar
Automatik
Posts: 1073
Joined: 20 Jul 2012, 17:54
Contact:

Post » 02 Feb 2014, 01:42

It mean that goombas are internally defined by the id 4 in the code.
This is the default mask for goombas. True mean "I don't collide with this", False mean "I collide with this"

Code: Select all

"mask": [	true, 
				false, false, false, false, true,
				false, true, false, true, false,
				false, false, false, false, false,
				true, true, false, false, false,
				false, true, true, false, false,
				true, false, true, true, true],
The first variables are:

Code: Select all

true, 1- Always not collide(If false, then it collide with everything)
false, 2- World(It don't go through tiles)
false, 3-Mario(It can kill mario)
false, 4-Goomba(It can't avoid goomba)
false, 5-Koopa(Obvious)
true 6-Powerup(It can pass over powerups)
[etc]
So goombas will by default collide with tiles, mario, goombas, and koopas.
So, to make a goomba that don't collide with goomba, put

Code: Select all

"mask": [	true, 
				false, false, true, false, true, -- changed the 3rd boolean here
				false, true, false, true, false,
				false, false, false, false, false,
				true, true, false, false, false,
				false, true, true, false, false,
				true, false, true, true, true],
into your json file.
Also if you want more help with ennemies go here : http://guegan.de/mari0doc/custom_enemies.php

User avatar
TurretBot
Posts: 4413
Joined: 15 Mar 2012, 23:18
Contact:

Post » 02 Feb 2014, 02:24

why am I being so stupid
this might be the stupidest of the 'stupidity warning' songs
veiwer discretion advised
stupidity warning
Mario go "Yahoo!"
GLaDOS goes "Cake!"
Goombas go...
And koopas go... Uh...
Bowser goeas "Bwahahahhaha!"
And Cheeeeell goes... Uh... Why do I keep choosing the silent ones!?
Ducks wear haaats!
And fish don't taaaalk!
This is 8-bit guys, come on!
But there's one soooound,
That no one knooooooows...
jwright159 wrote:I know that but what does the code say?
If then else end mario's x y!
Comment out all of the minecraft code!
In SE the editor is bad!
What the code say?
In Ma-ri-o Bros. there is a POW!
But I will not put it in this game!
So shut up because I want you to!
That's what Maurice says!
Hatee-hatee-hatee-ho!
Is that 'hate ho' or 'hot tea, oh'?
What am I even writing here?
This is repetitive!
I can't really think of an-y-thing.
Can someone help me out here please?
I really really want to know...
What the code say?
Funny text,
In the comments,
Of the code in this gaa-ame,
That maurice writes,
Eve-ry day,
Well not lit-er-ally, but still...
The code is teeext,
So beautiful....
When you run it with Lo-oove...
But if you meet,
That guy, Sasoooo...
Will you comunicate in,
Lu-u-u-uua,
Lu-u-u-uua,
Lu-u-u-uua...
How will you catch up with,
Sa-a-a-a-so,
Sa-a-a-a-so,
Sa-a-a-a-so...
jwright159 wrote:I know that but what does the code say?
I am having too much fun with this!
I seri-ously need to stop with this!
But it doesn't 'cause I'm al-most done!
What the code say?
Ban ban ban ban ban baban!
You're banned banned banned banned ba-banned!
I ban you 'cause it's ban not bam!
What the code say!
--My mouse is about to DIIIEEE! :(
--My mouse is about to DIIIEEE! :(
--My mouse is about to DIIIEEE! :(
What the code say!
Don't STEEEEEEEEEEEEEEEEEAL!
My COOOOOOOOOOOOOOOOOO-ODE!
jwright159 wrote:I know that but what does the code say?
The secret of the coooode...
Ancient mysteryyyy...
Developement started in twentyeleven...
I know your hidiiiiiing...
What is your sound?
Will we ever know?
Will always be a mysteryyyyy...
At least until (SE) ES-EEEEEEEEEEEEE!!!
Your mario fan-gaaame...
Hid-ing on your computerrrrr...
When...is (SE) ES-EEEEEEEEEEEEEEEEEEEEEEEE...
EEEEEEEEE... (a ba ba dum bay dum.)
EEEEEEEEE... (use as your wall-paaaper.)
EEEEEEEEE... (happy explosion day.)
Will we ever know!? (seriously I'm awe-some.)
I want to kn...
I want to kn...
I want to KNOOOOOOOOOOOOWWWWW!!
(turret, why did you maake this?)
on topic
comments don't work since the game isn't coded to skip over them
so don't use automatik's code

User avatar
Automatik
Posts: 1073
Joined: 20 Jul 2012, 17:54
Contact:

Post » 02 Feb 2014, 02:29

Oh, yeah, I forgot.
So use:

Code: Select all

"mask": [   true, 
            false, false, true, false, true,
            false, true, false, true, false,
            false, false, false, false, false,
            true, true, false, false, false,
            false, true, true, false, false,
            true, false, true, true, true],

User avatar
Sunset_Moth
Posts: 781
Joined: 02 Sep 2012, 23:22
Contact:

Post » 02 Feb 2014, 03:12

TurretBot wrote:why am I being so stupid
this might be the stupidest of the 'stupidity warning' songs
veiwer discretion advised
stupidity warning
Mario go "Yahoo!"
GLaDOS goes "Cake!"
Goombas go...
And koopas go... Uh...
Bowser goeas "Bwahahahhaha!"
And Cheeeeell goes... Uh... Why do I keep choosing the silent ones!?
Ducks wear haaats!
And fish don't taaaalk!
This is 8-bit guys, come on!
But there's one soooound,
That no one knooooooows...
jwright159 wrote:I know that but what does the code say?
If then else end mario's x y!
Comment out all of the minecraft code!
In SE the editor is bad!
What the code say?
In Ma-ri-o Bros. there is a POW!
But I will not put it in this game!
So shut up because I want you to!
That's what Maurice says!
Hatee-hatee-hatee-ho!
Is that 'hate ho' or 'hot tea, oh'?
What am I even writing here?
This is repetitive!
I can't really think of an-y-thing.
Can someone help me out here please?
I really really want to know...
What the code say?
Funny text,
In the comments,
Of the code in this gaa-ame,
That maurice writes,
Eve-ry day,
Well not lit-er-ally, but still...
The code is teeext,
So beautiful....
When you run it with Lo-oove...
But if you meet,
That guy, Sasoooo...
Will you comunicate in,
Lu-u-u-uua,
Lu-u-u-uua,
Lu-u-u-uua...
How will you catch up with,
Sa-a-a-a-so,
Sa-a-a-a-so,
Sa-a-a-a-so...
jwright159 wrote:I know that but what does the code say?
I am having too much fun with this!
I seri-ously need to stop with this!
But it doesn't 'cause I'm al-most done!
What the code say?
Ban ban ban ban ban baban!
You're banned banned banned banned ba-banned!
I ban you 'cause it's ban not bam!
What the code say!
--My mouse is about to DIIIEEE! :(
--My mouse is about to DIIIEEE! :(
--My mouse is about to DIIIEEE! :(
What the code say!
Don't STEEEEEEEEEEEEEEEEEAL!
My COOOOOOOOOOOOOOOOOO-ODE!
jwright159 wrote:I know that but what does the code say?
The secret of the coooode...
Ancient mysteryyyy...
Developement started in twentyeleven...
I know your hidiiiiiing...
What is your sound?
Will we ever know?
Will always be a mysteryyyyy...
At least until (SE) ES-EEEEEEEEEEEEE!!!
Your mario fan-gaaame...
Hid-ing on your computerrrrr...
When...is (SE) ES-EEEEEEEEEEEEEEEEEEEEEEEE...
EEEEEEEEE... (a ba ba dum bay dum.)
EEEEEEEEE... (use as your wall-paaaper.)
EEEEEEEEE... (happy explosion day.)
Will we ever know!? (seriously I'm awe-some.)
I want to kn...
I want to kn...
I want to KNOOOOOOOOOOOOWWWWW!!
(turret, why did you maake this?)
on topic
comments don't work since the game isn't coded to skip over them
so don't use automatik's code
Koopas go koop koop or something like that. Listen to mario kart.

User avatar
jwright159
Posts: 442
Joined: 20 Nov 2013, 22:26

Post » 02 Feb 2014, 04:02

Wow. Typing true and false for each ID is tedious

User avatar
MagicPillow
Posts: 1108
Joined: 20 Jul 2013, 04:59
Contact:

Post » 02 Feb 2014, 04:38

Help...
I used this code with a simple 16x16 image.
The problem is that it only shows the very top of the image ingame.

Code: Select all

{

	"movement": "none",

	"gravity": 0,

	"quadcount": 1,

	"kills": true,

	"mask": [	true,
				true, false, true, true, true,
				true, true, true, true, true,
				true, false, true, true, true,
				true, true, true, true, true,
				true, true, true, true, true,
				true, true, true, true, true],

	"width": 0.75,
	"height": 0.75,

	"offsetX": 6,
	"offsetY": 3,
	"quadcenterX": 8,
	"quadcenterY": 8

}

User avatar
Sky
Posts: 1283
Joined: 08 Mar 2012, 04:35
Contact:

Post » 02 Feb 2014, 09:08

MagicPillow wrote:Help...
I used this code with a simple 16x16 image.
The problem is that it only shows the very top of the image ingame.

Code: Select all

{

	"movement": "none",

	"gravity": 0,

	"quadcount": 1,

	"kills": true,

	"mask": [	true,
				true, false, true, true, true,
				true, true, true, true, true,
				true, false, true, true, true,
				true, true, true, true, true,
				true, true, true, true, true,
				true, true, true, true, true],

	"width": 0.75,
	"height": 0.75,

	"offsetX": 6,
	"offsetY": 3,
	"quadcenterX": 8,
	"quadcenterY": 8

}
The game assumes by default that your enemy will have different sprites for each spriteset (like underground), so it divides them up into four frames vertically. To keep it from doing that, add this to your enemy and it should work:
"nospritesets": true

User avatar
MagicPillow
Posts: 1108
Joined: 20 Jul 2013, 04:59
Contact:

Post » 02 Feb 2014, 09:12

Wow... How'd I forget that?
Thank you.

User avatar
Superjustinbros
Posts: 2119
Joined: 29 Mar 2012, 20:39
Contact:

Post » 02 Feb 2014, 09:22

So I decided to help out MissingWorld and gradually roll out enemy graphics from Stuper Bowsa. until I get called out again for not providing any json files

Image
ImageImage
ImageImage

User avatar
MM102
Posts: 970
Joined: 11 May 2012, 06:08
Contact:

Post » 02 Feb 2014, 11:43

Code: Select all

base=koopa
{
	"quadcount": 2,
	"animationtype": "frames",
	"quadno": 1,
	"nospritesets": true,
	"active": true,
	"autodelete": false,
	"facesplayer": false,
	
	"movement": "Wiggle",
	"Wiggledistance": 5,
	"Wigglespeed": 2,
	
	"mask": [	true, 
				false, true, false, false, true,
				false, true, false, true, false,
				false, false, false, false, false,
				true, true, false, false, true,
				false, true, true, false, false,
				true, false, true, true, true]
}
A wandering npc

User avatar
Bazvie999
Posts: 77
Joined: 19 Jul 2013, 03:18

Post » 03 Feb 2014, 00:45

Ok a new enemy from me. Rome Goomba!
Image
you can get it once i release the 3 World's demo of......
Mari0 Warp!!
a time travel mappack!!!!!!!!

B-Man99
Posts: 1868
Joined: 02 Jul 2012, 00:32
Contact:

Post » 03 Feb 2014, 00:49

...so are you going to give us the code or at least explain what it does, or do we have to wait for your map pack? Sounds interesting enough; time travel concepts always end up going either really well or really bad (hopefully really well in your case :D)

User avatar
Bazvie999
Posts: 77
Joined: 19 Jul 2013, 03:18

Post » 03 Feb 2014, 00:51

Trust Me. this one is well made!

User avatar
Mari0_Player
Posts: 224
Joined: 23 Sep 2013, 00:48

Post » 03 Feb 2014, 03:39

Bazvie999 wrote:Trust Me. this one is well made!
We're not denying that it will be good, we want to know what it does @_@

User avatar
Bazvie999
Posts: 77
Joined: 19 Jul 2013, 03:18

Post » 03 Feb 2014, 04:02

i was talking about the Mappack! the Rome Goomba is just a Goomba wearing a Rome Dress!
of course Rome People are regular humans nothing special! :)

User avatar
jwright159
Posts: 442
Joined: 20 Nov 2013, 22:26

Post » 04 Feb 2014, 22:37

would it be possible for a goomba to shoot a bulletbill at you or would you have to make a custom bulletbill?

User avatar
Mr.Q.Marx?
Posts: 849
Joined: 15 May 2012, 18:35

Post » 04 Feb 2014, 23:15

jwright159 wrote:would it be possible for a goomba to shoot a bulletbill at you or would you have to make a custom bulletbill?

Code: Select all

base=goomba
{
	"spawnsenemy": "bulletbill",
	"spawnenemydelays": [0.6, 1.6],
	"spawnenemyspeedy": -8,
	"spawnenemyspeedx": -4,
	"spawnenemyoffsety": -1,
	"spawnenemyspeedxtowardsplayer": true
}
Should do it

User avatar
jwright159
Posts: 442
Joined: 20 Nov 2013, 22:26

Post » 04 Feb 2014, 23:26

Mr.Q.Marx? wrote:
jwright159 wrote:would it be possible for a goomba to shoot a bulletbill at you or would you have to make a custom bulletbill?

Code: Select all

base=goomba
{
	"spawnsenemy": "bulletbill",
	"spawnenemydelays": [0.6, 1.6],
	"spawnenemyspeedy": -8,
	"spawnenemyspeedx": -4,
	"spawnenemyoffsety": -1,
	"spawnenemyspeedxtowardsplayer": true
}
Should do it
Oh god, what did you just release..
Wait. The bullets go diagnal and up, not nessesarily at you.
What would the code be to make a bullet that would fly at you when comming from something? (turned the right way)

User avatar
alesan99
Posts: 2335
Joined: 30 May 2013, 21:42
Contact:

Post » 04 Feb 2014, 23:28

Change

Code: Select all

"spawnenemyspeedy": -8,
to

Code: Select all

"spawnenemyspeedy": 0,
or remove it completely

User avatar
jwright159
Posts: 442
Joined: 20 Nov 2013, 22:26

Post » 04 Feb 2014, 23:32

no, compleatly AT you, like if you were on a ledge up and to the right of the goomba

B-Man99
Posts: 1868
Joined: 02 Jul 2012, 00:32
Contact:

Post » 04 Feb 2014, 23:35

I'm guessing you would need to be able to access the variables for Mario's current x and y position and use trigonometry magic from there but you can't put Mario's x and y values in the enemy scripts I don't think

User avatar
Sky
Posts: 1283
Joined: 08 Mar 2012, 04:35
Contact:

Post » 04 Feb 2014, 23:37

"spawnenemytowardsplayer": true,
"spawnenemyspeed": -however fast you want the bullet to go-

B-Man99
Posts: 1868
Joined: 02 Jul 2012, 00:32
Contact:

Post » 04 Feb 2014, 23:43

Oh wow thanks WillWare I really should have double checked on that
I was thinking of animations oh jeez

User avatar
Superjustinbros
Posts: 2119
Joined: 29 Mar 2012, 20:39
Contact:

Post » 05 Feb 2014, 00:06

Bazvie999 wrote:Ok a new enemy from me. Rome Goomba!
Image
Bazvie, if you don't mind I'd like to provide some alternative sprite options for Rome Goombas:
Image Unaltered with Restored Underwater palette
Image Altered to follow the NES' limit of three colors per sprite.

User avatar
alesan99
Posts: 2335
Joined: 30 May 2013, 21:42
Contact:

Post » 05 Feb 2014, 00:14

I think the original ones look better. You either make it look good, or make use the nes palette (Not saying the NEs palette is bad).

Mariotheplumber85
Posts: 30
Joined: 12 Nov 2013, 00:30

Post » 05 Feb 2014, 03:28

Have you ever wanted to play a mini game in SE?............. no well the pong koopa will come in handy.

Code: Select all

base=koopa
{
   "stompable": true,
   "killsonsides": false,
   "killsonbottom": false,

   "width": 0.75,
   "height": 0.75,

   "bounces": true,
   "bounceforce": 8,
   "gravity": 8
}
Thaaat's right! Your very own koopa that you can play with.
It will not hurt you and it bounces like a ball!
So for the 0.000000001% of you that already thinks that SE is boring
HERE YOU GO!

User avatar
MagicPillow
Posts: 1108
Joined: 20 Jul 2013, 04:59
Contact:

Post » 05 Feb 2014, 03:41

How would you make a spiny egg that kills enemies and doesn't spawn a spiny?

User avatar
Sky
Posts: 1283
Joined: 08 Mar 2012, 04:35
Contact:

Post » 05 Feb 2014, 03:46

MagicPillow wrote:How would you make a spiny egg that kills enemies and doesn't spawn a spiny?
Remove everything around "transforms" and add "killsenemies": true.

User avatar
jwright159
Posts: 442
Joined: 20 Nov 2013, 22:26

Post » 05 Feb 2014, 14:50

I want to make a .gif to show my enemies. How can I without making individual screenshots?

User avatar
Automatik
Posts: 1073
Joined: 20 Jul 2012, 17:54
Contact:

Post » 05 Feb 2014, 15:00


User avatar
MagicPillow
Posts: 1108
Joined: 20 Jul 2013, 04:59
Contact:

Post » 06 Feb 2014, 04:21

Image
-Click the image to download-

User avatar
jwright159
Posts: 442
Joined: 20 Nov 2013, 22:26

Post » 06 Feb 2014, 14:56

I have a bazillon enemies.
I will soon post gifs with downloads in sets of ten

User avatar
Sky
Posts: 1283
Joined: 08 Mar 2012, 04:35
Contact:

Post » 07 Feb 2014, 06:21

Gravigoomba, a Goomba that is always on the ceiling. Purple Gel makes for a fun time.
Image

Code: Select all

{
	"quadcount": 2,

	"movement": "truffleshuffle",
	"stompable": true,
	"killsonsides": true,
	"killsonbottom": true,
	
	"animationtype": "mirror",
	"animationspeed": 0.2,
	
	"stompanimation": true,
	"stompanimationtime": 0.5,
	"stompedframe": 2,
	
	"truffleshufflespeed": 2,
	"truffleshuffleacceleration": 8,
	
	"quadno": 1,
	
	"width": 0.75,
	"height": 0.75,
	
	"static": false,
	"active": true,
	
	"gravity": -78.4,
	"spawnoffsety": -0.2,
	
	"category": 4,
	
	"mask": [	true, 
				false, false, false, false, true,
				false, true, false, true, false,
				false, false, false, false, false,
				true, true, false, false, false,
				false, true, true, false, false,
				true, false, true, true, true],
					
	
	"emancipatecheck": true,
	"autodelete": true,
	
	"offsetX": 6,
	"offsetY": 1,
	"quadcenterX": 8,
	"quadcenterY": 8
}

User avatar
MissingWorld
Posts: 230
Joined: 06 Jan 2014, 01:45

Post » 07 Feb 2014, 06:41

Just as a simple request, would a Koopa with a shell you can't interact with be possible? I'm trying to make lingering death frames.

Post Reply