The Daily Click ::. Forums ::. Klik Coding Help ::. some extension questions.
 

Post Reply  Post Oekaki 
 

Posted By Message

MidnighT_RaveN



Registered
  20/09/2003
Points
  86
14th October, 2003 at 00:00:59 -

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.

 
n/a

Kris

Possibly Insane

Registered
  17/05/2002
Points
  2017
14th October, 2003 at 03:05:13 -

No & No

 
"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

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
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.

-Andy

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

DeadmanDines

Best Article Writer

Registered
  27/04/2006
Points
  4758
14th October, 2003 at 08:43:18 -

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.

Image Edited by the Author.

 
191 / 9999 * 7 + 191 * 7

MidnighT_RaveN



Registered
  20/09/2003
Points
  86
14th October, 2003 at 21:16:00 -

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...

Image Edited by the Author.

 
n/a

Rhys D

Please enter a custom rating

Registered
  02/01/2002
Points
  162

Has Donated, Thank You!VIP MemberIt's-a me, Mario!Wii OwnerMushroomStrawberrySweetieCardboard BoxOrangeAttention Getter
I am an April Fool
14th October, 2003 at 21:36:17 -

"I'm a real pixel artist you see"

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.

 
http://www.rhysd.com

Kris

Possibly Insane

Registered
  17/05/2002
Points
  2017
15th October, 2003 at 03:43:19 -

nice plane rhys

 
"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

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
15th October, 2003 at 03:54:17 -

Well put Rhys.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

ben_02



Registered
  15/05/2002
Points
  366
15th October, 2003 at 04:20:05 -

Actually i think you misinterpreted him. He means hes 'really quite a pixel artist' not a real, as in, the one-and-only type of pixel artist.

 
n/a

DeadmanDines

Best Article Writer

Registered
  27/04/2006
Points
  4758
15th October, 2003 at 04:37:23 -

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.

 
191 / 9999 * 7 + 191 * 7

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
15th October, 2003 at 12:04:17 -

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...

 
n/a

Kris

Possibly Insane

Registered
  17/05/2002
Points
  2017
16th October, 2003 at 11:04:53 -

<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

MidnighT_RaveN



Registered
  20/09/2003
Points
  86
21st October, 2003 at 18:19:04 -

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.

Image Edited by the Author.

 
n/a

Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
21st October, 2003 at 18:48:08 -

Isn't it prohibited to talk to someone like that ?
i mean, Rhys, if you don't have anything intelligent to say, then don't say anything...

 
n/a

MidnighT_RaveN



Registered
  20/09/2003
Points
  86
21st October, 2003 at 19:09:05 -

where can I find the Text Blitter?

edit:
also, I'm having a little trouble finding the create backdrop action... is it included in mmf1.5?

thanks for your help guys, now that I know there's sort of a way to accomplish this I have a bit more motivation.

Image Edited by the Author.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click