View Full Version : How to DrawBitmap?
nielskool
06-12-2010, 06:23 PM
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
06-12-2010, 06:51 PM
^ 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
06-12-2010, 06:59 PM
they draw in the debug window and that is not what i want.
i luffs yeww
06-12-2010, 07:31 PM
Well if this is for SMART, you can just use the search button. "SMART draw debug" or something.
Awkwardsaw
06-12-2010, 07:35 PM
look in srl/srl/misc/debug.scar :)
nielskool
06-12-2010, 07:44 PM
it is not for smart btw
//edit
i also changed my mind il do it in a form...
i luffs yeww
06-12-2010, 07:53 PM
You can't do it non-SMART anyway. :p Not very effectively, at least.
nielskool
06-12-2010, 08:19 PM
he...? it isn't for runescape either.
i luffs yeww
06-12-2010, 08:26 PM
Well you can't just randomly show images without some sort of debugging/canvas/whatever.
Awkwardsaw
06-12-2010, 08:35 PM
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
06-12-2010, 08:38 PM
^ Fair enough. :) I just think he should know that images can't just be drawn like how I think he wants it.
Frement
06-12-2010, 09:00 PM
^ 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
06-12-2010, 11:31 PM
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
06-12-2010, 11:34 PM
You'd have to pretty accurately place the canvases. :p Or have a full board on a canvas.
Dan Cardin
06-13-2010, 03:10 AM
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.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.