Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

Click here to join us on IRC (#charas on irc.freenode.net)!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • Tutorials »
  • Box Lifting Tutorial
« previous next »
  • Print
Pages: [1]

Author Topic: Box Lifting Tutorial  (Read 2814 times)

Offline Robotam

  • Member
  • Exemplar
  • *
  • Posts: 1,346
Box Lifting Tutorial
« 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:

 
Logged
Whoo, whoo, whoo, whoo!
http://i3.photobucket.com/albums/y90/Giga_Illusion/NewGetbackers1.gif

Offline peklo1989

  • Left the house..
  • Associate
  • *
  • Posts: 194
  • No longer here..
(No subject)
« Reply #1 on: September 10, 2004, 06:09:39 PM »
Sounds cool! I might use that in my game... But nice work!
Logged
This is me for forever, one of the lost ones. The one without a name, without an honest heart as compass

This is me for forever, one without a name. These lines the last endeavor, to find the missing lifeline

Oh how I wish, for soothing rain.. All I wish is to dream again. My loving heart, lost in the dark, for hope I'd give my everything. Oh how I wish, for soothing rain.. Oh how I wish to dream again. Once and for all  and all for once, Peklo my name forever more...

Offline Robotam

  • Member
  • Exemplar
  • *
  • Posts: 1,346
(No subject)
« Reply #2 on: September 10, 2004, 06:10:51 PM »
Thanks, peklo! :)
Logged
Whoo, whoo, whoo, whoo!
http://i3.photobucket.com/albums/y90/Giga_Illusion/NewGetbackers1.gif

Offline Relentless Soulscar

  • Have you ever felt the pure pain of third degree burns from the flames of hell devouring your body and you fall through the endless abyss? Though so..
  • Associate
  • *
  • Posts: 250
(No subject)
« Reply #3 on: September 12, 2004, 05:47:47 PM »
u use, rm2k? not 2k3?
Logged

Offline Robotam

  • Member
  • Exemplar
  • *
  • Posts: 1,346
(No subject)
« Reply #4 on: September 13, 2004, 05:41:38 AM »
Oh sorry, I forgot to tell you that. Yup, it's 2k.
Logged
Whoo, whoo, whoo, whoo!
http://i3.photobucket.com/albums/y90/Giga_Illusion/NewGetbackers1.gif

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • Tutorials »
  • Box Lifting Tutorial
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum