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.

Program Announcements / [DBPro] A Simple Button Function System-- quick results (I hope)

Author
Message
Sixty Squares
17
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 18th Dec 2006 03:13 Edited at: 24th Feb 2007 00:29
Yeah... I had made a button system for one of my projects and I figured I would share it with you guys! Lol anyways I will upload it in a while (I have to add a link to this thread in the help file and organize some stuff). I hope it helps. In the meantime here is the commandlist. You only need to use like 4 commands to make a functional menu. It should be easy to learn if you would like to use it in all.

COMMAND LIST:



I'll upload the file in a bit. Here's a screenshot of what I was able to do with just 4 actual functions. The quit button actually works, and here is the code (it's one of the examples that comes with the file). The mouse is invisible because that's what PrntScrn does. It doesn't look very impressive but I've found it to be helpful.






And here the buttons are again, in a more practical situation. Also, the buttons have images on them this time














FUNCTION LIST FOR DBA FILE(Some of the ones in the download had bugs, so i fixed them here)
Updated December 27,2006







EDIT: Okay here it is: Click here to download the functon pack
If you need anything ( more examples, etc. ) just ask I hope this helps. Please post your responses.

Sixty Squares
17
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 18th Dec 2006 23:55
46 views and no responses

Hoozer
17
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bremerhaven (Germany)
Posted: 19th Dec 2006 00:14 Edited at: 19th Dec 2006 00:17
@ Sixty:

It looks nice and I hope you might improove it even more!
(I maybe use it, if I have time to continue with my project/ideas!)

(Also you should know, people often do not write much, only if someone writes "46 views and no responses", then someone starts and after that it grows steady! Although it's something different, if you offer code instead of just a game, code is in my eyes more respectfully than a game: Look at my post ( "PhysiX-Brick-Breakout (DP-Sw-Mode-Comp-2006-Entry)" ), it has actually 187 views and no one ever made a comment! )


Hoozer

AMD 64X2 4800+ (939); 2GB; GF 6800LE (@12PS, 6VS; 380 MHz, RAM: 434 MHz)
DP-Sw-Mode-Comp-Entry (updated to V. 1.2):
http://rapidshare.com/files/3326313/PhysiX-Brick-Breakout---V--1-2.zip
Sixty Squares
17
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 19th Dec 2006 00:29 Edited at: 24th Feb 2007 00:27
Thank you

Vampiric
17
Years of Service
User Offline
Joined: 30th Oct 2006
Location:
Posted: 19th Dec 2006 18:24
The code is exactlym like the one in my rpg. Nice work should be helpful for noobs

All bow down to evil
Sixty Squares
17
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 22nd Dec 2006 04:05
Really? Anyway, Thanks

Abhorrence is unruffled
17
Years of Service
User Offline
Joined: 21st Dec 2006
Location: Magma Land
Posted: 22nd Dec 2006 08:35
that looks sweet.. i might use 1. keep thinking

Tyler Smith
Sixty Squares
17
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 27th Dec 2006 19:20
Thanks!



Oops just noticed that I forgot to make SQ_ButtonWidth and SQ_ButtonHeight return values See the first post for an entire function list.

Login to post a reply

Server time is: 2024-04-23 21:21:56
Your offset time is: 2024-04-23 21:21:56