The Game Creators
The Game Creators Home Online Shop Click to Login
  Hot: Christmas CompetitionNovember NewsletterModel Pack 36DB Pro Pack 2009DGS BonanzaCharacter PackFPS Creator Bonanza;
The Game Creators
DBPro / Options Dialog DBPro Plugin

Go to the first page of this board Return to the Forum Menu Post Message
14 Messages - Page   of 1   
Bookmark and Share Search the Forum

Author Message
ThomasFN

User


Joined: Thu Aug 26th 2004
Location: Cyberspace
Posted: 3rd Jun 2005 17:57     Edited: 4th Jun 2005 15:05     | link | toggle

Now here is an interesting plugin for DBPro. It allows you to create and use option screens in DBPro (the game not the editor) and with similar code, allows you to use a main-menu screen. Manual and examples are supplied. The file (in a zip file) is supplied as an 18kb (0.018 mb) file. Enjoy!

[EDIT] Actually about 19 kb but who cares

Thomas Smith
Back to top
FortFN Website
Download: options_dialog_box_v1.0.zip Size: 19322 bytesReport this message as abusive
AlexI

User


Joined: Fri Dec 31st 2004
Location: UK
Posted: 5th Jun 2005 19:58           | link | toggle

cool
Back to top
http://www.fireproductions.co.uk
Report this message as abusive
Three Score

User


Joined: Fri Jun 18th 2004
Location: behind you
Posted: 6th Jun 2005 01:10           | link | toggle

nice job

formerly shadows of emptiness
Back to top
JouleOS and friends Send AIM user a message
Report this message as abusive
ThomasFN

User


Joined: Thu Aug 26th 2004
Location: Cyberspace
Posted: 6th Jun 2005 20:18     Edited: 6th Jun 2005 20:19     | link | toggle

Heres an update, it puts in a couple more cool commands in.

About 36kb, just overwrite all the files

Thomas Smith
Back to top
FortFN Website
Download: options_dialog_box_v1.0.1.zip Size: 38032 bytesReport this message as abusive
AlexI

User


Joined: Fri Dec 31st 2004
Location: UK
Posted: 9th Jun 2005 19:45           | link | toggle

What new commands?
Back to top
http://www.fireproductions.co.uk
Report this message as abusive
FXTC

User


Joined: Sat Jul 3rd 2004
Location: CzechRepublic
Posted: 9th Jun 2005 20:20           | link | toggle

interesting pugin THX

AMD 2,4 512MB RAM,2x200GB hdd,GforceFX5700GT128MB
Back to top
www.ydsoft.eu Find user on ICQ
Report this message as abusive
Three Score

User


Joined: Fri Jun 18th 2004
Location: behind you
Posted: 10th Jun 2005 01:39           | link | toggle

DrawOB(Width,Height,ImageNumber) - Draws the dialog box onto the screen. Use during a seperate loop.

DrawTitle(ImageNumber) - Draws a titlebar above the dialog box.

DrawOBToolBar(Height, Color) - Draws a toolbar on your screen for use in the main loop.

TitleClicked() - Returns a 1 if the title has been clicked.

DeleteTitle() - Deletes the titlebar if it exists.

DrawCommand(ImageNumber,CommandNumber,X,Y) - Draws seperate commands onto the box. Use in the same loop as the DrawOB command and use after the DrawOB command.

DeleteCommand(CommandNumber, Previous) - Deletes the specified command.

GoThroughCommands() - Returns the number of the command clicked (0 if none)

DeleteAll() - Deletes all the commands, the dialog box and the titlebar (if existent)

CommandClicked(CommandNumber) - Returns a 1 if the specified command has been clicked.

IMPORTANT - For the plugin to work, you must copy the variable block from below into your dba file. This must be copied for the plugin to work, and the code must be above the code where you call the plugin functions.

Rem OBFunc Plugin Init
Type OB
Global XPos
Global YPos
Global Width
Global Height
Global HighestSN
EndType
Global OBVar As OB


please post what functions so we know and dont have to download it open it then read the readme just to decide if we want it or not

formerly shadows of emptiness
Back to top
JouleOS and friends Send AIM user a message
Report this message as abusive
Google Ad
Back to top
 
ThomasFN

User


Joined: Thu Aug 26th 2004
Location: Cyberspace
Posted: 10th Jun 2005 13:23           | link | toggle

Sure. I can't think of any way to improve my plugin - and I have no bugs reported so far. Any ideas?

http://www.freeforum101.com/forum/index.php?mforum=fortfn - Thomas Smith
Back to top
FortFN Website
Report this message as abusive
Thebeely

User


Joined: Wed May 4th 2005
Location: Croatia
Posted: 10th Jun 2005 19:27           | link | toggle

Maybe it already exists, but what about some command that will change picture if cursor is above picture.

I'm not really smart...
Back to top
Report this message as abusive
ThomasFN

User


Joined: Thu Aug 26th 2004
Location: Cyberspace
Posted: 11th Jun 2005 15:14           | link | toggle

That would be an idea. I'll start work.

http://www.freeforum101.com/forum/index.php?mforum=fortfn - Thomas Smith
Back to top
FortFN Website
Report this message as abusive
ThomasFN

User


Joined: Thu Aug 26th 2004
Location: Cyberspace
Posted: 13th Jun 2005 17:52           | link | toggle

OK, I\'ve created an update. It has an extras command: MouseOnCommand(CommandNumber). You will not need to use this command to do what you say, Mean Mashine.

In the DrawCommand function, there is an extra parameter, OCOImageNumber. Set this to the image that will be displayed when the mouse in over the command.

Also, I\'ve fixed a problem with the DrawOB function, a simple copy-paste error, and two sets of media which you are free to use in your application. (That makes the file about 460 kb (0.46 mb))

Updated Command List:

DrawOB(Width,Height,ImageNumber) - Draws the dialog box onto the screen. Use during a seperate loop.

DrawTitle(ImageNumber) - Draws a titlebar above the dialog box.

DrawOBToolBar(Height, Color) - Draws a toolbar on your screen for use in the main loop.

TitleClicked() - Returns a 1 if the title has been clicked.

DeleteTitle() - Deletes the titlebar if it exists.

DrawCommand(ImageNumber,OCOImageNumber,CommandNumber,X,Y) - Draws seperate commands onto the box. Use in the same loop as the DrawOB command and use after the DrawOB command.

DeleteCommand(CommandNumber, Previous) - Deletes the specified command.

MouseOnCommand(CommandNumber) - Returns a 1 if the mouse is over the command.

GoThroughCommands() - Returns the number of the command clicked (0 if none)

DeleteAll() - Deletes all the commands, the dialog box and the titlebar (if existent)

CommandClicked(CommandNumber) - Returns a 1 if the specified command has been clicked.

Any more ideas?

http://www.freeforum101.com/forum/index.php?mforum=fortfn - Thomas Smith
Back to top
FortFN Website
Report this message as abusive
ThomasFN

User


Joined: Thu Aug 26th 2004
Location: Cyberspace
Posted: 24th Jun 2005 19:25     Edited: 27th Jun 2005 14:23     | link | toggle

I've got a problem with my forum profile - meaning I can't edit mesages or upload files. (Featured with my previous post) So all my Update files are on my forum:

http://www.bbfree.com/FortFN/index.php?s=c2dab564e4b7261c7a73a6b1f9c4fc3c&showforum=9

It was nice to have my code featured on the newsletter! Although they made a mistake by saying it was a DLL - it is not, it is a dba file!?

http://www.bbfree.com/FortFN/
Back to top
FortFN Website
Report this message as abusive
Keaz

User


Joined: Mon Sep 22nd 2003
Location: Somewhere in south Texas
Posted: 24th Jun 2005 19:40           | link | toggle

It's not a valid zip file. WinRAR won't open it.

Breaking Stuff=Fun!,Bug Testing<>Fun!, Bug Testing=Breaking Stuff, so...
Bug Testing=Fun! Hmmmm....
DOES NOT COMPUTE! SYSTEM MALFUNTION!
Back to top
Send AIM user a message
Report this message as abusive
ThomasFN

User


Joined: Thu Aug 26th 2004
Location: Cyberspace
Posted: 26th Jun 2005 15:12           | link | toggle

Try Winzip - or if you have XP, the built-in zip tool

http://www.bbfree.com/FortFN/
Back to top
FortFN Website
Report this message as abusive

Go to the first page of this board Return to the Forum Menu Post Message
14 Messages - Page   of 1   
Search the Forum

Sorry, but it has been so long since anyone replied to this Thread that it has been automatically locked.
You may read it but not reply.

Forum Search

Enter a word or phrase to search our Forum for:

Thread Subject Search
Search Phrase:
Search Scope: Entire forum
Just this board
 
Google Forum Search
Search Phrase:
 
Apollo v2.02


Dark Game Studio
Privacy Policy AUP Top of Page