Page 4 of 7

Posted: Wed Dec 21, 2011 2:41 am
by StinkerSquad01
Oh man. I forgot about this. :oops:
I need to pull the files off of my laptop and figure out my glass block situation.

Posted: Wed Dec 21, 2011 6:30 pm
by Sammy_Bro
StinkerSquad01 wrote:Oh man. I forgot about this. :oops:
I need to pull the files off of my laptop and figure out my glass block situation.
Solid = 1
No collision with flask
Collision with player in Player object

Do you get that?

Posted: Wed Dec 21, 2011 8:51 pm
by StinkerSquad01
I tried that! The flask still collides with the glass, IIRC.

Posted: Mon Dec 26, 2011 11:54 pm
by StinkerSquad01
DP, going to finally get the game off of laptop, how do you make an object aim towards your mouse/rotate towards mouse?

Posted: Tue Dec 27, 2011 12:01 am
by MyNameIsKooky

Code: Select all

image_angle=point_direction(x,y,mouse_x,mouse_y);

Posted: Tue Dec 27, 2011 4:43 am
by StinkerSquad01
Flask

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
Glass

Code: Select all

Information about object: obj_glass
Sprite: sprite44
Solid: true
Visible: true
Depth: -1
Persistent: false
Parent: 
Mask: 

They collide still.

Posted: Tue Dec 27, 2011 4:59 am
by StinkerSquad01
OH COME ON

If the flasks fall, they pass through, but not if they're slid onto the block. -_-

Posted: Tue Dec 27, 2011 5:06 am
by MyNameIsKooky
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.

Posted: Tue Dec 27, 2011 6:00 am
by StinkerSquad01
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.
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)

2. oh derp

Posted: Tue Dec 27, 2011 6:12 am
by StinkerSquad01
Going to add some gunz. And a time of invincibility when you get hurt so you don't instantly die from touching a spike or something.

Posted: Tue Dec 27, 2011 11:05 pm
by Sammy_Bro
I can help with the invincibility, but I will have to go soon, so maybe tomorrow or tonight.

Posted: Tue Dec 27, 2011 11:25 pm
by StinkerSquad01
Sammy_Bro wrote:I can help with the invincibility, but I will have to go soon, so maybe tomorrow or tonight.
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.

Posted: Tue Dec 27, 2011 11:54 pm
by boywhoflies
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.

Posted: Tue Dec 27, 2011 11:56 pm
by StinkerSquad01
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.
YES PLEASE. BWF, can you also reset my pass on NWF? I'm renamed to Mr. Meteor.

Posted: Wed Dec 28, 2011 3:44 am
by StinkerSquad01
Ok, this is annoying. For the flask:

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
should allow it to pass through the glass but it won't. :x

Posted: Wed Dec 28, 2011 5:06 am
by boywhoflies
StinkerSquad01 wrote:
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.
YES PLEASE. BWF, can you also reset my pass on NWF? I'm renamed to Mr. Meteor.
I'll PM you a gm file when I can.

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.

Posted: Sat Dec 31, 2011 10:03 pm
by StinkerSquad01
boywhoflies wrote:
StinkerSquad01 wrote:
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.
YES PLEASE. BWF, can you also reset my pass on NWF? I'm renamed to Mr. Meteor.
I'll PM you a gm file when I can.

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.
So about that PM...

Posted: Sat Dec 31, 2011 10:40 pm
by boywhoflies
Oh crap, I completey forgot about that. :oops:

Posted: Mon Jan 02, 2012 2:35 am
by StinkerSquad01
boywhoflies wrote:Oh crap, I completey forgot about that. :oops:
Good grief, can you send the file already? :P :lol:

Posted: Mon Jan 02, 2012 2:54 am
by boywhoflies
I saw this when I came online to send it to you. :3

Hold on.

Posted: Sat Jan 07, 2012 1:36 am
by StinkerSquad01
I'm thinking of having a Danmaku boss. Any tips? :3
(No, not insane like this)

Posted: Sat Jan 07, 2012 1:42 am
by MyNameIsKooky
Danmaku in a platform game? Good luck with that.

Posted: Sat Jan 07, 2012 2:07 am
by StinkerSquad01
MyNameIsKooky wrote:Danmaku in a platform game? Good luck with that.
That part doesn't have to be platforming.

Posted: Sat Jan 07, 2012 3:00 pm
by StinkerSquad01
Adding an External Music loader so I doesn't take 5 years to load.

Posted: Sat Jan 07, 2012 4:02 pm
by Technos72
Yeah that's what I'm doing for SDV and my future game projects, same thing goes with BGs

Posted: Sat Jan 07, 2012 4:48 pm
by StinkerSquad01
*added Form 0
*added colorful Vexes

Posted: Sat Jan 07, 2012 5:01 pm
by StinkerSquad01
All I need is to solve my glass problem and I can make levels.

Posted: Sun Jan 08, 2012 1:58 am
by Sammy_Bro
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

Posted: Sun Jan 08, 2012 3:28 am
by StinkerSquad01
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
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.

Posted: Sun Jan 08, 2012 3:53 am
by Sammy_Bro
Oh, sorry.

Apparently, the glass is solid, so I don't think the flask will go through..

..but if you want Voidy to collide with the glass, THAT is the problem.