Welcome, Guest. Please login or register.

Author Topic: blitz basic question  (Read 2222 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline ElPolloDiablTopic starter

  • Hero Member
  • *****
  • Join Date: May 2009
  • Posts: 1702
    • Show all replies
blitz basic question
« on: May 26, 2010, 08:22:28 PM »
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
« Last Edit: May 27, 2010, 01:11:17 AM by ElPolloDiabl »
Go Go Gadget Signature!
 

Offline ElPolloDiablTopic starter

  • Hero Member
  • *****
  • Join Date: May 2009
  • Posts: 1702
    • Show all replies
Re: blitz basic question
« Reply #1 on: May 27, 2010, 01:09:49 AM »
I searched around and can't find an answer. I'm trying to figure it out using createimage.
Go Go Gadget Signature!
 

Offline ElPolloDiablTopic starter

  • Hero Member
  • *****
  • Join Date: May 2009
  • Posts: 1702
    • Show all replies
Re: blitz basic question
« Reply #2 on: May 27, 2010, 08:57:23 AM »
:bump:
Go Go Gadget Signature!
 

Offline ElPolloDiablTopic starter

  • Hero Member
  • *****
  • Join Date: May 2009
  • Posts: 1702
    • Show all replies
Re: blitz basic question
« Reply #3 on: May 27, 2010, 10:54:20 AM »
Blitz3D on WindowsXP on a amd box.:nervous:
Go Go Gadget Signature!
 

Offline ElPolloDiablTopic starter

  • Hero Member
  • *****
  • Join Date: May 2009
  • Posts: 1702
    • Show all replies
Re: blitz basic question
« Reply #4 on: May 27, 2010, 01:33:56 PM »
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
« Last Edit: May 27, 2010, 01:47:21 PM by ElPolloDiabl »
Go Go Gadget Signature!