Page 1 of 1

Having Resizing and Mask Issues

Posted: Sat Nov 26, 2016 5:47 pm
by NotebookTheCat
I'm not sure if you can actually do this or if I'm just doing it wrong, but I made an item bigger than the original item, and now it won't display correctly in-game. (Mushroom for comparison) https://i.gyazo.com/230867affbd11c4b0a7 ... f31915.png Its mask is the same size: https://i.gyazo.com/e4e4b6ce9601566f4ab ... 978eae.png
Here's how it looks in-game: https://i.gyazo.com/0194509e41b8e0bdbd7 ... 6842f7.png

I've been having trouble with animating this (which has been done over a mushroom with 1 frame, npc-287) https://i.gyazo.com/2282d162d11b9c39098 ... 478102.gif / texture https://i.gyazo.com/1f1a962d6693d766400 ... 35784c.png I triple checked the mask and resized it to be only as big as the mushroom itself.

Any suggestions?

Re: Having Resizing and Mask Issues

Posted: Sat Nov 26, 2016 6:08 pm
by ElectriKong
You need to use codes to resize and change the number of frames used in GFXs. There is a thread in the help and support forum thatcontains all the NPC codes. Also for animated objects you need to put each frame on top of each other like this
Image
You can't do anything for BGOs and blocks and need to be the same size as the original (For BGOs you can make the visible smaller than the original though the GFX must still be the same size) unless you are using PGE which should resize those for you.

Re: Having Resizing and Mask Issues

Posted: Sat Nov 26, 2016 6:50 pm
by NotebookTheCat
Thank you! I don't know what you mean by BGO or PGE, though.

Re: Having Resizing and Mask Issues

Posted: Sat Nov 26, 2016 6:59 pm
by PixelPest
BGO--Background object
PGE--Platformer Game Engine (a newer and improved SMBX editor)

Re: Having Resizing and Mask Issues

Posted: Sat Nov 26, 2016 7:02 pm
by NotebookTheCat
Thanks again!

Re: Having Resizing and Mask Issues

Posted: Sun Nov 27, 2016 12:34 am
by Radiance
You could use the image tags for posting pictures.

Code: Select all

[img][/img]

Re: Having Resizing and Mask Issues

Posted: Sun Nov 27, 2016 7:41 pm
by NotebookTheCat
Mr Briney wrote:You could use the image tags for posting pictures.

Code: Select all

[img][/img]
I know, but it would have made the post giant and hard to read, so I'd have to put it in spoilers and I thought it would just be better as links ^^;

Re: Having Resizing and Mask Issues

Posted: Sun Nov 27, 2016 7:57 pm
by loop
You can get PGE here.

Re: Having Resizing and Mask Issues

Posted: Mon Nov 28, 2016 8:43 pm
by NotebookTheCat
I got it, thank you c: