PDA

View Full Version : METAL: Grabbing jpegs


DudetheCreator
2005.02.23, 06:47 PM
Using MetalBasic:

Lets say I have two people stored in two jpeg files called:

person1.jpg

&

person2.jpg

Both pics are 50 * 50 jpg files.

Shouldn't this code work:


load quicktime pict "person1.jpg"
person = grab sprite (0,0,50,50)
personx = 100
persony = 100

load quicktime pict "person2.jpg"
otherperson = grab sprite (0,0,50,50)
otherpersonx = 300
otherpersony = 300


Thanks in advance.

Dr. Light
2005.02.24, 05:02 PM
Are you grabbing from a virtual screen, or the console?

DudetheCreator
2005.02.24, 05:56 PM
A screen set to render sprites.

Dr. Light
2005.02.25, 10:00 AM
Everything looks in order then.

hazelden
2005.03.12, 05:48 PM
Nice to see someone using Metal Basic!