xmouse, and ymouse

Non-platform specific questions.

xmouse, and ymouse

Postby Sgt. Sparky » Thu Feb 01, 2007 1:28 pm

hey, I was drawing rectangles wtih xmouse and ymouse stuff. :D somtimes when I do it the rectangle is not drawn at xmouse and ymouse positions and other times it is.... why is that? :(
EDIT: here is the
Code: Select all

if (Pen == 2)
{
 moveto(LineStart.xscreen, LineStart.yscreen);
 lineto(Rxy.xscreen, LineStart.yscreen);
 lineto(Rxy.xscreen, Rxy.yscreen);
 lineto(LineStart.xscreen, Rxy.yscreen);
 lineto(LineStart.xscreen, LineStart.yscreen);
}

EDIT 2: I had changed it from xmouse and ymouse to Rxy.xscreen and Rxy.yscreen :D
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest