Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > Game Programming > 2d Side Scroller


Reply
 
Thread Tools Display Modes
  #1  
Old 08-25-2003, 12:43 AM
LivingTheDream LivingTheDream is offline
Newcomer
 
Join Date: May 2003
Location: New Hampshire
Posts: 22
Default 2d Side Scroller

Hello all, long time no talk!

I am in the midst of my design doc for a 2d Side Scrolling game, like Super Mario (just a learning game for myself) and came upon some stuff I'd like to see if I could get some help with. Since I am trying to learn this stuff, I'd rather not have someone give me code, just kinda nudge me in the right direction with how to do some stuff.

I searched the forums for information on a map editor - but I don't see someone doing the same stuff that I wanted to do. I don't think I need to do tiles or anything, unless I'm wrong. I need to write a map editor (or level editor would be more correct I guess), and was thinking "Should I just save it as a bunch of text, or binary or something, and parse it into useful information on runtime? Or am I looking at this completely wrong, maybe there's a better way to write a level."

I appreciate any help you guys can give!
__________________
Q:What do you get when you cross Lee Iacoca with a Vampire's Alter Ego?

A:AUTOEXEC.BAT
Reply With Quote
  #2  
Old 08-25-2003, 02:52 AM
Bucky7's Avatar
Bucky7 Bucky7 is offline
Centurion
 
Join Date: Jun 2003
Location: Manchester,UK
Posts: 203
Default

It would depend on what you want to achieve. A tile based system is good and you could redraw each tile per frame if you have a lot of background annimation. if not you could build up an entire level in memory and just blit down the current visual portion. There are some good mario examples on the forum if you look.
__________________
If Bill Gates stuffed all his money under his matress and fell out of bed, it would take him 18 minutes to hit the floor!
Reply With Quote
  #3  
Old 08-25-2003, 02:37 PM
wyrd wyrd is offline
Newcomer
 
Join Date: Aug 2003
Posts: 15
Default

I know you didn't want code, but it may be worth looking at some if you're stumped. Here's a Mario clone that someone built a while ago;

http://www.xtremevbtalk.com/show...threadid=27443

I haven't looked at the code, but I'm going to assume he used a tile based map of sorts. The reason I say this is that drawing a single large image on to the screen is slower then tons of smaller tiles (hard to believe, but it's true). If you're looking for examples there are some tile based map editors floating around the forums.. a search should pull them up. There should also be some tile based map tutorials that you can find with a quick search on google.

As for maps, text format should be okay unless you plan on doing some really large levels, in which case you may want to consider using binary to speed up the load time. However, binary is hard to debug, so if you run into a problem with your map loading/saving it may take a while to track down the exact problem. Since you're just learning I'd suggest sticking with text for now and then convert it to binary later on when you get all the kinks worked out.
Reply With Quote
  #4  
Old 09-03-2003, 11:52 PM
hotrodx's Avatar
hotrodx hotrodx is offline
Centurion
 
Join Date: Jan 2002
Location: Philippines
Posts: 129
Default

LivingTheDream,

Well, since my old Mario game was linked, I'd like to invite you to check out my site at www.angelfire.com/games4/hotrodx for a newer Mario game. No bosses or powerups, but very playable.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Beginner Side Scroller helsinkiwinner Game Programming 3 08-20-2003 08:24 PM
2d side scroller yoshiyyy Game Programming 2 01-31-2003 02:43 PM
Organizing A Side Scroller btsmedia Game Programming 20 01-19-2003 12:31 PM
About Side Scroller AI's..... Computer_Guy Game Programming 5 10-04-2002 07:55 AM
side scroller seubert316 Game Programming 1 06-09-2002 09:30 AM

Advertisement:

Powered by liquidweb