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 / drag and drop

Author
Message
lilgamz
18
Years of Service
User Offline
Joined: 10th Mar 2006
Location:
Posted: 24th Mar 2006 18:35
How can I let the user simply pick up objects and put them down?

Is there a "drag object" command in dbc or will I need to write it?
_ RealUnReal _
19
Years of Service
User Offline
Joined: 8th Jan 2005
Location: Dudley, UK
Posted: 24th Mar 2006 18:45 Edited at: 24th Mar 2006 18:45
No Questions ! ! !, Please read forum rules for this board.
Halo Man
19
Years of Service
User Offline
Joined: 5th Nov 2005
Location:
Posted: 25th Mar 2006 01:57
You'll need to write it.

Chicago Rush Website: http://chicagorush.servegame.com/
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 25th Mar 2006 08:58
Did you read the rules?

View my website![href] http://www.freewebs.com/directexecute/index.htm [/href]
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 25th Mar 2006 10:34
Apparently not...

Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 26th Mar 2006 00:01
Seems so..


Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 26th Mar 2006 00:36
This should go to the newcomers corner if your new, or the DarkBASIC (c or p) discussion if your used to programming.

View my website![href] http://www.freewebs.com/directexecute/index.htm [/href]
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 26th Mar 2006 04:12
Why are you all still posting in this thread? Should've been locked by now.


Nul error
19
Years of Service
User Offline
Joined: 12th Aug 2005
Location:
Posted: 26th Mar 2006 23:50 Edited at: 26th Mar 2006 23:54
Heres something I think your after. Its not finished and its based on phanlanx's inventory drag and drop system for dbp.



save the code as a project or source and download the zip and unzip the images in the same folder as the project/source file.

Its not complete. I still haven't figured out how to design a format to drag and drop the slots onto the ship (wondering if I do a grid and lock some grids to a type or do a x,y thing for boxes that only accept a type) also the 2 grids don't exchange items with each other yet.

Attachments

Login to view attachments
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 27th Mar 2006 07:26
I forgot all about that code.


Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 28th Mar 2006 09:49
Quote: "Why are you all still posting in this thread? "


Forum paradox no.101


Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 28th Mar 2006 12:44
Quote: "Why are you all still posting in this thread?"


I wasn't till I posted this.

Login to post a reply

Server time is: 2024-11-23 07:52:25
Your offset time is: 2024-11-23 07:52:25