urgent help - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

urgent help

djgaloredjgalore Posts: 56Member
hi there, is it possible to read a maze from a file and use markers on the read maze image to move from point to point referencing by pmouse pointer coordinates.

for instance: if --------
| |------
*
|
|

where there is a * it was initially blank and the * should be there when the user points to that position. is that possible?

Comments

  • zibadianzibadian Posts: 6,349Member
    : hi there, is it possible to read a maze from a file and use markers on the read maze image to move from point to point referencing by pmouse pointer coordinates.
    :
    : for instance: if --------
    : | |------
    : *
    : |
    : |
    :
    : where there is a * it was initially blank and the * should be there when the user points to that position. is that possible?
    :
    :
    Yes. Translate the PMouse pointer coordinates to the data coordinates using some kind of scale variable. Then move the * to the new position, and clear the old one.
  • djgaloredjgalore Posts: 56Member
    hi there, thats wht i thought bti m really struggling. i ll send the image file to you so u can see wht i m talking abt.
Sign In or Register to comment.