RE: [Cxtable-devel] RE: Can you help me guage how long this'd tak e?
Status: Alpha
Brought to you by:
xiarcel
From: Borne Goodman-M. <bm...@eg...> - 2002-01-03 16:37:59
|
I agree that images rather than letters would be a huge step in the right direction, and even without drag and drop, you could just implement a 2 click mechanism, where you click on the 1st tile (from) and the 2nd tile (to), to move a piece. A friend of mine did some simple drag-n-drop for the jrci project (on sourceforge) for which I re-wrote the server to use the new 1.4 NIO code to scale up to handle a lot more load. I have in the past played D&D (and countless other rpgs), and the jrci project was developed in particular as a system to support remote role playing, including a die rolling engine, etc, but is a pure client / server implementation rather than p2p. I was an observer of them playing a game of Dune with it (not sure if it was based on a system, or home spun), but it is excellent for the latter type of role playing you described. --bjgm On Thu, 2002-01-03 at 11:05, Williams, David wrote: > Yeah... I pretty much thought that I've simply been being lazy.. > > Although, I think my classpath might be set wrong... > > I guess, if I am ever to attract a user base, it should at least support some basic Swing stuff... The Chess game, for example, could _really_ use DnD...currently,but at least something such as an JLabel with Image support... Cause right now, the chesspieces are "Kg-w" (Label objects), and moving them is a matter of calling label.setText(newpiecename); > > You move the chess pieces with coordinates (not a bad thing necessarily), d2 d4, etc.. > > Given the time I've put into it, getting it done and working, and distributable to my close-knit buddy buddies.. I could then have the online, 4-city, D&D session I've dreamed of.. > > (Incidentally..if you ever played D&D..there are two types of people...the 'power-gamers' who played D&D and might as well have been playing a 4-player arcade game, and those that developed a story... I catered, of course, to the latter of these two styles...) > > Its really funny, though...I keep saying "I imagine the possibilities for a real application of this, not just toys", and then follow it with plans for a Battleship game... :-) > > ~Dave > > > David Scott Williams > Computer Associates > Marketing Representative-Sales Call Center > One Computer Associates Plaza > Islandia, New York 11749 > tel: +1 800-243-9462 ext. 73431 > tel: +1 631-342-3431 (Direct) > fax: +1 631-342-5734 > wi...@ca... > > > > > > > -----Original Message----- > From: Borne Goodman-Mace [mailto:bm...@eg...] > Sent: Thursday, January 03, 2002 10:52 AM > To: cxt...@li... > Subject: Re: [Cxtable-devel] RE: Can you help me guage how long this'd > take? > > > This would all be very simple to migrate to Swing, and all of the names > of the Swing components relate to the names of the AWT components which > they mimic. Rather than an awt.Panel you would use a swing.JPanel. > Rather than a TextArea, you would use a JTextArea, or JTextPane (they > have different abilities, and I personally perfer the Pane, though it is > a little more tricky to implement). > > Since the xtable UI is very simple now, I think the transition to Swing > would be a very fast process, and mostly just adding a J in front of the > AWT object names :). > > --bjgm > > On Thu, 2002-01-03 at 10:43, Williams, David wrote: > > Basically, I have a class, xPanel...its .create() method returns a awt.Panel with a TextArea on the South layout, and a "refresh"button and label on the north layout. > > > > I have a message-panel that basically has 2-3 buttons on the south, and a TextArea on the North.... etc... > > > > These are "simple" AWT things... How hard would it be to do as javax.swing? > > > > Advanced things like DnD could be added, etc...but if I am planning to stabilize it as is, I don't know if I require swing for it..unless, of course, a user base comes along... > > > > > > David Scott Williams > > Computer Associates > > Marketing Representative-Sales Call Center > > One Computer Associates Plaza > > Islandia, New York 11749 > > tel: +1 800-243-9462 ext. 73431 > > tel: +1 631-342-3431 (Direct) > > fax: +1 631-342-5734 > > wi...@ca... > > > > > > _______________________________________________ > > Cxtable-devel mailing list > > Cxt...@li... > > https://lists.sourceforge.net/lists/listinfo/cxtable-devel > > > > > > _______________________________________________ > Cxtable-devel mailing list > Cxt...@li... > https://lists.sourceforge.net/lists/listinfo/cxtable-devel > > _______________________________________________ > Cxtable-devel mailing list > Cxt...@li... > https://lists.sourceforge.net/lists/listinfo/cxtable-devel > |