Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: Transparent dialog text boxes that can be anywhere on the screen.  (Read 3515 times)

0 Members and 1 Guest are viewing this topic.

Xenogia

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 14
  • FMV Adventure Developer
    • View Profile

I am creating a game in the vain of Police Quest 4 except without the standard Sierra GUI and I was wondering how I would go about do dialog boxes like follows (screenshot example below):

Logged

Catacomber

  • Supporter
  • Frequent poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Female
  • Posts: 443
  • I love mice.
    • View Profile
    • Catacomber.com
Re: Transparent dialog text boxes that can be anywhere on the screen.
« Reply #1 on: January 06, 2009, 02:52:54 AM »

You can check my little demo which is here:

http://forum.dead-code.org/index.php?topic=3360.0

There's a static in my hud like the one you're showing in the middle bottom of the screen on my hud.

You would have to make a window with a static like that and place it where you want it and then code the text accordingly. 

It's not really that hard but you have to not only make the window with the static but make a method to have the text appear in the window--but you can follow that in my demo. 

« Last Edit: January 06, 2009, 02:57:53 AM by Catacomber »
Logged
http://www.catacomber.com/
Code: WME Script
  1. Mnemonic is wonderful.
  2.  

Jyujinkai

  • Global Moderator
  • Frequent poster
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 352
    • View Profile
    • Jyujinkai's WME Development Blog
Re: Transparent dialog text boxes that can be anywhere on the screen.
« Reply #2 on: January 06, 2009, 02:54:29 AM »

I'd use a "window" to house the text, that way you can even attach scripts to it and make them look like anything you want (eg png transparency), even use animated sprites for talking heads or whatever.

As thanks, make the name of the guy who runs the porn shop Jynks... (all cop games end up questioning a guy who runs a porn shop), or at least the "double take" drunkard outside teh quickie-mart.
« Last Edit: January 06, 2009, 02:56:44 AM by Jyujinkai »
Logged
<Antoine de Saint-Exupéry> In any thing at all, perfection is finally attained not when there is no longer anything to add, but when there is no longer anything to take away...
<Carl Sagan> If you want to make a apple pie from scratch. You must first... invent the universe

Xenogia

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 14
  • FMV Adventure Developer
    • View Profile
Re: Transparent dialog text boxes that can be anywhere on the screen.
« Reply #3 on: January 06, 2009, 02:58:06 AM »

Thanks for the quick reply guys, I am definetly going to check out your RPG demo to get an idea.  Cheers :)
Logged

Catacomber

  • Supporter
  • Frequent poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Female
  • Posts: 443
  • I love mice.
    • View Profile
    • Catacomber.com
Re: Transparent dialog text boxes that can be anywhere on the screen.
« Reply #4 on: January 06, 2009, 03:02:24 AM »

If you have a problem, just pm me.  :  )  BTW, I am not using WME for an RPG game now--that was just a little trial -- am using it now for what it does consummately---point and click adventures!!!! But I will still use that little dialogue box cause I love it so.   ;)

In law school, I had a friend on the police force who invited me to their classes---and it was the most fascinating experience I've ever had --and I still have the certificate for passing those classes-- so I would say there is a lot there re the police to make a good game out of.  :  )  And the stuff I saw didn't involve the ordinary or the mundane.  Police Quests can be the most fascinating.  :  )



« Last Edit: January 06, 2009, 03:52:56 AM by Catacomber »
Logged
http://www.catacomber.com/
Code: WME Script
  1. Mnemonic is wonderful.
  2.  
 

Page created in 0.022 seconds with 21 queries.