[Implemented] Read Pixel, Set Pixel

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Brujah
Enthusiast
Enthusiast
Posts: 237
Joined: Mon Nov 03, 2003 7:45 pm
Location: Germany
Contact:

[Implemented] Read Pixel, Set Pixel

Post by Brujah »

For my game I want to program an animation if you get turned to stone. Means I want to fill up the character from the bottom to the top with white.
But to achieve this I need this two routines.

Have I missed them or is there another way to achieve this?
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Take a look to 2DDrawing library, it should fit your needs :).
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

the magic words are called...

point()
plot()

:wink:
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
User avatar
Brujah
Enthusiast
Enthusiast
Posts: 237
Joined: Mon Nov 03, 2003 7:45 pm
Location: Germany
Contact:

Post by Brujah »

Okay. The names are strange but they will do the job!
Thanx!
inc.
Enthusiast
Enthusiast
Posts: 406
Joined: Thu May 06, 2004 4:28 pm
Location: Cologne/GER

Post by inc. »

Do also search in the forum for pointfast() (imho the e2d userlibrary) as the GetPixel_() or Point() are terribly slow.
Post Reply