Author Topic: BatLib  (Read 160232 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: SpriteLib
« Reply #105 on: December 05, 2010, 01:00:41 am »
3D would be cool, but in a basic game I doubt it would be practical.

If you ever come up with a Mode 7 engine or even a raycaster in assembly, you should consider maybe created an Axiom for Axe coders or something, or even just post the source so ASM coders can use it too.

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: SpriteLib
« Reply #106 on: December 05, 2010, 01:05:57 am »
Well, what I am thinking for now is to do something kind of like Pokémon tilemap-wise. I doubt I will have the axis but, I might be able to come up with a way to display a few different levels (is that the word used?) in a 3D ish way. So, like, you have the ground or background, the level the character is on, and the level above the character (like a roof or ceiling). Then it would be pretty cool to be able to display the tilemap and sprite at different angles (like at player level, aerial, or ground view). Again, I doubt I can accomplish this, but it is a feature request I have for myself :D

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: SpriteLib
« Reply #107 on: December 05, 2010, 03:00:32 am »
Right, kinda like Final Fantasy VI map too? (when not riding the airship)

Good luck in any case!

Ashbad

  • Guest
Re: SpriteLib
« Reply #108 on: December 05, 2010, 07:30:43 am »
yeah, kinda like that DJ, and in latest pokemon games where it looks 3Dish because building get slanted at an angle based on your position.  Cool, Xeda! :D

Offline matthias1992

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 408
  • Rating: +33/-5
    • View Profile
Re: SpriteLib
« Reply #109 on: December 05, 2010, 07:40:21 am »
Sounds cool! great work so far Xeda! Anyways as far as 3D is concerned you could try a mode-7 type of thing, you could try it the polygon way, you could do raycasting, you could do rasterization, you could do voxel octree's OR you could do unlimited detail [http://www.youtube.com/watch?v=JWujsO2V2IA]

THAT would be awesome, it only requires a 5K to 6K buffer :( + google/military tech searching algorithms...
MASM xxxxxxxxxx aborted | SADce ====:::::: 40% -Halted until further notice| XAOS =====::::: 50% -Units done| SKYBOX2D engine ========== 100% -Pre-alpha done. Need to  document it and extend |

~Those who dream by day are cognizant of much more than those who dream by night only. -Sir Edgar Allen Poe-

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: SpriteLib
« Reply #110 on: December 05, 2010, 01:58:33 pm »
This sounds neat!  I'd like more access to the LCD drivers internal RAM in basic programs and Z Addressing if you're looking for stuff to add. :)

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: SpriteLib
« Reply #111 on: December 05, 2010, 02:53:58 pm »
Z addressing?

LCD memory is really slow to use and there is only an extra 196 bytes of memory. But I guess... for long term storage? Hmm, now I want to try something...

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: SpriteLib
« Reply #112 on: December 05, 2010, 02:57:38 pm »
Z addressing?

LCD memory is really slow to use and there is only an extra 196 bytes of memory. But I guess... for long term storage? Hmm, now I want to try something...

So, he recommended making TI BASIC have som Asm controls, that would be sweet!
Then, TI Basic+SpriteLib would gradually become a lower-level language YAY!

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: SpriteLib
« Reply #113 on: December 05, 2010, 02:59:02 pm »
Err, what is z addressing?

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: SpriteLib
« Reply #114 on: December 05, 2010, 02:59:43 pm »
Err, what is z addressing?

Isn't it the addresses like .org 40039 or sth like that?

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: SpriteLib
« Reply #115 on: December 05, 2010, 03:01:10 pm »
Well I know I already have commands that let the user have access to the 65536 bytes of memory... of which 32768 is RAM and so can be written to...

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: SpriteLib
« Reply #116 on: December 05, 2010, 03:04:11 pm »
Well I know I already have commands that let the user have access to the 65536 bytes of memory... of which 32768 is RAM and so can be written to...

By the way, I love HEX.

I don't understand what he means either

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: SpriteLib
« Reply #117 on: December 05, 2010, 08:44:41 pm »
Z-Addressing is shifting the screen vertical position by certain pixels. It's used in Reuben Quest to create earthquake effects.

EDIT: Screenshot! (Note: I had to use PindurTI instead of WabbitEmu because PTI is the only emu that emulates Z-Adress properly)
« Last Edit: December 05, 2010, 08:51:53 pm by DJ Omnimaga »

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: SpriteLib
« Reply #118 on: December 05, 2010, 09:14:02 pm »
Oh, that? I can add that right now. I never knew that was the name! I actually took that out because I didn't think anybody used it!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: SpriteLib
« Reply #119 on: December 05, 2010, 11:14:50 pm »
It has different names I think. I saw it called Z-Address pretty often, some people call it Z-shifting or screen shifting. I'm not sure about the very exact name. But this screenshot shows it in action.