QB64.org Forum

Active Forums => Programs => Topic started by: mynameispaul on September 04, 2020, 06:32:02 am

Title: Draw(shapes) (new program)
Post by: mynameispaul on September 04, 2020, 06:32:02 am
Hello. decided to share a program i have been working on. It's kinda like a CAD program, though not as sophisticated.
Title: Re: Draw(shapes) (new program)
Post by: Ashish on September 04, 2020, 08:52:19 am
It looks good! :)
Title: Re: Draw(shapes) (new program)
Post by: SierraKen on September 04, 2020, 01:08:51 pm
The graphic looks amazing! But I tried running it and it says on LINE 66: File Not Found, which is this:
Code: QB64: [Select]
  1. ff = FREEFILE: OPEN "ASCII_RGB.ini" FOR INPUT AS #ff  

On your graphic I really like how you use buttons, very cool.
Title: Re: Draw(shapes) (new program)
Post by: bplus on September 04, 2020, 01:40:50 pm
Yeah the screen shot looks great but the zip package might need a little Getting Started txt file for those coming in cold.

Yeah some of the other bas programs are looking for missing files too.

@mynameispaul  did you try downloading and running your own zip package ?
Title: Re: Draw(shapes) (new program)
Post by: mynameispaul on September 04, 2020, 03:09:32 pm
sorry about the missing file.
yeah, would have helped if i downloaded my own pgm and tested it.
Title: Re: Draw(shapes) (new program)
Post by: SierraKen on September 05, 2020, 01:29:40 pm
Line 1155 (in main module) Path not found. And then another one somewhere else. But I kept it running and I got it to run mostly. I really like your layout you made and the buttons, etc. Making the squares and circles are neat too. I tried the picture button but it also had a file not found error (or something like that).
Title: Re: Draw(shapes) (new program)
Post by: bplus on September 05, 2020, 01:37:16 pm
Yes, might be a nice little CAD once all the bugs worked out, might just be a file handling thing.

Not sure why we really need a separate file for R, G, B for QB colors. That could be setup and SHARED in a SUB or FUNCTION with it's own DATA line or code them directly into an array, perhaps with help of little code snippet to write to clipboard. Make it easy to edit a color, I guess. Why not make 256 X 256 X 256 colors available with Color Picker?

Also one ini file might be nice too, it looks like there are at least 2 saving a single value. Maybe that's planning ahead with hopes of extending options in future.