is there a sprite sheet extension? like, is there a way to allow the user to use custom sprite sheets for their character/animations rather than grabbing everything from seperate images? that would be a lot more effectient...
also, is there a tile set extension? I'm asking this pretty much for the same reason mentioned above.
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
14th October, 2003 at 03:46:25 -
For your first problem - grabbing sprites from picture files. 1. Why would you need to do that? 2: Use a loop to load them, and label them things like jump1 (jump frame 1) and so on so the loop can easily load them.
You'd need to use it if you wanted to create a moddable/expandable game, and if you wanted to use the extra features of Active Picture Object in your tiles.
The best method is to make your charset/tileset a single image with each tile/frame residing in a box of a certain dimension (eg: 32x32). You can then reference each item by coordinate * dimensions.
I use this loads for tilesets in my level editors.
NOTE: this is done using Active Picture Object, within MMF1.5. The Object is installed by default.
why would I want to make a million seperate images if I could just fit them all on one sheet? I'm a real pixel artist you see... it's much more efficient and way easier to operate that way... it would be a lot easier to edit and expand and such as well, like what dines was saying...
speaking of what dine was saying... so it's possible to grab just a part of a picture then?
also I noticed yo can't add active pictures into the back ground... that sucks way bad...
You are a fucking retard. No one runs around explaining to people that they are a 'real' pixel artist. There's no such thing as a fake one. Anyway, there is no set rule that states that all 'real' pixel artists have to use sprite sheets in their game. It's a fucking gay statement, and you're not getting anywhere making stupid shit up like that.
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G
Assault Andy Administrator
I make other people create vaporware
So what if he said 'real'? For goodness' sake am I the only pixel artist around here who's not nerdish enough to take offense at that?
By 'real' he obviously means the 'most common' form of pixel art, so what if he used the wrong terminology? Crikey. I personally would find the language of Rhys' reply far more offensive than anything Adam said.
---
Anyway, yes Adam, using MMF's APO (Active Picture Object), you can extract pieces of an image. However, you can only do so for pasting a backdrop.
To paste an APO into the background, you have to use the 'create backdrop' action. This has the same effect as 'add backdrop' does in Active Objects, but Create Backdrop has more options. It basically works by retrieving a square region of the image and pasting it where you want -- because of this, you define the X/Y coordinates to paste (in the level), and the X/Y position of the top-left of the box to paste WITHIN THE IMAGE itself, and the width and height of the box to paste, AND the collision type (obstacle, not obstacle, no collision effect, etc).
It rocks for using tilesheets in your level editors, I do it loads.
Yeah, you can use APO for tile sets, and Text Blitter can be used as a kind of active object for sprite sheets, though it's more efficient to extract all the pictures and load them into an active object...
<cough> this is another good reason to switch to programming languages ;D
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G
oh my, I only meant "I make my own sprites" instead of ripping them from somewhere else.
I didn't know I'd make you cry rhys, and I'm sorry that I did.
I'm a fake pixel artist I suppose. People like rhys davies know it all. I bet he's getting somewhere in life being an asshole to everyone.