View unanswered posts | View active topics It is currently Fri Sep 10, 2010 2:38 pm



Reply to topic  [ 2 posts ] 
Grabbing Sprites from jpeg files 
Author Message
Nuclear Nova Newbie

Joined: Tue Feb 22, 2005 9:57 pm
Posts: 1
Location: Calgary
Post Grabbing Sprites from jpeg files
Let's say that I have a game with two people in it, and their pics are stored in two different files.

person1.jpg
person2.jpg

Both pics are 50 by 50 standard jpeg files. Wouldn't this code work:

Quote:

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.

_________________
I am lost in the space time dimension. How did I get here? It's quite simple, a 404 error pulled me in.


Tue Feb 22, 2005 10:02 pm
Profile E-mail YIM WWW
Site Admin
User avatar

Joined: Thu Dec 12, 2002 7:36 pm
Posts: 1012
Location: Rochester, NY
Post 
I never actually used the sprite system in METAL but here is a active forum that will give you an answer quick - http://www.idevgames.com/forum/

_________________
Jake
Shareware Games and Free Game Demos for the Mac
GL Golf - Liquid Defense - Hydrothermal - Escape
test


Wed Feb 23, 2005 6:36 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.