Problem with wall/Object

  • Thread starter Thread starter ELECTRO
  • Start date Start date
E

ELECTRO

Guest
Having a weird issue. I have a wall set and an object on the stage. They appear just fine, but the object is showing up in front of my player by about 2 or 3 pixels, so I decided to just make the wall a little further down by 3 pixels and now my object has disappeared. So i'm stumped.

Original code :
Code:
spawn  JailBuffet
flip   1
       coords  570 210
	at  0

wall	515 210 -46 0 1 1 54 306

Modified code :
Code:
spawn  JailBuffet
flip   1
       coords  570 210
	at  0

wall	515 213 -46 0 1 1 54 306
 
That did not work unfortunately. I even added :
Code:
antigravity      100
subject_to_wall  0
subject_to_obstacle 0
subject_to_platform 0

But the problem continues. You got me thinking though, since the object is just used for a simple sprite, I could spawn the Object one pixel before the wall and then just move the sprite over with the Objects offset. Thanks .:O:.
 
BeasTie said:
try removing the spaces before 'coords' and 'at' just in case.

Didn't change anything

Code for JailBuffet :
Code:
name	 JailBuffet
health	 10
type	 obstacle
cantgrab 1
shadow	 0
noatflash 1


anim idle
	delay	1
	offset	14 191
	bbox	0 0 0 0
	frame	data/Sprites/JailBuffet.gif
 
Yea the wall is killing it Fo Sho. I've got it all worked out now. All these tips have made me have a better understanding of when to use a wall or a platform.
 
Back
Top Bottom