Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / Workbench for placing Graphics on the screen

Author
Message
Prizma tica
18
Years of Service
User Offline
Joined: 27th Oct 2006
Location:
Posted: 27th Oct 2006 17:30
Hello everyone!
I made a workbench for finding x and y positions on the screen.

unfortunately my skills in programming are not so good so i borrowed some snippets from the forum and put them together. Of course i added some codes myself.
I would like to ask for litlle help.

This screen is sized 1280x800
It took me half a day to write a code for grids (Lines).
I know that somehow i could make it easier with less lines but i couldnt figure it how.

In this program you see grid system and you see mouse x,y positions in two places.
Top left of the screen and near your mousepointer.
There is a litlle box following the mouse too so you can precise your position on the screen even better.

i would like to develop this.
For example:
,to make grid apear on/off the screen,
to make it possible to change screensize to 1024x768, 800x600, etc...
and of course to make this code with lines a litlle easier.
In exchange you will all have a nice workbench for position of Graphics on the screen =).

Thanx!
Prizmatica

Attachments

Login to view attachments

Login to post a reply

Server time is: 2025-05-16 03:14:22
Your offset time is: 2025-05-16 03:14:22