[TI-XXXX] Moving a character through a map

Got questions? Got answers? Go here for both.

Moderator: MaxCoderz Staff

133794m3r
New Member
Posts: 29
Joined: Sun 02 Jul, 2006 6:02 am
Location: nicksville ,VA

[TI-XXXX] Moving a character through a map

Post by 133794m3r »

how do i make a chracecter move through a map
User avatar
benryves
Maxcoderz Staff
Posts: 3087
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Post by benryves »

That's a fairly large (and vague) question there! There are a number of parts to it. Just a few of these are listed below:
  • Drawing the map on-screen. This has a number of considerations - do you want it to display a room (and each time you leave it redraws the entire screen) or do you want it to scroll around the character (and if so, do you want it to scroll smoothly?)
  • Drawing your character. This isn't that tough.
  • Collision detection. Stop your player from walking in certain areas, fire off actions on certain tiles and so on.
You need to be more specific if you want people to help. Is this in TI-BASIC or Z80 assembly? Which parts are you stuck on? Have you tried yourself, and if so, what was the result? We need more information!
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4141
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Post by tr1p1ea »

Once again you are going to have to be more descriptive 133794m3r. If you really want help, you are going to have to explain your situation. Is this in BASIC or ASM? What calculator is it for? What kind of map are you talking about? Do you have any test code? 'Help us help you' i believe it goes.

You will also notice that there is a required prefix for topics in the help forum. That being the language it is concerning. A descriptive title also helps.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
User avatar
blueskies
Calc Wizard
Posts: 553
Joined: Tue 25 Apr, 2006 2:24 pm

Post by blueskies »

How do I make a game?
User avatar
kalan_vod
Calc King
Posts: 2932
Joined: Sat 18 Dec, 2004 6:46 am
Contact:

Post by kalan_vod »

blueskies wrote:How do I make a game?
Funny guy :P, finish what you have on your plate! (the jeep game deal).
User avatar
blueskies
Calc Wizard
Posts: 553
Joined: Tue 25 Apr, 2006 2:24 pm

Post by blueskies »

kalan_vod wrote:
blueskies wrote:How do I make a game?
Funny guy :P, finish what you have on your plate! (the jeep game deal).
Dude, I haven't programmed anything in so long. And I'm leaving for South America for 2 months in about a week, so I know I won't do anything with it until at least next year. Maybe I'll find some inspiration/boredom then. :D
133794m3r
New Member
Posts: 29
Joined: Sun 02 Jul, 2006 6:02 am
Location: nicksville ,VA

with walking on a ti84+Se

Post by 133794m3r »

how do i get them to move like what would the code look like for it
i mean im trying to get my charecter to move on the map how do i do it
what kind of code should i use
User avatar
kv83
Maxcoderz Staff
Posts: 2735
Joined: Wed 15 Dec, 2004 7:26 pm
Location: The Hague, Netherlands
Contact:

Post by kv83 »

Still to vague. How does your map look like? Is it an array? What language do you use? Do you even know how to program?
Image
CompWiz
Calc King
Posts: 1950
Joined: Thu 13 Oct, 2005 1:54 pm
Location: UB

Post by CompWiz »

If you're programming in z80 assembly, there's a free black and white tile mapper at revsoft.org. That could give you some code to play with.
In Memory of the Maxcoderz Trophy Image
User avatar
anykey
Extreme Poster
Posts: 420
Joined: Mon 31 Jan, 2005 3:36 am
Location: In the matrix
Contact:

Post by anykey »

There's no way this guy is trying to do it in asm.
My recommendation: since you aren't a programmer, pick an easier project first. DON'T submit your first programs to ticalc, and once you get experience with basic programming tecniques and theories work on the tile mapper.
I think, therefore iMac
Image
Patori
Maxcoderz Staff
Posts: 1479
Joined: Sat 18 Dec, 2004 3:51 am
Location: Toledo, Ohio, USA

Post by Patori »

A while back, I had been tempted to write a guide to designing games... you know, about what kind of mindset one should have, what sort of things they should goi for, etc., etc.
Currently coming up with a new signature idea... since my forum avatar changer was killed by an upgrade...
King Harold
Calc King
Posts: 1513
Joined: Sat 05 Aug, 2006 7:22 am

Post by King Harold »

anykey wrote:There's no way this guy is trying to do it in asm.
My recommendation: since you aren't a programmer, pick an easier project first. DON'T submit your first programs to ticalc, and once you get experience with basic programming tecniques and theories work on the tile mapper.
well.. im still a bit used to basic and well that isnt really helping my asm programming..

@patori: way cool, did you actually write it? (oh and you made a typo..)
CompWiz
Calc King
Posts: 1950
Joined: Thu 13 Oct, 2005 1:54 pm
Location: UB

Post by CompWiz »

Patori wrote:A while back, I had been tempted to write a guide to designing games... you know, about what kind of mindset one should have, what sort of things they should goi for, etc., etc.
that would be very helpful, if you ever do decide to do it.
In Memory of the Maxcoderz Trophy Image
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4141
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Post by tr1p1ea »

I was thinking about doing the exact same thing, walking through the process of making a small RPG. I still plan on doing that actually.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
Gambit
Sir Posts-A-Lot
Posts: 252
Joined: Mon 21 Feb, 2005 5:34 am
Location: Laveen, Arizona

Post by Gambit »

I'm in the process of revising a guide like this also. However, mine won't be so much game-oriented, but rather general-thinking oriented, with much emphasis on Zen Buddhism. It might be released during the three-day weekend. (horray! :))
"If SOURCE is outlawed, only outlaws will have SOURCE."
Post Reply