Posted: Wed Dec 21, 2011 2:41 am
Oh man. I forgot about this.
I need to pull the files off of my laptop and figure out my glass block situation.
I need to pull the files off of my laptop and figure out my glass block situation.
A place to discuss all things Wonderland!
https://pcpuzzle.com/forum/
Solid = 1StinkerSquad01 wrote:Oh man. I forgot about this.![]()
I need to pull the files off of my laptop and figure out my glass block situation.
Code: Select all
image_angle=point_direction(x,y,mouse_x,mouse_y);Code: Select all
Information about object: obj_vermilionflask
Sprite: sprite3
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent:
Mask:
Destroy Event:
create a small effect of type explosion relative at (16,16) of color 85502 above objects
Step Event:
COMMENT: check whether in air
if relative position (0,1) is collision free for Only solid objects
set the gravity to .5 in direction 270
else
set the gravity to 0 in direction 270
COMMENT: limit vertical speed
if vspeed is larger than 20
set the vertical speed to 20
COMMENT: conveyor controls
execute code:
//going right
if place_meeting(x,y+26,obj_conveyright)
x+=6
execute code:
//going left
if place_meeting(x,y+26,obj_conveyleft)
x-=6
execute code:
//going right
if place_meeting(x,y+26,obj_conveyrights)
x+=6
execute code:
//going left
if place_meeting(x,y+26,obj_conveylefts)
x-=6
Collision Event with object obj_voidy:
destroy the instance
Collision Event with object obj_bluewall:
move in direction direction at most 12 till a contact with solid objects
set the vertical speed to 0
Collision Event with object obj_conveyright:
move in direction direction at most 12 till a contact with solid objects
set the vertical speed to 0
Collision Event with object obj_conveyleft:
move in direction direction at most 12 till a contact with solid objects
set the vertical speed to 0
Collision Event with object obj_conveylefts:
move in direction direction at most 12 till a contact with solid objects
set the vertical speed to 0
Collision Event with object obj_conveyrights:
move in direction direction at most 12 till a contact with solid objects
set the vertical speed to 0
Collision Event with object obj_vermilionflask:
destroy the instance
Code: Select all
Information about object: obj_glass
Sprite: sprite44
Solid: true
Visible: true
Depth: -1
Persistent: false
Parent:
Mask:
1. Makes sense, I'll do what I can. (Once I finish figuring out how to to have 2 objects constantly together like they were one)MyNameIsKooky wrote:The reason the flask isn't falling if it's slid onto the glass is because the flask is checking for a lack of solid objects before falling.
BTW, you posted the pseudo-code for the flask twice and not the glass.
I know how. I'm using a variable, hurtdefense. When Voidy touches an enemy, it checks if the variable is 1, if true, exit the event that hurts Voidy. As of right now I need help getting an object to be attached to Voidy like a limb, so the object follows him constantly on top/bottom of him.Sammy_Bro wrote:I can help with the invincibility, but I will have to go soon, so maybe tomorrow or tonight.
YES PLEASE. BWF, can you also reset my pass on NWF? I'm renamed to Mr. Meteor.boywhoflies wrote:I think I could help with that, if you want me too. Scrap's hands in FT9 work like that before you attack with them.
Code: Select all
Step Event:
COMMENT: check whether in air
if at relative position (0,1) there is object obj_glass
set the gravity to .5 in direction 270
else
if relative position (0,1) is collision free for Only solid objects
set the gravity to .5 in direction 270
else
set the gravity to 0 in direction 270
I'll PM you a gm file when I can.StinkerSquad01 wrote:YES PLEASE. BWF, can you also reset my pass on NWF? I'm renamed to Mr. Meteor.boywhoflies wrote:I think I could help with that, if you want me too. Scrap's hands in FT9 work like that before you attack with them.
So about that PM...boywhoflies wrote:I'll PM you a gm file when I can.StinkerSquad01 wrote:YES PLEASE. BWF, can you also reset my pass on NWF? I'm renamed to Mr. Meteor.boywhoflies wrote:I think I could help with that, if you want me too. Scrap's hands in FT9 work like that before you attack with them.
I can't change your pass without your original pass, even with admin powers. If you want, you could make a new account for the time being and I'll make you a admin on there too.
Good grief, can you send the file already?boywhoflies wrote:Oh crap, I completey forgot about that.
That part doesn't have to be platforming.MyNameIsKooky wrote:Danmaku in a platform game? Good luck with that.
There is no collision with the flask and the glass, I said that about three times, when it falls, it goes right through, but when slid on to the glass nothing happens. I think I get the parent thing. Thanks.Sammy_Bro wrote:WAIT
Remove the collision with the flask and the glass.
If your trying to make it so it DOES hit blocks, then add some kinda collision with that.
If there is like, 17 kinds of blocks, put them all into one equal parent. Then add collision with that parent