Charas-Project

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

Login with username, password and session length
 

News:

New forum theme up and running!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Trouble with times and loops
« previous next »
  • Print
Pages: [1]

Author Topic: Trouble with times and loops  (Read 2149 times)

Offline Tenko

  • Member
  • Initiate
  • *
  • Posts: 3
Trouble with times and loops
« on: September 25, 2006, 12:47:03 AM »
I have two questions that are driving me insane.

1.

I have some events like characters that are supoused to say something and then walk until the end of the map and then disapear like if they were going  out of the sceen, I can move the characters until the edge, and I know how to make them disapear changing some switches so in the 2nd page it becomes transparent and untouchable with the condition of the Switch of page 1.

My problem is that just after they had finished saying the messange, they disapear without had moving! I tried adding more than one switch (and pages) and it gave me a little more time (it moves but not the full trajectory), and then it stops after a few steps and I have to touch him again so he disapears (not even finishing the trajectory)

So. How can I do it so it works all the actions (message, walking, and THEN disapear) in order without one getting in the middle of the other?



2.
I wanted to do an Image Intro that could start in the same moment you start the game (Well, after you start it in the main menu) But if I use the "Colision", "Automatic Begining" or "Paralel Process" it keeps repeting itself over and over again, even if I try to "end it" with a swicth or something.

And I can't use the other two options because they don't start right away.

Once again, what can I do?





I'm sorry if this questions are lame, but I checked over and over again the tutorials and I really can't make it work, and I'm a real n00b on this ;x;

((Also I apologize for my terrible english QxQ))
Logged

Offline WarxePB

  • Action Sue
  • Royal
  • *
  • Posts: 3,601
  • What killed the dinosaurs?
    • The Gigaverse
(No subject)
« Reply #1 on: September 25, 2006, 12:52:49 AM »
For the first question, you can use a wonderful little command called "Move All/Proceed with Movement". It will wait for the Move Event command to be done, then go onto the next command.

For the second question, are you using the Show Picture command? If you do, just use the Erase Picture command to get rid of it. If not, I'm not sure exactly how you're showing the image, so please elaborate.
Logged
Blog: The Gigaverse
Twitter: Initial Chaos

Offline MrMister

  • damn u vile woman
  • Royal
  • *
  • Posts: 3,506
(No subject)
« Reply #2 on: September 25, 2006, 01:00:46 AM »
T-T-t-t-tenkoooo?!?!
Logged
you look like an orphan

Offline Tenko

  • Member
  • Initiate
  • *
  • Posts: 3
(No subject)
« Reply #3 on: September 25, 2006, 01:09:45 AM »
About the pictures, I am using something like

"Show Image 1"
"Text: Yaddayadda"
"Errase Image 1"

"Show Image 2"
"Text: Yaddayadda"
"Errase Image 2"


And when I run it I just have to press enter betwen each text + image transtition and It goes right and end right.

and they do disapear if it's an event I need to step on it or press Enter, but if I check the option of automatic begining it repeats itself endlesly, even with switch and all

----

And about the first one, I'm really sorry to ask you this but... where do I found it? > <;;   On the window of "Event Comands" in which part? >



---

Tenko T-T?  me tenko or other tenko? O o
Logged

Offline WarxePB

  • Action Sue
  • Royal
  • *
  • Posts: 3,601
  • What killed the dinosaurs?
    • The Gigaverse
(No subject)
« Reply #4 on: September 25, 2006, 10:48:13 AM »
You can find the command right below the Move Event command. Depending on what translation you have, it might have a different name, but it's always right below Move Event.

And... I still really don't get why your second question isn't working. If I understand it correctly, you're doing this (with the terminology in your translation):

(Event: Auto-start, no preconditions)

<>Show Picture: 1, Pic1
<>Message: Blah
<>Erase Picture: 1
<>Show Picture: 1, Pic2
<>Message: Another Blah
<>Erase Picture: 1
<>Switch Operation: Switch[0021:End] ON

and nothing in the second page. Right?
Logged
Blog: The Gigaverse
Twitter: Initial Chaos

Offline Tenko

  • Member
  • Initiate
  • *
  • Posts: 3
(No subject)
« Reply #5 on: September 26, 2006, 07:59:11 PM »
O.m.g.!!!  Thank you so much for helping me with the first one! <3


------

Quote
Originally posted in the tutorial/I]
How do I make an intro/cut scene?

Well this all begins with an Auto start event. Since the auto start will be the first thing executed when you enter a map you'll have to create one and put all your cut scene movement, speech, special effect... in one of those.

Now if you leave like that first the event will begin as soon as you enter the map (which is good in the case of intros but bad in cut scene) and it will repeat itself endlessly. But good thing you read the above post because that explained how to stop the infinite loop.


That says:

Quote
Originally posted in the tutorial/I]

1. Ok... so you've coded in a bunch of things that the person should do. Now you want him to disappear. AT THE END OF THE PERSON'S CODE, click the "change switch" button, click the [...], pick an empty switch, give it a name, and turn it on.

2. At the top of the event page, click "new page". This should add a second page to the event.

3. On the left of the second page, check the box next to "switch", click the [...], and select the switch you used in part 1.

4. Delete the graphic on the second page, and set it to over hero or under hero.


But the second step for making some event desapear (in my case with "Erase Picture") just work with events that shows themselves when we, the user, makes something such as step on it, or press "accept", but not when it starts automaticaly, because I can not find I way to tell it to stop in those sircunstances.

I just want to know If I can actualy do such a thing, or if it's there another way to make that happen (automaticaly start, but show itself just once without the user have to do any command) O O


Once again, thank you so much for your patience! > <
Logged

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Trouble with times and loops
 

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