Page 5 of 7

Posted: Sun Jan 08, 2012 4:19 am
by StinkerSquad01
Sammy_Bro wrote: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.
Voidy is fine with the glass, as MNIK stated above, my flask is looking to see if there are solid objects beneath it, since the glass is solid, it will perform the actions that make it stop and sit on the block. I need to bypass this air check by testing for glass beneath the object, I know I can use the Check Object function, but I don't know how to set it up.

Posted: Sun Jan 08, 2012 5:05 am
by MyNameIsKooky
StinkerSquad01 wrote:
Sammy_Bro wrote: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.
Voidy is fine with the glass, as MNIK stated above, my flask is looking to see if there are solid objects beneath it, since the glass is solid, it will perform the actions that make it stop and sit on the block. I need to bypass this air check by testing for glass beneath the object, I know I can use the Check Object function, but I don't know how to set it up.
The Check Object function isn't really the best way to go about that since Voidy needs to move to contact in order to land nicely on the glass.

Regardless, I think I know how to fix your problems with the glass.

Make the glass unsolid. That way, the flask will ignore it. However, an extra function is needed in Voidy's collision with the glass. When Voidy collides with the glass, have him jump to position (xprevious,yprevious). That should fix their collision problems.

You may need to adjust a few things to get Voidy to be able to jump off of the glass. However, I won't go into that yet. Tell me if the (xprevious,yprevious) thing is working (mostly) properly if you decide to use it.

Posted: Sun Jan 08, 2012 5:14 am
by boywhoflies
No idea if this will work, but if that's the case, mabye you can keep the glass not solid, but when Voidy lands on it, you change it to solid, do the collision actions, and make it not solid again.(In the same event)

Posted: Sun Jan 08, 2012 5:18 am
by MyNameIsKooky
Remember, the main difference between solid and non-solid objects is that the moving object executes the function to jump to position (xprevious,yprevious) when it collides with the solid object. Unsolid object collisions do not perform this function.
boywhoflies wrote:No idea if this will work, but if that's the case, mabye you can keep the glass not solid, but when Voidy lands on it, you change it to solid, do the collision actions, and make it not solid again.(In the same event)
Things could go wrong if a flask touches the glass at the same frame as Voidy does.

Posted: Sun Jan 08, 2012 5:19 am
by StinkerSquad01
It works, but I am stuck and cannot move, then I get burnt to a crisp from the oncoming Flasks. o3o

Posted: Sun Jan 08, 2012 5:19 am
by MyNameIsKooky
give me voidy's pseudo code. NOW

Posted: Sun Jan 08, 2012 5:24 am
by boywhoflies
MyNameIsKooky wrote:
boywhoflies wrote:No idea if this will work, but if that's the case, mabye you can keep the glass not solid, but when Voidy lands on it, you change it to solid, do the collision actions, and make it not solid again.(In the same event)
Things could go wrong if a flask touches the glass at the same frame as Voidy does.
I meant at the start and end of Voidy's collision event with the glass, so it's not solid again before anything else happens.

Posted: Sun Jan 08, 2012 5:25 am
by StinkerSquad01
MyNameIsKooky wrote:give me voidy's pseudo code. NOW
FINE. I'm PMing it to avoid spoiling a bunch a stuffs.

Posted: Sun Jan 08, 2012 5:35 am
by MyNameIsKooky
Hmm.
Try changing this (in the step event):

Code: Select all

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
To this:

Code: Select all

COMMENT: check whether in air
if relative position (0,1) is collision free for Only solid objects
if there is not object obj_glass at relative position (0,1)
      set the gravity to .5 in direction 270
else
      set the gravity to 0 in direction 270
You'll need to use the Object Check function.

Posted: Sun Jan 08, 2012 5:40 am
by StinkerSquad01
It works....but now I get stuck on everything else. :3
Apply same the jump to position to other blocks? (although I should probably apply the parent first..)

Posted: Sun Jan 08, 2012 5:42 am
by StinkerSquad01
Too bad, I did anyway.
EDIT: Still, I can't jump [because my jumping is checking for solid objects], and when I land, I pause in mid air for a little sec. When I try to move after landing, I can't. :'< ORZ

Posted: Sun Jan 08, 2012 5:55 am
by StinkerSquad01
Hmph, I wish there was a way to let the flasks though with the glass staying solid so I do't get these wacky collisions.

Posted: Sun Jan 08, 2012 6:49 am
by MyNameIsKooky
StinkerSquad01 wrote:Too bad, I did anyway.
EDIT: Still, I can't jump [because my jumping is checking for solid objects],
Have it check for either solid objects or glass.
StinkerSquad01 wrote:and when I land, I pause in mid air for a little sec. When I try to move after landing, I can't. :'< ORZ
It should have worked fine. Maybe you did something about the Object Check function differently or something?

Posted: Sun Jan 08, 2012 3:25 pm
by StinkerSquad01
I can jump on glass now, but I can't move left/right, and when I land it will pause in the air randomly before hitting the glass, and it also looks like I sink into the glass, too.

Posted: Sun Jan 08, 2012 9:01 pm
by Sammy_Bro
StinkerSquad01 wrote:I sink into the glass, too.
You do sink in the glass, but the glass isn't solid.

Posted: Mon Jan 09, 2012 4:54 am
by StinkerSquad01
Is ok to use music I have purchased in my game?

Posted: Mon Jan 09, 2012 6:10 am
by MyNameIsKooky
It depends. Ask the music author. Or don't. They'll never know our games exist anyways.

Posted: Tue Jan 31, 2012 10:06 pm
by Sammy_Bro
BUMP

any progress?

Posted: Tue Jan 31, 2012 10:08 pm
by StinkerSquad01
Yeah. I need to perfect the hub, I need some special collectible item for you to get. Probably to seal the [REDACTED FOR SPOILERS]. Then make levels.

Posted: Tue Jan 31, 2012 10:18 pm
by Sammy_Bro
StinkerSquad01 wrote:Then make levels.
...your still not on level making?

get on steam at around 6:00 pm

Posted: Fri Feb 17, 2012 1:02 am
by StinkerSquad01
Gonna clean up my act and start over, I was unhappy with the old one.
I made a new Voidy sprite. 8)


New and improved:

Posted: Fri Feb 17, 2012 1:03 am
by StinkerSquad01
But I will be porting most things over, so chillax.

Posted: Fri Feb 17, 2012 1:47 am
by Technos72
If you made that new sprite, well done

Posted: Fri Feb 17, 2012 2:16 am
by StinkerSquad01
Technos72 wrote:If you made that new sprite, well done
Thank you. 8)

Posted: Fri Feb 17, 2012 10:46 pm
by StinkerSquad01
I need some suggestions on what the enemies should be.

Posted: Sat Feb 18, 2012 9:55 am
by Nobody
Various robotic enemies called V-Bots.

Posted: Sat Feb 18, 2012 3:57 pm
by StinkerSquad01
Nobody wrote:Various robotic enemies called V-Bots.
I was thinking robots too, but it seems cliche, not that I mind.

Posted: Sat Feb 18, 2012 8:46 pm
by StinkerSquad01
Oooh.

Posted: Sun Feb 19, 2012 3:29 am
by boywhoflies
G.U.I., I must say, looks epic.

Posted: Sun Feb 19, 2012 5:17 am
by StinkerSquad01
boywhoflies wrote:G.U.I., I must say, looks epic.
Of course, he is not just eyes. Anyway: