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! / 2d scrolling map game

Author
Message
FreeFall
18
Years of Service
User Offline
Joined: 24th Oct 2006
Location:
Posted: 24th Oct 2006 19:27
ok, i am new to BASIC, but so far i have a moving character.
Now for this game i want to make a large map and have my character walk around.
I want to do this by having a text file with letters like A, B etc. This will be tiles in my game.
I was wondering what code i should use to load the .txt file in, how to make it display and how to get scrolling workin propperly.
2D Analyst
AGK Developer
21
Years of Service
User Offline
Joined: 2nd May 2004
Location:
Posted: 24th Oct 2006 22:09
I get what you saying...I was also looking for something like this. Search 'pizzaman' and you will see a tutorial that he made on it or try searching for in the codebase.

www.simpoware.com
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 24th Oct 2006 23:53
Instead of using letters it'd be easier to use numbers. That way the number represents the image numbers of the tiles. If you use letters you'll have to convert them to numbers anyway (unless you want to use the "asc()" command).

Is this for a homework assignment?
FreeFall
18
Years of Service
User Offline
Joined: 24th Oct 2006
Location:
Posted: 27th Oct 2006 19:56
its a uni assignment.

Login to post a reply

Server time is: 2025-05-15 19:56:05
Your offset time is: 2025-05-15 19:56:05