Author Topic: Celtic III powered 4 Level Greyscale Scrolling Map Engine  (Read 141491 times)

0 Members and 1 Guest are viewing this topic.

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Celtic III powered 4 Level Greyscale Scrolling Map Engine
« on: August 05, 2010, 04:06:15 pm »
Here's something I made awhile ago for Pokemon TI and figured maybe someone else can use it, as I am not currently working on Pokemon because of Nostalgia and I don't see myself being able to make any entry for the Cemetech contest. This requires Celtic III or DoorsCS 7 and will not work with xLib.

Included in the zip is:
AATALK - Demo npc/sign interactivity program
AAWALK - Movement Engine
APKMAP - Program holding demo map of Pallet Town
APPIC - Picture viewer
All the pics. They are all hacked, so you'll have to group them to send them to your calc. You can just drag and drop them into wabbit, though. Just send all the pics to the archive. If some tiles glitch up, try unarchiving some of the pics, because this can happen with Celtic sometimes.

Here's a screenshot of the engine in action:


And here's a screenshot of the picture viewer in action:


The picture viewer is to help you organize and reference your tiles easier. It currently assumes you have 5 sheets of tiles. You can change this if you'd like.
Also, by pressing 2nd, you can see the index number of any tile in the current sheet.

The map is easy to make, you simply make a matrix map like you normally would for the real(2 command. The engine currently uses 16x16 tiles.

In order to give the illusion of the player being masked over a tile while walking around, you have to organize your tileset like this for all walkonable tiles:


You don't have to organize them that cleanly, as long as the character sprites come right after the tile and are in the correct order.
I recommend making the tiles on the computer then using nitacku's multi-level greyscale renderer to get them into the correct format.
The engine will then check what tile you are currently on and your direction and use that to fetch the appropriate direction masked over the terrain.

I hope someone else finds this useful. But, please give me credit for this because I worked really hard on it.  :)
Please let me know if you have any problems with this.
« Last Edit: September 04, 2010, 07:46:00 pm by FinaleTI »


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Celtic III powered 4 Level Greyscale Scrolling Map Engine
« Reply #1 on: August 05, 2010, 04:09:30 pm »
That's really nice!  Is the Character going to have a walking animation?  I know you're not working on this right now, but I'm just curious.

EDIT:  Those graphics are epic!
« Last Edit: August 05, 2010, 04:10:19 pm by yunhua98 »

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Celtic III powered 4 Level Greyscale Scrolling Map Engine
« Reply #2 on: August 05, 2010, 04:12:38 pm »
The engine is already kinda slow, so the animation would slow it down more and it would require some more shuffling of tiles; but if you or someone else wants to add it, that's fine.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Celtic III powered 4 Level Greyscale Scrolling Map Engine
« Reply #3 on: August 05, 2010, 04:16:43 pm »
Wait, are you still working on this?
I don't really mind if there isn't a walking animation, I as just curios since the sprite sheet has three sprites for each direction.
Still, this is epic and the main thing in pokemon isn't walking anyway.  :P

keep up the good work, when the Contest is over!  (Unless you're stopping it.)  :(

* yunhua98 hopes not...

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Celtic III powered 4 Level Greyscale Scrolling Map Engine
« Reply #4 on: August 05, 2010, 04:23:30 pm »
I might work on this in the future, but Pokemon is on hold right now because of Nostalgia.
The reason there is 3 sets of the character in the pic is because he's masked over three different terrains.
« Last Edit: August 05, 2010, 04:23:46 pm by FinaleTI »


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Celtic III powered 4 Level Greyscale Scrolling Map Engine
« Reply #5 on: August 05, 2010, 04:26:39 pm »
oh, ok, thanks for the info.
I'm actually glad you're doing Nostalgia first.  (Not that you have a choice since you're entering the contest)  Since it's gotta be shorter than Pokemon, which means a great game out earlier than Pokemon would be, though both are great games.  And most of us know Pokemon, whereas you made Nostalgia.  ;)

EDIT:  a bit offtopic, but how is Nostalgia in terms of memory?  As in do you think you can fit it into a single app?
« Last Edit: August 05, 2010, 04:27:49 pm by yunhua98 »

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline MRide

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 711
  • Rating: +14/-0
  • You can't see this.
    • View Profile
Re: Celtic III powered 4 Level Greyscale Scrolling Map Engine
« Reply #6 on: August 05, 2010, 07:17:20 pm »
Wow.  The graphics are great.  How good is the grayscale on calc?

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Celtic III powered 4 Level Greyscale Scrolling Map Engine
« Reply #7 on: August 05, 2010, 08:54:57 pm »
The greyscale is pretty good on-calc. It's a tad more flickery than in emulation, but I always make it so it looks good on-calc. Adjusting your contrast to about 20 or 21 with real(5 can help soften the scanlines, but it may also soften the black, so that's up to you. Actually, I believe the attached demo temporarily sets the contrast to 20 while it's running, so you can see the effect in action.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Celtic III powered 4 Level Greyscale Scrolling Map Engine
« Reply #8 on: August 05, 2010, 11:20:56 pm »
That is really cool! I know absolutely nothing about programming with xLib or Celtic so I would be completely useless if someone wanted help with that :P But very nice job, Finale. It shows that you put a lot of work into it.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

SirCmpwn

  • Guest
Re: Celtic III powered 4 Level Greyscale Scrolling Map Engine
« Reply #9 on: August 05, 2010, 11:32:23 pm »
Woah.
That is the coolest TI Basic thing I have seen in a *long* time.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Celtic III powered 4 Level Greyscale Scrolling Map Engine
« Reply #10 on: August 05, 2010, 11:37:23 pm »
Ah, I remember this from over at UTI, good stuff. For those viewing the screenies it actually runs a bit faster on calc. Dunno why, but these particular Gif's are a little slow. :)

Offline MRide

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 711
  • Rating: +14/-0
  • You can't see this.
    • View Profile
Re: Celtic III powered 4 Level Greyscale Scrolling Map Engine
« Reply #11 on: August 06, 2010, 09:56:41 am »
I don't know much about xLib/Celtic, same as meishe, but I can really appreciate this.  Is this only runnable on TI 83+SE and TI 84 series due to speed limitations?

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Celtic III powered 4 Level Greyscale Scrolling Map Engine
« Reply #12 on: August 06, 2010, 10:20:13 am »
@MRide: I haven't tested it on an regular TI-83+, because I seem to have misplaced mine. It should run though. Don't know about the speed.
@Art_of_Camelot: You're right. The screenies are kinda slow. Maybe I had the frame-rate too high?


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Celtic III powered 4 Level Greyscale Scrolling Map Engine
« Reply #13 on: August 06, 2010, 11:54:30 am »
@MRide: I haven't tested it on an regular TI-83+, because I seem to have misplaced mine. It should run though. Don't know about the speed.
@Art_of_Camelot: You're right. The screenies are kinda slow. Maybe I had the frame-rate too high?

The screenshots might be slow because of the browser being used. I know they tend to run slow in IE and Chrome. FireFox (and I think Opera?) tend to do the best job with them. I don't know about Safari.

Plus I think things just tend to run faster on the calculator than in Wabbit.
« Last Edit: August 06, 2010, 11:56:50 am by meishe91 »
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Celtic III powered 4 Level Greyscale Scrolling Map Engine
« Reply #14 on: August 06, 2010, 12:06:09 pm »
Nah, it isn't the browser. I use Firefox.