Results 1 to 8 of 8

Thread: Tiles?

  1. #1

    Thread Starter
    Hyperactive Member dflw's Avatar
    Join Date
    Apr 2001
    Location
    ct, usa
    Posts
    412

    Tiles?

    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?
    Visual Basic 6, HTML, JavaScript, learning C++

  2. #2
    Addicted Member DarkMoose's Avatar
    Join Date
    Jul 2000
    Location
    in a box
    Posts
    185
    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
    To understand recursion, one must first understand the concept of recursion.

  3. #3
    PowerPoster rjlohan's Avatar
    Join Date
    Sep 2001
    Location
    Sydney, Australia
    Posts
    3,205
    DarkMoose - your PokeMurder loop is an infinite loop!

























    Excellent....
    -----------------------------------------
    -RJ
    [email protected]
    -----------------------------------------

  4. #4
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    See my site for a Tile-engine tutorial

  5. #5
    Addicted Member DarkMoose's Avatar
    Join Date
    Jul 2000
    Location
    in a box
    Posts
    185
    LOLOLOL,

    why don't they just die =[
    To understand recursion, one must first understand the concept of recursion.

  6. #6
    Frenzied Member Motoxpro's Avatar
    Join Date
    Sep 2001
    Location
    Spiro, OK
    Posts
    1,211
    Great tutorial Fox

  7. #7
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    ty

  8. #8
    PowerPoster rjlohan's Avatar
    Join Date
    Sep 2001
    Location
    Sydney, Australia
    Posts
    3,205

    Killin the PokeMon...

    I propose a manga war...

    DragonBall Z vs. PokeMon

    Wildcard Entry: Astroboy


    -----------------------------------------
    -RJ
    [email protected]
    -----------------------------------------

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width