Click to See Complete Forum and Search --> : Tiles?
dflw
Oct 11th, 2001, 03:17 PM
I am new at games with vb
I have heard of something called tiles that are used in games like mario or zelda? What are tiles? and in mario or zelda-like games, i', assuming that the figures don't move with the vbkeyup, vbkeydown etc. How do they move? Also, how does the screen move when the figure reaches the end of the screen?
DarkMoose
Oct 11th, 2001, 05:41 PM
I have heard of something called tiles that are used in games like mario or zelda? What are tiles?
they are basically the graphics for the background of 2d games, chopped up into little square pieces so that you can copy them onto the screen where they need to be (ie you have a tile for water, and you copy a row of the same tile to make a river, and then line it with grass tiles, maybe throw one with a patch of flowers in there, whatever)
and in mario or zelda-like games, i', assuming that the figures don't move with the vbkeyup, vbkeydown etc. How do they move?
the GetKeyState API
Also, how does the screen move when the figure reaches the end of the screen?
Look for a tutorial about tiles in RPGs and figure out how to make the map scroll. Basically, you just have 2 variables for X and Y of the current area and you assemble the rows/columns of tiles with the top left of the screen starting with the tile of that one coordinant on the current map... that's worded kinda weird =] go check out gamedev.net to learn how to do stuff like that. they probably have an article
rjlohan
Oct 11th, 2001, 05:53 PM
DarkMoose - your PokeMurder loop is an infinite loop!
Excellent....
;)
Fox
Oct 12th, 2001, 12:20 AM
See my site for a Tile-engine tutorial :)
DarkMoose
Oct 12th, 2001, 08:52 AM
LOLOLOL,
why don't they just die =[
Motoxpro
Oct 12th, 2001, 12:57 PM
Great tutorial Fox :)
Fox
Oct 12th, 2001, 02:26 PM
ty :)
rjlohan
Oct 14th, 2001, 05:26 AM
I propose a manga war...
DragonBall Z vs. PokeMon
Wildcard Entry: Astroboy
:D
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.