Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / Beginner Question about game design: Why use Tiles?

Author
Message
BarryB
20
Years of Service
User Offline
Joined: 7th Oct 2003
Location:
Posted: 7th Oct 2003 14:46
Hi,
I want to create a platform game.
It's not commericial and the memory/speed requirements are small.
Is there any reason I should use tiles for creating the background/foreground objects instead of images?

I though it may be just to same memory?

Are there any other advantages/reasons?

Thanks.

BarryB
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 7th Oct 2003 16:06
The idea of tiles is that they are repeatable. They are jigsaw pieces that can be used more than once. A full screen of grass can be made from 1 tile 32*32 pixels in size. That's low memory, and small download. You can use full screen pictures if you want, most of these game tiles come from the days when computers had low memory.

Pincho.
ESC_
20
Years of Service
User Offline
Joined: 29th Aug 2003
Location: Mass.
Posted: 7th Oct 2003 16:11
Yeah, as Pincho said, it's much smaller, but it also allows for easy collision and editing, since you don;t have to re-edit the image, and recode the collision every time you want to change a little detail

"That's not a bug, it's a feature!"
"Variables won't, constants aren't."
BarryB
20
Years of Service
User Offline
Joined: 7th Oct 2003
Location:
Posted: 7th Oct 2003 18:11
Thanks Guys, That's clears up a few misconceptions I had.

BarryB
Erusuwasu
20
Years of Service
User Offline
Joined: 21st Sep 2003
Location: Where am I? I think I\'m lost...
Posted: 12th Oct 2003 09:43
Does anyone have a complete code snippet which shows how tiles work? Or know of a good tutorial where I can learn. I get the concept, but I'm not quite sure how to put it together in code? Thankyou for any help

I've got DBClassic and Photoshop Skillz and I'm not afraid to use um!
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 12th Oct 2003 14:41
I've just updated one I wrote some time ago and posted it into CodeBase
Erusuwasu
20
Years of Service
User Offline
Joined: 21st Sep 2003
Location: Where am I? I think I\'m lost...
Posted: 12th Oct 2003 15:23
Wow, thank you for the help. I don't have DBPro but I'm sure I'll be able to understand the logic and apply it to DBC. I'll let you know how it goes

Thank you

I've got DBClassic and Photoshop Skillz and I'm not afraid to use um!

Login to post a reply

Server time is: 2024-05-05 21:15:14
Your offset time is: 2024-05-05 21:15:14