Drandom Adventure

For discussion of non-Wonderland topics - please read rules!
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9701
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky »

Do you want the scorpions to have health too, or do you want to leave them as having one hit before dying?
User avatar
LittleZbot
Rainbow MegaStar
Posts: 3038
Joined: Fri Jul 03, 2009 10:51 pm
Contact:

Post by LittleZbot »

Health, as later on there will be more and more powerful ones(maybe even one as a Mini-Boss).
Remember to look at the dates that every post is made. It's been many years, and I, and others, may not be the same people we were when we made them. This is a symbol of where we came from, and should be remembered as that.
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9701
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky »

Alright, finished. :)
User avatar
LittleZbot
Rainbow MegaStar
Posts: 3038
Joined: Fri Jul 03, 2009 10:51 pm
Contact:

Post by LittleZbot »

I played it for a test, and now it takes a few jumps on the Googles to defeat them. :? Can you fix that?
Remember to look at the dates that every post is made. It's been many years, and I, and others, may not be the same people we were when we made them. This is a symbol of where we came from, and should be remembered as that.
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9701
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky »

LittleZbot wrote:I played it for a test, and now it takes a few jumps on the Googles to defeat them.
According to the code, you wanted them to have 10 HP and right now, jumps damage them by 1 HP. If you want your jumps to damage them by 10 HP, then change how much damage is inflicted upon them (which should be in Drandom's collision events).
User avatar
LittleZbot
Rainbow MegaStar
Posts: 3038
Joined: Fri Jul 03, 2009 10:51 pm
Contact:

Post by LittleZbot »

Got it.

However, I discovered that you can jump into them from below and they will lose HP, even though it's only supposed to lose HP if you hit it from ABOVE.

I figured out why(Drandom is in the air when he hits it) But I don't know how to fix it.
Remember to look at the dates that every post is made. It's been many years, and I, and others, may not be the same people we were when we made them. This is a symbol of where we came from, and should be remembered as that.
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9701
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky »

Well, you said you wanted it to be like Wefight...

Make it so that Drandom checks if he's above the enemy when he hits it.
User avatar
LittleZbot
Rainbow MegaStar
Posts: 3038
Joined: Fri Jul 03, 2009 10:51 pm
Contact:

Post by LittleZbot »

How?

Again...
Remember to look at the dates that every post is made. It's been many years, and I, and others, may not be the same people we were when we made them. This is a symbol of where we came from, and should be remembered as that.
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9701
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky »

"if Drandom.y is larger than other.y+30"

replace the air thing in the collision events with that.
User avatar
LittleZbot
Rainbow MegaStar
Posts: 3038
Joined: Fri Jul 03, 2009 10:51 pm
Contact:

Post by LittleZbot »

I get this error:

Code: Select all

ERROR in
action number 1
of Collision Event with object Cyan_Google
for object obj_Drandom:

Error in expression:Drandom.y
 position 1: Unknown variable Drandom
Remember to look at the dates that every post is made. It's been many years, and I, and others, may not be the same people we were when we made them. This is a symbol of where we came from, and should be remembered as that.
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9701
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky »

Whoops, I meant: obj_Drandom.y
User avatar
LittleZbot
Rainbow MegaStar
Posts: 3038
Joined: Fri Jul 03, 2009 10:51 pm
Contact:

Post by LittleZbot »

Now It's exactly like before.
Remember to look at the dates that every post is made. It's been many years, and I, and others, may not be the same people we were when we made them. This is a symbol of where we came from, and should be remembered as that.
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9701
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky »

Then you did something wrong.
User avatar
boywhoflies
Rainbow Spirit Chaser
Posts: 5510
Joined: Thu Jun 26, 2008 3:16 pm

Post by boywhoflies »

Wait, is the Drandom object actually called obj_drandom?If not, swap the obj_drandom for the real name.
Mr. Robot never dies! :D

Chatroom
User avatar
LittleZbot
Rainbow MegaStar
Posts: 3038
Joined: Fri Jul 03, 2009 10:51 pm
Contact:

Post by LittleZbot »

Yeah, I think it is. I can't check at the moment though. However, MyNameIsKooky has the file, so he would know.
Remember to look at the dates that every post is made. It's been many years, and I, and others, may not be the same people we were when we made them. This is a symbol of where we came from, and should be remembered as that.
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9701
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky »

Yes, according to the error, it's obj_Drandom
User avatar
boywhoflies
Rainbow Spirit Chaser
Posts: 5510
Joined: Thu Jun 26, 2008 3:16 pm

Post by boywhoflies »

Oops, I fail.

Try deleting that stuff and putting it back. GM8 dosen't like to work very much.
Sometimes a code dosen't work, then I cut it and paste it back, no changes, and it works. :lol:
Mr. Robot never dies! :D

Chatroom
User avatar
LittleZbot
Rainbow MegaStar
Posts: 3038
Joined: Fri Jul 03, 2009 10:51 pm
Contact:

Post by LittleZbot »

I haven't been paying this too much attention because I've been busy doing other things(Like being lazy *shot*). However, I just got back on this and, for some reason, When you jump ON a Google you lose HP and if you jump INTO a Google IT loses HP.

HELP.
Remember to look at the dates that every post is made. It's been many years, and I, and others, may not be the same people we were when we made them. This is a symbol of where we came from, and should be remembered as that.
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9701
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky »

For the position check thing, do you have the "NOT" box checked?
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9701
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky »

MyNameIsKooky wrote:For the position check thing, do you have the "NOT" box checked?
When you jump on it, I mean.
User avatar
LittleZbot
Rainbow MegaStar
Posts: 3038
Joined: Fri Jul 03, 2009 10:51 pm
Contact:

Post by LittleZbot »

Nope. :?
Remember to look at the dates that every post is made. It's been many years, and I, and others, may not be the same people we were when we made them. This is a symbol of where we came from, and should be remembered as that.
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9701
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky »

Try checking it.
User avatar
LittleZbot
Rainbow MegaStar
Posts: 3038
Joined: Fri Jul 03, 2009 10:51 pm
Contact:

Post by LittleZbot »

Thanks!

I am going to add cages. You can push them around and if a Google collides with one, it gets caged. Once a Google is caged, you can push him the Google around until the Google manages to break free.

But, I have a question. How would you make it so that if you collide with it from the right it goes right and from the left it goes left?
Remember to look at the dates that every post is made. It's been many years, and I, and others, may not be the same people we were when we made them. This is a symbol of where we came from, and should be remembered as that.
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9701
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky »

You mean the cages?
User avatar
LittleZbot
Rainbow MegaStar
Posts: 3038
Joined: Fri Jul 03, 2009 10:51 pm
Contact:

Post by LittleZbot »

Yes. What else would I mean? I want you to be able to push the cages.
Remember to look at the dates that every post is made. It's been many years, and I, and others, may not be the same people we were when we made them. This is a symbol of where we came from, and should be remembered as that.
User avatar
Blast!10
Rainbow Star
Posts: 1631
Joined: Thu Nov 02, 2006 7:26 pm
Location: New Hampshire

Post by Blast!10 »

In the player's collision with cage event, do this:

other.x += x-xprevious;
if y < other.y-16;
vspeed = -10;

Keep in mind, however, that the player jumps when he hits the cage from above he jumps on it. If you don't want that to happen, tell me and I'll try to think of another solution.
User avatar
Nobody
Rainbow Spirit Chaser
Posts: 5530
Joined: Thu Aug 21, 2008 5:52 pm

Post by Nobody »

Blast!10 wrote:the player jumps when he hits the cage from above he jumps on it
what
i should change my signature to be rude to people who hate pictures of valves
User avatar
boywhoflies
Rainbow Spirit Chaser
Posts: 5510
Joined: Thu Jun 26, 2008 3:16 pm

Post by boywhoflies »

If he lands on the cage he will jump automatically...I think.
Mr. Robot never dies! :D

Chatroom
User avatar
LittleZbot
Rainbow MegaStar
Posts: 3038
Joined: Fri Jul 03, 2009 10:51 pm
Contact:

Post by LittleZbot »

I want it to pretty much act like a pushable wall that traps Googles that collide with it.
Remember to look at the dates that every post is made. It's been many years, and I, and others, may not be the same people we were when we made them. This is a symbol of where we came from, and should be remembered as that.
User avatar
LittleZbot
Rainbow MegaStar
Posts: 3038
Joined: Fri Jul 03, 2009 10:51 pm
Contact:

Post by LittleZbot »

LittleZbot wrote:I want it to pretty much act like a pushable wall that traps Googles that collide with it.
Remember to look at the dates that every post is made. It's been many years, and I, and others, may not be the same people we were when we made them. This is a symbol of where we came from, and should be remembered as that.
Post Reply