Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / simple message box (2d RPG style)

Author
Message
Suicidal Sledder
21
Years of Service
User Offline
Joined: 17th Aug 2004
Location: Tikrit, Iraq
Posted: 3rd Feb 2011 21:17
Below is a little function I wrote to display messages like you might see in a 2d RPG.

img$ is the path to an image you want to display with the message (IE a character face).

text$ is the text to be displayed. This function also separates your string into seperate lines of text up to 5 lines.

Hope you find this useful! Any questions just ask.



baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 4th Feb 2011 11:17
Looks neat. Maybe you should put this in "Code Snippets"?

Login to post a reply

Server time is: 2026-07-18 00:34:56
Your offset time is: 2026-07-18 00:34:56