Can someone explain me why this happen

Need help with any SMBX game-related issues? Ask your questions here.

Moderator: Userbase Moderators

RudeGuy
Bowser
Bowser
Posts: 4994
Joined: Fri Dec 27, 2013 7:36 am
Flair: local guy

Can someone explain me why this happen

Postby RudeGuy » Sun Oct 12, 2014 9:39 am

One time Valtteri made some SMB2 subspace graphics and one of them is an NPC. For some reason, when I want to use this NPC (which replace a mushroom block by the way) I can place it in the level editor, but it somehow is gone while I playtest my level. Why?

DimitrisPowerSeven
Volcano Lotus
Volcano Lotus
Posts: 519
Joined: Sun Apr 06, 2014 8:56 am

Re: Can someone explain me why this happen

Postby DimitrisPowerSeven » Sun Oct 12, 2014 9:42 am

Maybe it disappear because is still like block,use noblockcollision=1 and nogravity=1,but still maybe.

Edit:400 posts yeeee!

RudeGuy
Bowser
Bowser
Posts: 4994
Joined: Fri Dec 27, 2013 7:36 am
Flair: local guy

Re: Can someone explain me why this happen

Postby RudeGuy » Sun Oct 12, 2014 10:15 am

DimitrisPowerSeven wrote:Maybe it disappear because is still like block,use noblockcollision=1 and nogravity=1,but still maybe.

Edit:400 posts yeeee!
I've checked and in the NPC code there are both 2 codes.

DarkShadeX
Volcano Lotus
Volcano Lotus
Posts: 535
Joined: Sat Jan 18, 2014 11:34 am

Re: Can someone explain me why this happen

Postby DarkShadeX » Sun Oct 12, 2014 10:30 am

Christian07 wrote:
DimitrisPowerSeven wrote:Maybe it disappear because is still like block,use noblockcollision=1 and nogravity=1,but still maybe.

Edit:400 posts yeeee!
I've checked and in the NPC code there are both 2 codes.
Could you give me the GFX and NPC Code?

RudeGuy
Bowser
Bowser
Posts: 4994
Joined: Fri Dec 27, 2013 7:36 am
Flair: local guy

Re: Can someone explain me why this happen

Postby RudeGuy » Sun Oct 12, 2014 10:33 am

Darkchaox100 wrote: Could you give me the GFX and NPC Code?
https://www.mediafire.com/?masxgfcvhc8bq66

DarkShadeX
Volcano Lotus
Volcano Lotus
Posts: 535
Joined: Sat Jan 18, 2014 11:34 am

Re: Can someone explain me why this happen

Postby DarkShadeX » Sun Oct 12, 2014 10:39 am

Works fine for me...
If it doesnt work for you,remove the width and height code from the NPC code (not the gfxheight/gfxwidth one)

h2643
Reznor
Reznor
Posts: 2890
Joined: Sat Dec 21, 2013 7:23 am
Contact:

Re: Can someone explain me why this happen

Postby h2643 » Sun Oct 12, 2014 10:46 am

Maybe because it isn't set on "Friendly" and "Don't Move".

DarkShadeX
Volcano Lotus
Volcano Lotus
Posts: 535
Joined: Sat Jan 18, 2014 11:34 am

Re: Can someone explain me why this happen

Postby DarkShadeX » Sun Oct 12, 2014 10:49 am

h2643 wrote:Maybe because it isn't set on "Friendly" and "Don't Move".
I didnt had to active Friendly and Dont Move.

RudeGuy
Bowser
Bowser
Posts: 4994
Joined: Fri Dec 27, 2013 7:36 am
Flair: local guy

Re: Can someone explain me why this happen

Postby RudeGuy » Sun Oct 12, 2014 10:57 am

Darkchaox100 wrote:If it doesnt work for you,remove the width and height code from the NPC code (not the gfxheight/gfxwidth one)
Didn't tought about it, I'll try doing that. Thanks for help.

h2643
Reznor
Reznor
Posts: 2890
Joined: Sat Dec 21, 2013 7:23 am
Contact:

Re: Can someone explain me why this happen

Postby h2643 » Sun Oct 12, 2014 11:03 am

Well, sometimes it dissappeared for me when I tried to place the Subspace NPC into the level, but when I set it on "Friendly" (and "Don't Move"), it worked.

Flying Brick
Chain Chomp
Chain Chomp
Posts: 315
Joined: Thu Aug 14, 2014 3:16 pm

Re: Can someone explain me why this happen

Postby Flying Brick » Sun Oct 12, 2014 11:19 am

I've had this problem before, too. For me, it was caused by using 1x1 pixels in the NPC graphic, which made the NPC disappear as soon as I started the test. Ever since I stopped using those, I never had any problem again. Maybe that's your problem, I don't know :P

RudeGuy
Bowser
Bowser
Posts: 4994
Joined: Fri Dec 27, 2013 7:36 am
Flair: local guy

Re: Can someone explain me why this happen

Postby RudeGuy » Sun Oct 12, 2014 11:44 am

Flying Brick wrote:I've had this problem before, too. For me, it was caused by using 1x1 pixels in the NPC graphic, which made the NPC disappear as soon as I started the test. Ever since I stopped using those, I never had any problem again. Maybe that's your problem, I don't know :P
I don't think I have the same problem, as there aren't any 1x1 pixels. Anyways, I finally fixed the problem by changing the size of the NPC. there is a thing about his placement, though:
Spoiler: show
Image
The place where the cursor is is the only place where I can select the NPC. Is there a reason for this?


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari