.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old January 2nd, 2007, 02:44 AM
HoneyBadger's Avatar

HoneyBadger HoneyBadger is offline
General
 
Join Date: Oct 2006
Posts: 3,445
Thanks: 85
Thanked 79 Times in 51 Posts
HoneyBadger is on a distinguished road
Default Another simple improvement

Is there any way we could get the magic item inventory to be interactive? I realise this would take some attention from Johan, but it would be nice if we could play with/organize our magical items. It's a very small thing, I realize, but it would be a nice feature if this were improved.

The simplest way to do this would just be to allow us to grab-and-drag items within the magic item "box" and then press a key/drag them to an icon to assign them. It's alright the way things currently are, and there are definitely other things which require more immediate attention, but it'd be nice to be able to fiddle with our spare items while thinking.
__________________
You've sailed off the edge of the map--here there be badgers!
Reply With Quote
  #2  
Old January 2nd, 2007, 01:56 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Another simple improvement

Im not sure if drag-n-drop would work. Thats kindof a windowsy thing isnt it?
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #3  
Old January 2nd, 2007, 10:37 PM
Uh-Nu-Buh's Avatar

Uh-Nu-Buh Uh-Nu-Buh is offline
Sergeant
 
Join Date: Jan 2004
Location: athens, georgia
Posts: 274
Thanks: 0
Thanked 1 Time in 1 Post
Uh-Nu-Buh is on a distinguished road
Default Re: Another simple improvement

It's a GUI thing, Gandalf. If you play Dom III via CLI I will be very impressed.

Personally, I would love some polishing done to the interface. The right libraries make it easy to do in almost any language. The trick here would be to make it portable since you have to allow for crazy Winders in addition to X11 for Linux and Mac.
__________________
--Uh-Nu-Buh, Fire/Death
Reply With Quote
  #4  
Old January 3rd, 2007, 02:02 AM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Another simple improvement

It seems like whatever its programmed on comes out ahead and whatever its ported to loses a few things. The D-n-D thing seems to happen automatically on programs written on windows.

Im sure it can still be done, just something abit more manual.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #5  
Old January 3rd, 2007, 05:55 AM
Arralen's Avatar

Arralen Arralen is offline
Major General
 
Join Date: Nov 2000
Location: 500km from Ulm
Posts: 2,279
Thanks: 9
Thanked 18 Times in 12 Posts
Arralen is on a distinguished road
Default Re: Another simple improvement

Dominions uses the SDL library, and only the SDL library - no ..-widgets, no GTK or something else ... do you really expect ONE hobby programmer to be able to be "fluent" with those as well, especially if he has a life?


http://www.libsdl.org/pipermail/sdl/...er/071467.html

[SDL] Drag and Drop
Paulo A Ferreira paulo at novisnet.pt
Sun Dec 4 04:10:54 PST 2005

Benjamin Grauer wrote:
>
> Hi there
>
> i was wondering, it there was some simple SDL-like trick to get DnD
> (Drag and Drop) running, so i can drop some file-links fron
> konqueror/MS-Explorer/etc. into my SDL-app??

Maybe this can help you ?

http://www.libsdl.org/projects/scrap/



Scrap 1.0

Author: Sam Lantinga
Source: scrap-1.0.tar.gz
Requires: SDL 1.0
Runs on: Linux, Win32

Description:
An example of cut-and-paste in an SDL application, using the platform-specific window message hooks SDL provides.

Instructions:
Unpack, and build. Run "scrap example.bmp" in one window, and then the program "scrap" in another window. They both will display the same image, copied from the clipboard.




As one can see, there's the critical "Mac" missing from the "runs on" list ...



http://www.libsdl.org/pipermail/sdl/...er/064976.html

[SDL] Drag and Drop
Paulo Pinto pjmlp at progtools.org

squale wrote:

>Hi,
>
>I want to know if any of you has ever programmed a drag and drop
>behaviour in something like card games, bacjgammon or chess...
>
>In that case could you please tell me the way you did it and if you
>have any source about this (URL, code sample...) it would be greatly
>appreciated !
>
>thanx

Hi,

You should do something like this:

- When you get a click event, check if the mouse
if over a moveable object, say a card. Change into
grabbing mode;

- While in grabbing mode, when the user moves
the mouse, update the object location to reflect the
movement;

- When the user releases the mouse button, return
to normal mouse mode.

The refered normal/grabbing modes are something
that you have to keep track of.

Cheers,
Paulo




Doesn't work as well I think - the icons of the items are likely not "objects" in that sense, but simply bitmaps loaded into a pre-made grid ... nothing to grab here.
This doesn't mean it can't be done, but it's unlikely: Johan does not like coding GUI (its a pain with C/C++, even if you're using SDL or Allegro Library or some widget pack), there are some urgend bugs to fix, and this would be prone to induce lots of new ones ...

What might be much easier done would be auto-sorting, preferably in the very same order the items are on the commanders:
Weapons, Shields, Helmets, Armors, Boots, Misc.
__________________
As for AI the most effective work around to this problem so far is to simply use an American instead, they tend to put up a bit more of a fight than your average Artificial Idiot.
... James McGuigan on rec.games.computer.stars somewhen back in 1998 ...
Reply With Quote
  #6  
Old January 3rd, 2007, 06:03 AM
HoneyBadger's Avatar

HoneyBadger HoneyBadger is offline
General
 
Join Date: Oct 2006
Posts: 3,445
Thanks: 85
Thanked 79 Times in 51 Posts
HoneyBadger is on a distinguished road
Default Re: Another simple improvement

That would atleast be a great improvement, but I hope we get objects by Dom4. If I were Johan, by the way, I'd hire someone to do all the grunge programming he doesn't like to do, like C/C++.
__________________
You've sailed off the edge of the map--here there be badgers!
Reply With Quote
  #7  
Old January 3rd, 2007, 08:24 AM

johan osterman johan osterman is offline
Captain
 
Join Date: Aug 2003
Posts: 883
Thanks: 0
Thanked 13 Times in 5 Posts
johan osterman is on a distinguished road
Default Re: Another simple improvement

HoneyBadger: I think you overestimate the amount of money dom3 generate for illwinter, or underestimate the cost of hiring someone for such a task.
Reply With Quote
  #8  
Old January 3rd, 2007, 01:25 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Another simple improvement

I suspect that some things would involve such a "start from scratch" that we would end up seeing Johan move on to one of his other game ideas rather than dong a complete rewrite for Dom4.
Just guessing.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #9  
Old January 3rd, 2007, 07:44 PM
HoneyBadger's Avatar

HoneyBadger HoneyBadger is offline
General
 
Join Date: Oct 2006
Posts: 3,445
Thanks: 85
Thanked 79 Times in 51 Posts
HoneyBadger is on a distinguished road
Default Re: Another simple improvement

Well, you would know better than I, Johan, but I wouldn't bet money against there being one or two fans of the game out there who are quite good with C/C++ and would be only too happy to work on the game-even the drudgework of the game-as an internship project, or as research for a college thesus, and I'll bet there's one or two working at McDonalds that haven't landed a company contract and would rather be programming for minimum wage than flipping burgers. I'd also hazard a guess that in Sweden it's harder to find good programmers for less than it is in the US. I know that a lot of us here-myself included-would love to be involved more directly in the production of the game, it's just the question of getting our backsides on to your couch
You're a fine, extremely hard-working programmer, Johan, and the pressure on you must be enormous. I love the game you've created, dearly, and I want to see it continue and flourish, without causing you any undo stress. I don't know you as a human being, but from what I do know, you certainly deserve to enjoy the fruits of your labor and watch your Dom3 baby grow in beautiful directions without having to break your back in the process. I hope you'll understand that I'm just trying to think of ways to help you achieve that. And thank you, by the way, for all that you have done so far. We're all grateful.
__________________
You've sailed off the edge of the map--here there be badgers!
Reply With Quote
  #10  
Old January 3rd, 2007, 08:18 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Another simple improvement

Actually thats a different Johan. He is the brother of Kristoffer.

But personally, Ive managed programmers. And your post made me smile.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 09:08 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.