-Noobie- help with picking up objects

For questions about using Classic.

Post » Wed Nov 23, 2011 11:16 pm

Hello everyone I'm new to forums as well as Construct Classic.   

I would like to know how to make the 2D Player Character pick up and throw function object like in Mario brother 2 or the Chip n Dale game for the NES.

You see, I'm working on a Mario 2 inspired game. If someone can post a simple .cap file explaining the function for me I would be much grateful.


Thank you


DQsilme
B
1
G
1
Posts: 4
Reputation: 433

Post » Thu Nov 24, 2011 12:24 am

Platform Throw

Crudely put together (it's late) but is that what you had in mind?untune2011-11-24 18:35:37
B
15
S
6
G
6
Posts: 103
Reputation: 2,968

Post » Thu Nov 24, 2011 12:32 am

Untune beat me to it.But here is the chip n dale type pickup.If you stand on top of the box and press the down arrow key plus the spacebar then the char will pick up the box , Press F key to shoot the box.

Download Demo Cap
B
22
S
3
G
6
Posts: 1,356
Reputation: 7,141

Post » Thu Nov 24, 2011 3:22 pm

Thanks guys By the way Untune, your I think link is broken. I cannot access your file. A message pops up that says "Internal Server Error" I would like to see your .cap file as well Perhaps re-posting the link will fix it?
B
1
G
1
Posts: 4
Reputation: 433

Post » Thu Nov 24, 2011 6:36 pm

Sorry about that, posted the link incorrectly. Works now - mine and Draven's are practically the same though haha, so I don't know if it'll be of much use!
B
15
S
6
G
6
Posts: 103
Reputation: 2,968

Post » Thu Nov 24, 2011 8:19 pm

Wow!

Awesome job! Buy the way is it possible to have the the pick up button the same as the throw button? or will that cause a conflict of confusion with the code being that they are the same button?

But thank you guys for the reference!

DQslime
B
1
G
1
Posts: 4
Reputation: 433

Post » Thu Nov 24, 2011 11:06 pm

Yeah I rushed that a bit last night, try this updated one. Could do with some tweaking and improvement but hopefully it gets the general idea across

Platform Throw 2untune2011-11-24 23:06:28
B
15
S
6
G
6
Posts: 103
Reputation: 2,968

Post » Thu Nov 24, 2011 11:23 pm

Thank you so much everyone this will do it!
B
1
G
1
Posts: 4
Reputation: 433


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 6 guests