Author Topic: Draw(shapes) (new program)  (Read 4069 times)

0 Members and 1 Guest are viewing this topic.

Offline mynameispaul

  • Newbie
  • Posts: 49
    • View Profile
Draw(shapes) (new program)
« 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.
Draw(shapes)-ScreenShot.jpg
* Draw(shapes)-ScreenShot.jpg (Filesize: 89.46 KB, Dimensions: 790x768, Views: 271)
* Draw(shapes).zip (Filesize: 125.86 KB, Downloads: 188)

Offline Ashish

  • Forum Resident
  • Posts: 630
  • Never Give Up!
    • View Profile
Re: Draw(shapes) (new program)
« Reply #1 on: September 04, 2020, 08:52:19 am »
It looks good! :)
if (Me.success) {Me.improve()} else {Me.tryAgain()}


My Projects - https://github.com/AshishKingdom?tab=repositories
OpenGL tutorials - https://ashishkingdom.github.io/OpenGL-Tutorials

Offline SierraKen

  • Forum Resident
  • Posts: 1454
    • View Profile
Re: Draw(shapes) (new program)
« Reply #2 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.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Draw(shapes) (new program)
« Reply #3 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 ?
« Last Edit: September 04, 2020, 01:50:12 pm by bplus »

Offline mynameispaul

  • Newbie
  • Posts: 49
    • View Profile
Re: Draw(shapes) (new program)
« Reply #4 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.
* ASCII_RGB.ini (Filesize: 0.2 KB, Downloads: 173)

Offline SierraKen

  • Forum Resident
  • Posts: 1454
    • View Profile
Re: Draw(shapes) (new program)
« Reply #5 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).

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Draw(shapes) (new program)
« Reply #6 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.
« Last Edit: September 05, 2020, 01:42:31 pm by bplus »