nielskool
2010-06-12 14:23:17
Heej guys,
I am making a script that helps the user of it with a game, But for that I need to know how i can draw on the screen.(not the debug window)
I already tryed a few things like:
drawing: Bitmap;
drawing.Bitmap.Create;
DrawBitmap(MyBitmap, Drawing.canvas…
but i don't see anything.
So my question how do i use DrawBitmap?
i luffs yeww
2010-06-12 14:51:24
^ I think there's a test folder for SCAR/SRL or something, and there's examples of drawing. Or like.. examples folder or something. Look around in SRL/SCAR folders? :)
nielskool
2010-06-12 14:59:17
they draw in the debug window and that is not what i want.
i luffs yeww
2010-06-12 15:31:58
Well if this is for SMART, you can just use the search button. "SMART draw debug" or something.
Awkwardsaw
2010-06-12 15:35:34
look in srl/srl/misc/debug.scar :)
nielskool
2010-06-12 15:44:32
it is not for smart btw
//edit
i also changed my mind il do it in a form…
i luffs yeww
2010-06-12 15:53:52
You can't do it non-SMART anyway. :p Not very effectively, at least.
nielskool
2010-06-12 16:19:20
he…? it isn't for runescape either.
i luffs yeww
2010-06-12 16:26:00
Well you can't just randomly show images without some sort of debugging/canvas/whatever.
Awkwardsaw
2010-06-12 16:35:32
From: i luffs yeww
Well you can't just randomly show images without some sort of debugging/canvas/whatever.
he's putting a canvas i suppose on the form
i luffs yeww
2010-06-12 16:38:42
^ Fair enough. :) I just think he should know that images can't just be drawn like how I think he wants it.
Frement
2010-06-12 17:00:24
From: i luffs yeww
^ Fair enough. :) I just think he should know that images can't just be drawn like how I think he wants it.
He was hoping to get the canvas of the game hes trying to make this into and then draw onto that.
nielskool
2010-06-12 19:31:20
It was meant for a sudoku.
But this sudoku is not like any other so i wanted it to give possebilitys of one number.
So i can play it.
If that works then I am going to make the program play the game.
So i wanted the possibilities drawed over the game.
i luffs yeww
2010-06-12 19:34:34
You'd have to pretty accurately place the canvases. :p Or have a full board on a canvas.
Dan Cardin
2010-06-12 23:10:30
you could do some fancy work if need be. Such like making the form invisible and only drawing the text then uhmmm, redirecting keystrokes or however you input into the game to the actual game rather than the form.
Kinda dirty, but i suppose it would work.