Dragon Web Screen Designer - Try it out Please!

A place to discuss everything Dragon related that doesn't fall into the other categories.
Post Reply
User avatar
daftspaniel
Posts: 46
Joined: Fri Jan 07, 2011 5:50 pm

Dragon Web Screen Designer - Try it out Please!

Post by daftspaniel »

Hi Folks,

(Not been Dragoning for a while - irritating bug with my laptop GFX driver made XRoar unusable :cry: Anyway all going on Ubuntu now so back to it :D)

I am working on a web based screen designer for the Dragons text screen. Draw with blocks, hit a button and it generates the Basic code which you can load into XRoar or whatever.

Please take a look:
http://daftspaniel.com/Dragon/JSTools/S ... igner.html

Would appreciate any feedback before it goes 'live' - especially on the generated code :-)

Thanks,
Davy
User avatar
daftspaniel
Posts: 46
Joined: Fri Jan 07, 2011 5:50 pm

Re: Dragon Web Screen Designer - Try it out Please!

Post by daftspaniel »

Whoops forgot to say it is tested on Firefox and Chrome only.... :D :oops:
admin
Site Admin
Posts: 410
Joined: Thu Jul 17, 2008 10:22 pm

Re: Dragon Web Screen Designer - Try it out Please!

Post by admin »

Nice - works fine with IE9
Simon Hardy
User avatar
daftspaniel
Posts: 46
Joined: Fri Jan 07, 2011 5:50 pm

Re: Dragon Web Screen Designer - Try it out Please!

Post by daftspaniel »

Thanks for the feedback!
sixxie
Posts: 1348
Joined: Fri Jul 18, 2008 8:36 am
Location: Hertfordshire
Contact:

Re: Dragon Web Screen Designer - Try it out Please!

Post by sixxie »

Nice!

I think the only obvious user-interface thing I noticed was it would be good if you could draw freely if you keep the mouse button down.

Do you plan to make it handle the subdivision of character cells? That could be quite useful: maybe make it change the colour of any other 'set' pixels in a cell if you try and draw there in a new colour.

As for output, a list of assembly FCB directives would be useful for pasting into code, although I guess it would actually be pretty easy to search & replace the existing BASIC DATA lines.
Alastair
Posts: 669
Joined: Fri Jul 18, 2008 11:33 pm

Re: Dragon Web Screen Designer - Try it out Please!

Post by Alastair »

Something else that may need changing is that the grid disappears when you select white and then press CLS.
User avatar
daftspaniel
Posts: 46
Joined: Fri Jan 07, 2011 5:50 pm

Re: Dragon Web Screen Designer - Try it out Please!

Post by daftspaniel »

Thanks - great feedback!
Alastair wrote:Something else that may need changing is that the grid disappears when you select white and then press CLS.
Ok - Will pick a neutral colour for this.
sixxie wrote:I think the only obvious user-interface thing I noticed was it would be good if you could draw freely if you keep the mouse button down.
Good idea - the clicking might cause RSI ;)
sixxie wrote:Do you plan to make it handle the subdivision of character cells? That could be quite useful: maybe make it change the colour of any other 'set' pixels in a cell if you try and draw there in a new colour.
Would be good - think I will add a text option first tho.
sixxie wrote:As for output, a list of assembly FCB directives would be useful for pasting into code
Another good one - a save to tape/disk routine on the Basic code would be handy too.

Cheers,
Davy
Sarah
Posts: 177
Joined: Wed Apr 13, 2011 3:36 pm
Contact:

Re: Dragon Web Screen Designer - Try it out Please!

Post by Sarah »

That's neat, well done. I created something a little similar on the Dragon once, which scanned the text screen and then converted it to a BASIC program that uses the appropriate set of PRINT or PRINT@ statements (choosing literal strings, CHR$ and STRING$ as necessary) rather than the POKE approach. It doesn't seem to be on my website, though, so I don't know what I did with it, probably still stuck on an old tape somewhere... lol


Edit: Just remembered it appeared in Dragon User and found the article (September 1988, pages 17-19) if anyone's interested.
Attachments
GWFULL.CAS
Gosub Writer (Full Version)
(5.14 KiB) Downloaded 183 times
GW123.CAS
Listings 1 to 3 (Hex Loader)
(5.76 KiB) Downloaded 189 times
Last edited by Sarah on Sat Aug 27, 2011 11:14 pm, edited 1 time in total.
User avatar
daftspaniel
Posts: 46
Joined: Fri Jan 07, 2011 5:50 pm

Re: Dragon Web Screen Designer - Try it out Please!

Post by daftspaniel »

I looked at the article, I like the Dragon based solution!

Well worked on this today and I've got some of the requested features in there plus keyboard shortcuts which is particularly handy for changing colours.

Doing a big code tidy up as I changed it from a table to multiple divs which give much more consistent results across browsers. There are more buttons now so need to tidy the page layout a bit.

Not sure which features will be in the next version I put online but expect some goodies!

:D
Davy
Post Reply