Trouble at making bigger enemies

Share and discuss custom SMBX graphics.

Moderator: Userbase Moderators

Adeleine Fan
Goomba
Goomba
Posts: 2
Joined: Mon Nov 14, 2016 1:38 pm

Trouble at making bigger enemies

Postby Adeleine Fan » Mon Nov 14, 2016 1:58 pm

Hi guys, this is my first post on this forum.
Well, my idea was to make a boss battle against Bowser from SMB3 (npc-86), but I wanted to make Bowser four times bigger than before, so I wrote on a notepad for its level something like this (width=256 height=320) and it worked just fine, now it had a much bigger hitbox, the only thing that was missing was a sprite at the same size as the one I wrote on the notepad. Once the bigger sprite was done and archived on the level folder I tested the level but for some reason the sprite is not fully appearing in game, in other words, it is being cut, and that is weird because the bigger hitbox is there but the sprite isn't. Am I doing something wrong?
I would be happy if someone give me an advice thanks.

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9890
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: Trouble at making bigger enemies

Postby Emral » Mon Nov 14, 2016 2:05 pm

width and height fields modify hitbox
gfxwidth and gfxheight fields modify sprite size

so what you want is to have those in addition to your width and height fields:
width=256
height=320
gfxwidth=256
gfxheight=320

The reason SMBX works like this is that often times you want an NPC's hitbox to be smaller than the sprite.

Adeleine Fan
Goomba
Goomba
Posts: 2
Joined: Mon Nov 14, 2016 1:38 pm

Re: Trouble at making bigger enemies

Postby Adeleine Fan » Mon Nov 14, 2016 2:10 pm

Oh wow at the end of the day it was a very simple problem. Thanks for the help dude.

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9890
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: Trouble at making bigger enemies

Postby Emral » Mon Nov 14, 2016 2:12 pm

No problem! If you have another problem with txt files, you can find everything about them here: http://www.smbxgame.com/forums/v ... f=35&t=425


Return to “Graphics”

Who is online

Users browsing this forum: No registered users and 4 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari