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.

Code Snippets / Windows style menu

Author
Message
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 25th Oct 2004 06:43 Edited at: 26th Oct 2004 09:35
Hey all, i know the exact same thing exists and better in robk`s menu dll but i thought id have a bash at it from scratch in dbp, apart from finding out howto find the windows colours i did it all,



its not fully finished im yet to add, checkboxes and radio buttons and all but they will be done eventually


MikeS
Retired Moderator
22
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 25th Oct 2004 07:39
Hey, that's not bad at all. Very nice.



A book? I hate book. Book is stupid.
(Formerly known as Yellow)
Antdizzle
21
Years of Service
User Offline
Joined: 6th Mar 2004
Location: Las Vegas
Posted: 25th Oct 2004 08:08
I like it. I would use it if I had something to use it for.
Turoid
21
Years of Service
User Offline
Joined: 1st Nov 2003
Location: The Netherlands
Posted: 26th Oct 2004 02:15
This is great

nice one dark

Do you need a complete FPS,3rdPS engine ?? Or a collision command libary?? well here it is:
http://forum.thegamecreators.com/?m=forum_view&t=38869&b=6&p=0
Turoid
21
Years of Service
User Offline
Joined: 1st Nov 2003
Location: The Netherlands
Posted: 26th Oct 2004 02:29
Hmmmz.. i found a bug

ftp://imtec.afraid.org/bug.jpg

I have this bug also when i do: create > music > a loop.

btw i've changed the colors a bit

Do you need a complete FPS,3rdPS engine ?? Or a collision command libary?? well here it is:
http://forum.thegamecreators.com/?m=forum_view&t=38869&b=6&p=0
Attreid
22
Years of Service
User Offline
Joined: 27th Nov 2002
Location:
Posted: 26th Oct 2004 04:34 Edited at: 26th Oct 2004 04:37
that's nice
but I don't understand your "get_colour()" function - it returns always the same thing Oo
(win xp pro)

"He will come...the voice from the outer world,
bringing the holy war, the Jihad, which will cleanse the Universe and bring us out of darkness."
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 26th Oct 2004 09:40 Edited at: 26th Oct 2004 09:42
hmm your image dont load up, and i guess this dont work on xp-pro, but to check out on what your missing out on load up ms paint and play with the menu and you get the jist :p,

[EDIT] my good friend, emperor baal has tested it on win xp pro with no service packs installed and it works good for him.

heres a totally recoded v3 of this menu, this supports dividers and checkboxes.



instead of typing out those long lines for ease you can use numbers if you look in the functions the abbreviated ones ^^.
eg:, asm(pos,name as string), thats add_sub_menu is short,

enjoi,


Cian Rice
21
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 26th Oct 2004 10:39
What about XP?

There is only one way to package shaolin: Shaolin Soccer...
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 26th Oct 2004 21:46
beats me, ah well, it works for emperor baal so i dunno what could be going wrong.


Turoid
21
Years of Service
User Offline
Joined: 1st Nov 2003
Location: The Netherlands
Posted: 26th Oct 2004 23:52
This bug.. click download \/

Do you need a complete FPS,3rdPS engine ?? Or a collision command libary?? well here it is:
http://forum.thegamecreators.com/?m=forum_view&t=38869&b=6&p=0
PowerSoft
20
Years of Service
User Offline
Joined: 10th Oct 2004
Location: United Kingdom
Posted: 27th Oct 2004 01:47
Dark can i add this to the scripting engine?


Create? Play? YOU Decide
Cian Rice
21
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 27th Oct 2004 04:41
Sorry I wasn't clear. No bugs at all, I meant what about an XP style? That looks alot like 2000 down, you know what I mean, but it's nice though.

There is only one way to package shaolin: Shaolin Soccer...
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 27th Oct 2004 07:07
yea sure use it in whatever just try to slip my name in somewhere :p,

and as for xp sylyles i see what you mean like buttons and all, but that is simple more hassle for an os i dont have, either way this was only something to burn time im not gonna try to replicate every single windows thing as that would be impractical making it in dbp.

anywho glad you like it


Cian Rice
21
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 2nd Nov 2004 05:54
Two things,
Can I use this in MY editor?
and, how come if I just change the names for the Long list Check boxes I can't get the drop down menus anymore? Because I want to change them.

There is only one way to package shaolin: Shaolin Soccer...
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 10th Nov 2004 07:38
yes everyone can use it on whatever just stop asking :p, and as for renaming the checkboxes, there are 2 methods of adding new drop downs, either specify the direct "filename i guess you could call it, or you can do it numbers wise, so file would be 1, and edit 2 etc etc, depending on your order of creating them, if you were to rename a dropdown or sub dropdown then the sub sub dropdows there filenames wouldent exist thus they wouldent dropdown, i used the long filenames as a quick and easy example with minimal confusion of having loads of numbers like, add_sub_sub_drop(3,2,1,"hello"), wouldent make much sence to many people.


NinJA99
20
Years of Service
User Offline
Joined: 21st Jan 2005
Location: Windham, NH
Posted: 21st Jan 2005 07:19
You said it was for DBP...any possibility you could make it for DBC? That'd be so cool!

Login to post a reply

Server time is: 2025-08-09 01:36:27
Your offset time is: 2025-08-09 01:36:27