The Daily Click ::. Forums ::. Klik Coding Help ::. How to make a working Messagebox and some other noobish questions
 

Post Reply  Post Oekaki 
 

Posted By Message

Corny



Registered
  26/10/2003
Points
  232
18th March, 2006 at 00:01:55 -

Hope people won't get upset because of my noobishness... and my bad english, but it's very late where I live and I kind of overworked myself.

Using the gamesfactory :
I'd like to make messageboxes ingame, where you can read what other NPCs are saying and when you push down (or whatever) the next thing being said appears in the message box. Standard procedure, just like this
http://www.crazyarcadia.com/shit/screen1.jpg
However, I'm not able to do this... I tried to do this via an active object : first, I created the single frames of text and characterartwork with some image program, then I copied it into the active object and wanted it to get through frame by frame when pressing down once for each frame. But whenever I try to make it like "Press down for next message, message appears, press down for next message, message appears etc." it'll just skip most of the messages because of the button being pressed once, but it get's looped.

Maybe this is a very confusing way of doing this (it's very timeconsuming getting through a cutscene with many dialouge pic for pic) and most possibly there is an easier way (I know about the text object but it's buggy) - so I ask for your help



Image Edited by the Author.

 
n/a

David Newton (DavidN)

Invisible

Registered
  27/10/2002
Points
  8322

Honored Admin Alumnus
18th March, 2006 at 00:55:58 -

To avoid the looping, what I've always done is to turn a flag on (or set an alterable value to 1, or whatever you like) when the button is pressed, then to turn it off again when the button is not being held down. ("(Negate) Repeat while button pressed") And you also need to add a check to the event that performs your "skip to the next message" icon to only allow it to happen when that flag is off.

Others may have other ways of doing it. Viel glück!

 
http://www.davidn.co.nr - Games, music, living in America

Deleted User
18th March, 2006 at 06:39:53 -

EVERYONE DOWNLOAD MY NEW GAME~! SHOOTPEACH-!

 

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
18th March, 2006 at 08:18:46 -

Wong, just delete that person.

 
n/a

David Newton (DavidN)

Invisible

Registered
  27/10/2002
Points
  8322

Honored Admin Alumnus
18th March, 2006 at 11:29:07 -

I'd love to, but on the off-chance that the account is somehow not fake, I've sent a DC-mail first.

 
http://www.davidn.co.nr - Games, music, living in America
   

Post Reply



 



Advertisement

Worth A Click