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! / Need with maps knda new

Author
Message
hot_coder
20
Years of Service
User Offline
Joined: 11th Jun 2004
Location:
Posted: 22nd Jun 2004 01:24
I'm just starting out I understand the basics but I feel embarassed to admit that I don't understand how to create maps for 2D platformers. All I want to know is how do you create them (horizontal and vertical lines) and any good tutorials
zenassem
22
Years of Service
User Offline
Joined: 10th Mar 2003
Location: Long Island, NY
Posted: 23rd Jun 2004 23:18
Hotcoder,

Look at my response to JHA in this thread
http://darkbasic.thegamecreators.com/?m=forum_view&t=32618&b=4

While this is a top-down 2D rpg layout, the same exact prinicples are used in 2d platformers that are tile-based. Of course, you would want to add a background image (or multiple images for parallax scrolling).
The code in the thread is a good place to start. With platformers you probably won't need 5 layers of tiles though. After you get the idea of how the code works, you should than look at the "altered beast" demo code. It will help you to understand parallax scrolling.

I'll try to answer as many questions as I can.


Login to post a reply

Server time is: 2025-05-15 09:21:33
Your offset time is: 2025-05-15 09:21:33