Author Topic: The Massacre  (Read 20137 times)

0 Members and 3 Guests are viewing this topic.

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
The Massacre
« Reply #120 on: June 10, 2007, 02:53:00 am »
You're just flipping certain tiles each frame to create the grayscale effect? How does it look on calc?

Also how many tiles will you be using in this game? Jim's tilemapper is only really fast with a limited amount of tiles.

Also, wabbit isnt 'leaps and bounds' ahead of PindurTI. They arent actually very different, unless you consider a GUI a huge step forward (which it isnt). The LCD emulation is also unrealistic, but that was done deliberately.

They are both really great emulators, either of which would be a better alternative to the likes of VTI/Flash Debugger.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."


Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
The Massacre
« Reply #121 on: June 10, 2007, 09:53:00 am »
Hey, my homemade tilemapper is 60 fps at worst (99 in 15mhz). :Dbiggrin.gif
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Halifax

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1334
  • Rating: +2/-1
    • View Profile
    • TI-Freakware
The Massacre
« Reply #122 on: June 10, 2007, 01:15:00 pm »
tr1p1ea: yeah I have heard all the gripes about it going slow on a lot of tiles and have seen the timings. It's alright though. I just make a dynamic tileset switcher while keeping the same buffers. Secondly it looks horrible on calc. It flickers like crazy. I didn't mean it to be grayscale I just couldn't come up with a better animation. Oh well.
There are 10 types of people in this world-- those that can read binary, and those that can't.

Insanity

  • Guest
The Massacre
« Reply #123 on: June 10, 2007, 01:19:00 pm »
Whoa, I wish that tile map engine could be used in BASIC programs :Ptongue.gif   It totally Pwns xLIB's Tilemap function :Ptongue.gif

Offline bfr

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 819
  • Rating: +4/-0
    • View Profile
    • bfr's website
The Massacre
« Reply #124 on: June 10, 2007, 03:16:00 pm »
QuoteBegin-Halifax+10 Jun, 2007, 18:15-->
QUOTE (Halifax @ 10 Jun, 2007, 18:15)
tr1p1ea: yeah I have heard all the gripes about it going slow on a lot of tiles and have seen the timings. It's alright though. I just make a dynamic tileset switcher while keeping the same buffers. Secondly it looks horrible on calc. It flickers like crazy. I didn't mean it to be grayscale I just couldn't come up with a better animation. Oh well.  

 Although it looks cool already, if you want it to be animation without grayscale, you could probably set up some sort of interrupt.  

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
The Massacre
« Reply #125 on: June 10, 2007, 07:10:00 pm »
Err xLIB's tilemapper is considerably faster. Its only aligned remember -- running it from the TIOS is what slows it down.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."


Offline Halifax

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1334
  • Rating: +2/-1
    • View Profile
    • TI-Freakware
The Massacre
« Reply #126 on: June 10, 2007, 11:40:00 pm »
@tr1p1ea: I think he was joking, but hey anyways how do you know anything about how Xlib run tr1p1ea?? According to this guy http://www.ticalc.org/archives/files/fileinfo/399/39961.html it was made by Triplea Productions. :)smile.gif

@bfr: Yeah I know I was just showing that animation worked not the way I would be using it. Thanks though.

Also @tr1p1ea: And what tilemapper would you suggest if I had a lot of tiles? Or how would you suggest I make it? I tried MiSSTeR which just maps the tiles aligned and then shifts the whole screen, but I was wondering if that is really faster than this.
There are 10 types of people in this world-- those that can read binary, and those that can't.

Liazon

  • Guest
The Massacre
« Reply #127 on: June 11, 2007, 03:07:00 am »
yep, tr1p1ea is the author of xlib :)smile.gif

I think the major difference between messuptiles and planeshifting is that the speed of planeshifting does not depend on the number of tiles, which means that the speed will depend on how well it is written.

On the other hand, messuptiles has a set # of clock cycles for each tile rotated, which according to Jim e iirc is the major bottleneck.  The overhead (required cycles) isn't too bad, iirc, it's about the same as a fastcopy.  

I'd probably go with Jim's sugggestion of 117 tiles or less.  Or just calculate the # of clocks needed for X tiles using his calculations in the comments.  Then see if it's less than the total speed of the planeshifter.  Of course, then you probably wouldn't be able to use Jim's animated mapper

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
The Massacre
« Reply #128 on: June 11, 2007, 04:21:00 am »
My tilemapper is unique in that it only writes aligned tiles (every 8 pixels rotated horizontally) and uses a 14x64 buffer (for scrap columns to rotate into/out of, plus no worries about horizontal sprite clipping).
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Halifax

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1334
  • Rating: +2/-1
    • View Profile
    • TI-Freakware
The Massacre
« Reply #129 on: June 11, 2007, 06:36:00 am »
@calc84maniac: I have thought of trying that and that's how I heard Spencer does it. I have also consider writing a tilemapper the way you do it. Is your tilemapper currently open-source?

@Liazon: He hasn't released his animated tilemapper source and that's why I made my own. Which only slows the loop for rotating the tiles down by about 1-15 cc's per tile. Isn't a bad tradeoff in my mind.
There are 10 types of people in this world-- those that can read binary, and those that can't.

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
The Massacre
« Reply #130 on: June 11, 2007, 02:58:00 pm »
I may opensource it after the Cemetech Contest is over; I'm using it in my entry.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Speler

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 857
  • Rating: +6/-2
    • View Profile
The Massacre
« Reply #131 on: August 02, 2007, 10:36:00 am »
Any updates here?

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
The Massacre
« Reply #132 on: August 02, 2007, 10:59:00 am »
QuoteBegin-Halifax+11 Jun, 2007, 6:4-->
QUOTE (Halifax @ 11 Jun, 2007, 6:40)
According to this guy http://www.ticalc.org/archives/files/fileinfo/399/39961.html it was made by Triplea Productions. :)smile.gif

:lmao:ptdr.gif

Offline Halifax

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1334
  • Rating: +2/-1
    • View Profile
    • TI-Freakware
The Massacre
« Reply #133 on: August 02, 2007, 03:39:00 pm »
Super_Speler: Not really. I mean I have been messing with The Massacre a lot and found out a lot of cool macro abilities for SPASM. It's so awesome how SPASM handles macros. For example:

you can have a macro like this
macro(x1,x2,x3,x4)

but have it called like this
macro(4, 5)

and your macro can check what arguments were passed and what ones weren't.

Anyways in other news I have scrapped Jim_e's tilemapper.

I am currently working on a homemade plane-shifting LUT tilemapper.
There are 10 types of people in this world-- those that can read binary, and those that can't.

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
The Massacre
« Reply #134 on: August 02, 2007, 03:52:00 pm »
wow nice, i should give asm a shot again with those macro one day, not sure though