|
Register or have you forgotten your password?
|
|
|
| Amiga Gaming This forum is dedicated to games software and solutions for the Commodore Amiga computer. Need help blowing up pixels? Know of the next gaming revolution? Talk about it here. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | ||||||||
|
Defender of the Faith
![]()
Join Date: May 2009
Location: Sydney Australia
Posts: 1,051
|
What is the blitz basic version of graphics get and put?
I written the pixels on the screen, now I want to copy them and tile them. thanks in advance
__________________
Go Go Gadget Signature! Last edited by ElPolloDiabl; 05-26-2010 at 06:11 PM.. |
||||||||
|
|
|
|
|
#2 | ||||||||
|
Defender of the Faith
![]()
Join Date: May 2009
Location: Sydney Australia
Posts: 1,051
|
I searched around and can't find an answer. I'm trying to figure it out using createimage.
__________________
Go Go Gadget Signature! |
||||||||
|
|
|
|
|
#3 | ||||||||
|
Defender of the Faith
![]()
Join Date: May 2009
Location: Sydney Australia
Posts: 1,051
|
__________________
Go Go Gadget Signature! |
||||||||
|
|
|
|
|
#4 | ||||||||
|
Lifetime Member
Join Date: Feb 2002
Location: Wales, UK
Posts: 3,584
|
You mean you want to copy a portion of the screen you have already created and then tile it ?
Which version of blitz is this and on what computer ?
__________________
“We don't stop playing because we grow old; we grow old because we stop playing.” - George Bernard Shaw Xbox Live: S0ulA55a551n2 Registered MorphsOS 2.7 user |
||||||||
|
|
|
|
|
#5 | ||||||||
|
Defender of the Faith
![]()
Join Date: May 2009
Location: Sydney Australia
Posts: 1,051
|
Blitz3D on WindowsXP on a amd box.
__________________
Go Go Gadget Signature! |
||||||||
|
|
|
|
|
#6 | ||||||||
|
Master Sock Abuser
|
The syntax between Blitz Basic (amiga) and Blitz3D is totally different... But the Blitz3D IDE has fantastic built in documentation, just read through the GFX functions.
__________________
My iPhone Game: Puny Humans - http://itunes.apple.com/gb/app/puny-...362230281?mt=8 |
||||||||
|
|
|
|
|
#7 | ||||||||
|
Beginner
![]()
Join Date: Jan 2008
Location: Melbourne, Aus
Posts: 25
|
readpixel, and writepixel, lets you read and write pixels from a screen
readpixelfast and writepixelfast, are the faster ones, but have no error checking, and need you to lock the screen buffer. You can use createimage if you create one, set it as the current buffer draw what you want to it. then you can paste it with drawimage. It has been years since I have touched blitz3d, wrote an openGL engine in it, then ran away hehe. I had so much fun with blitz+, and blitzMAX. |
||||||||
|
|
|
|
|
#8 | ||||||||
|
Defender of the Faith
![]()
Join Date: May 2009
Location: Sydney Australia
Posts: 1,051
|
copypixel works it'll have to do. Got it with Createimage too....
gfx1 = CreateImage(13,13) SetBuffer ImageBuffer(gfx1) For x=1 To 13 For y=1To 13 Read Clr If clr = 0 Then Color 0,200,0 If clr = 0 Then Plot x,y If clr = 2 Then Color 0,150,0 If clr = 2 Then Plot x,y Next Next SetBuffer BackBuffer() TileImage gfx1,0,0
__________________
Go Go Gadget Signature! Last edited by ElPolloDiabl; 05-27-2010 at 06:47 AM.. |
||||||||
|
|
|
![]() |
| Bookmarks |
| Tags |
| basic , blitz , question |
| Thread Tools | |
| Display Modes | |
|
|