Charas-Project

Game Creation => Requests => Tutorials => Topic started by: Robotam on September 10, 2004, 06:06:07 PM

Title: Box Lifting Tutorial
Post by: Robotam on September 10, 2004, 06:06:07 PM
Tjello, guys! ^^

Today I’m here to show you a ”Box Lifting” tutorial.
You need: 4 events, 1 common event, 1 item and 2 switches.

First make an item called “Rock Necklace”. The classification should be “Other” and make it so only the main hero can equip it.
That’s all for the item.

The Common event:
The event start should be Parallel process and name it “Box Lift”.
The programming should simply look like this:
<> FORK Optn:Hero-Rock Necklace Equipped
<> Change Switch : [0001:Box lift]-On Set
<>
: ELSE Case
<> Change Switch : [0001:Box lift]-Off Set

Simple Item event [Maybe to simple=P]:
Event start is going to be “Push key”, select a graphic if you like.
Here’s the simple programming:
<>Add/Remove Item Rock Necklace-> 1 Incr

The box:
Event start is “Push key” and the position is “Same Level as Hero” and this event requires 2 pages.
This is the programming:
<> FORK Optn:Switch [0001:Box Lift] –On
<> Messg: Want to lift the box?
<> Show Choice: Yes/No
: [Yes] Case
<>Move Event…:    this event, Up   , Up
<> Change Switch : [0002:Test]-On Set
: [No] Case
<>
: END Case
<>
: END Case
<>

The second page:
This page should be a switch.
Switch [0002:Test]- On
This page has no programming, all you have to do is to change the position to “Over Hero”.

Jump event:
Place this event on the cliff you’re going to jump to box from.
Make it a “Push key”.
Programming:
<>FORK Optn:Switch [0002:Test]- On
<>Wait:   0,5s.
<>Change Switch: [0002:Test]-Off
<>Move Event… :    Hero, Strt SlipTro, Start Jump , Wait  , Right  , Right  , Wait  , End Jump
<>Wait:   0,5s.
<>Move Event… :    Hero, Strt SlipTro, Start Jump , Wait  , Right  , Right  , Wait  , End Jump
<> Change Switch: [0002:Test]-On
<>
: END Case
<>

Jump back event:
Make it a “Push key”.
Programming:
<>FORK Optn:Switch [0002:Test]- On
<>Wait:   0,5s.
<>Change Switch: [0002:Test]-Off
<>Move Event… :    Hero, Strt SlipTro, Start Jump , Wait  , Left  , Left  , Wait  , End Jump
<>Wait:   0,5s.
<>Move Event… :    Hero, Strt SlipTro, Start Jump , Wait  , Left  , Left  , Wait  , End Jump
<> Change Switch: [0002:Test]-On
<>
: END Case
<>

Remember, you must equip the Rock Necklace!
Reply if you don't understand or if it doesn't work.

Make the map similar to the attachment.
That’s all. :hi:

 
Title:
Post by: peklo1989 on September 10, 2004, 06:09:39 PM
Sounds cool! I might use that in my game... But nice work!
Title:
Post by: Robotam on September 10, 2004, 06:10:51 PM
Thanks, peklo! :)
Title:
Post by: Relentless Soulscar on September 12, 2004, 05:47:47 PM
u use, rm2k? not 2k3?
Title:
Post by: Robotam on September 13, 2004, 05:41:38 AM
Oh sorry, I forgot to tell you that. Yup, it's 2k.