Search found 153 matches

by bluebird
Fri May 25, 2018 10:14 pm
Forum: HMG General Help
Topic: Drawing a polygon
Replies: 6
Views: 188

Re: Drawing a polygon

Kevin

The error I get is

Error E0030 Syntax error "syntax error at 'POLYGON'"

Thanks for your reply
by bluebird
Fri May 25, 2018 4:46 pm
Forum: HMG General Help
Topic: Drawing a polygon
Replies: 6
Views: 188

Re: Drawing a polygon

Thanks Andy. but I still get syntax error if I include the line below: I have not been successful in finding an example of drawing a polygon with HMG In the code below it does not make a difference if I write it out on one line, or use the semi colons. What am I doing wrong ???? :( Private aSelected...
by bluebird
Fri May 25, 2018 4:28 am
Forum: HMG General Help
Topic: Drawing a polygon
Replies: 6
Views: 188

Re: Drawing a polygon

Thanks for the excellent observation

I tought that I only had to give the polygon 4 points just like the rectangle.
Should have thought of what "poly" means.

Gracious, and good luck Mexico with NAFTA :)
by bluebird
Thu May 24, 2018 7:52 pm
Forum: HMG General Help
Topic: Drawing a polygon
Replies: 6
Views: 188

Drawing a polygon

Friends When I try to copile this code I get OK with the rectangles but not so with the polygons The problem is probably understanding about "Points" . I am assuming that each of 4 point sets {Row,Col} are required and any clockwise or couner clockwise is OK Has anyone used this Draw feature without...
by bluebird
Mon May 07, 2018 4:14 pm
Forum: HMG Tutorials and Tips
Topic: Sizing for different screen s
Replies: 1
Views: 111

Sizing for different screen s

My dear mentors I have written a game program that I would like to modify so that it can operate on smaller desktops. Please advise on how to approach generalizing the sizes and placement of objects. Bos Taurus is being used for the graphics. There is firstly the desktop then a window within that de...
by bluebird
Thu Apr 12, 2018 8:41 pm
Forum: HMG General Help
Topic: Please explain a resource file
Replies: 12
Views: 754

Re: Please explain a resource file

Thanks to HMG helpers I have finally made rc files work. It does not seem obvious that you have to replace the files spec ex stopsign.bmp with a name ex. stopme bmp stopsign.bmp It would have been much easier if there were a tutorial that explained the requirement, not just an example that shows the...
by bluebird
Wed Apr 11, 2018 8:08 pm
Forum: HMG General Help
Topic: Please explain a resource file
Replies: 12
Views: 754

Re: Please explain a resource file

Thanks for all the patient replies but it ain't working for me. I have seen lots of examples in the forum and samples. In my prg file there would be images referred to with the names like exitdoor.jpg and baywindow.jpg The example. rc file would include: name, type, filename for each item, example o...
by bluebird
Wed Apr 11, 2018 6:00 pm
Forum: HMG General Help
Topic: Please explain a resource file
Replies: 12
Views: 754

Re: Please explain a resource file

The examples have not helped I create an rc file like myprog.rc , keeping it in the same folder as the myprog.prg file containing a list of jpgs that I use in my program like door jpg exitdoor.jpg window jpg baywindow.jpg then build the application again . If I delete the jps and run the exe just bu...
by bluebird
Tue Apr 10, 2018 7:31 pm
Forum: HMG General Help
Topic: Please explain a resource file
Replies: 12
Views: 754

Re: Please explain a resource file

Sorry, I don't see how things work after all If I create a file myapp.rc with IMAGE1 BITMAP IMAGE1.BMP How odes the build process know about the .rc file. Also, Does the rc file have to have the same name as the application? Lastly, what types of resouces can be included besides BMP files Thanks
by bluebird
Sat Apr 07, 2018 3:59 am
Forum: HMG General Help
Topic: Please explain a resource file
Replies: 12
Views: 754

Re: Please explain a resource file

Thanks, I see how things work.

I noticed that the rc file on my pc looks like an adobe acrobat file. However you have to open it with notepad et.al.