• Star Fox 5 1
Currently:  

Author Topic: Star Fox  (Read 46962 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Star Fox
« Reply #30 on: August 12, 2010, 12:23:45 am »
Wow I just saw this and was shocked at how similar it is to the SNES version! Nice job TP77! As for the screen size, I don't really mind, because in the original, game was not even full screen anyway. Only one suggestion, though: I think the ship should move a little slower, else it might be hard to control. It would be nice if it was tilted in the direction it was moving. Maybe use the sprites posted above.

Good luck on this project
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Star Fox
« Reply #31 on: August 12, 2010, 12:29:45 am »
This is astounding!  The quality and speed of this is incredible!  Are you using ZSorting?  How are you dealing with the depth sorting problem? 

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: Star Fox
« Reply #32 on: August 12, 2010, 12:40:31 am »
This is astounding!  The quality and speed of this is incredible!  Are you using ZSorting?  How are you dealing with the depth sorting problem? 

Ehh... I'm not. I just try to layer it so that it looks nice. If I can figure out a fast way to do it, I will, but currently I draw: tile map, enemies, bullets, ship. For the most part, everything is usually in this order. The problem I see with massive sorting is that I would have to make some big buffer that keeps track of everything to be written the the screen polygon or sprite. And then sort through it. I could do it, I just don't know if it would kill my speed.

Part of the reason this runs so fast is because I use shortcuts like this.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Star Fox
« Reply #33 on: August 12, 2010, 12:43:58 am »
Ah gotcha, that sounds like an excellent shortcut :) And with so few colors, i imagine it wont even be noticed, or if it is, it will be very small.

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: Star Fox
« Reply #34 on: August 12, 2010, 03:28:18 am »
Wow...O.O
And they said this was impossible...
I can't wait for it to get finished!

Offline Silver Shadow

  • Beta Tester
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +27/-7
    • View Profile
Re: Star Fox
« Reply #35 on: August 12, 2010, 04:18:56 am »
O.O

That is simply... breathtaking!
* Silver Shadow hands out a giant box full of penguin cookies.
Former Coder of Tomorrow


Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: Star Fox
« Reply #36 on: August 12, 2010, 08:11:44 am »
Oh yeah thats the stuff, simply amazing :).
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."


Offline matthias1992

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 408
  • Rating: +33/-5
    • View Profile
Re: Star Fox
« Reply #37 on: August 12, 2010, 08:38:46 am »
Looks very good! How many poly's/quad's can it handle? And I suppose there is no lighting (would be a overkill i think)?
Anyway, great job on this so far!
« Last Edit: August 12, 2010, 08:39:12 am by matthias1992 »
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 thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: Star Fox
« Reply #38 on: August 12, 2010, 10:52:47 am »
I'm not exactly sure how many it can handle. Space wise, it could do in the thousands. But as far as speed, I would imagine at 7 or 8 tiles of 4 polygons each you would notice slow downs. But I haven't tried it yet.

No lighting. I will now talk about another shortcut related to that. I store all the vertices in a table xyz. Then I have a table right after it which defines all the polygons. They each say what vertices they use, what color they are, and what side they are viewable from. So for instance:

tDarkQuad(dLeft, 0, 3, 7, 4)

I'm not even going to step through it. But what's important is that the shape is only drawn if the screen's x coordinate is left of vertex 0.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline Iambian

  • Coder Of Tomorrow
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 739
  • Rating: +216/-3
  • Cherry Flavoured Nommer of Fishies
    • View Profile
Re: Star Fox
« Reply #39 on: August 12, 2010, 11:02:27 am »
Spoiler For Spoiler:
I think we've gone so far past the whole "A graphing calculator is for math!" argument, we've left it lost forever. Like a mother-in-law you keep away. Far, far away. In a desert where the cacti may prey upon their tortured souls. And where you're in a nice, cool house someplace on the other side of the world. Yeah. That argument of a mother-in-law is so far out of sight, and out of mind, why are we even making references to it? Why can't it die in the desert like you wanted her? I mean, it's why you dumped it from the plane into the Sahara desert to begin with. I mean the sandy parts, so it'll live for a little bit. You want nothing to do with that abomination and you wish you had never heard of it to begin with. Graphing calculators, for math? What kind of rubbish have you never heard of?

Erh. What I mean to say is... great job with the Starfox game. Haven't seen anything that pushed the limits of what the calc can do since calc84's mode 7 engine and (his? I dunno) that 8 level grayscale Chip's Challenge game.

I wish you luck with this game.
A Cherry-Flavored Iambian draws near... what do you do? ...

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Star Fox
« Reply #40 on: August 12, 2010, 01:14:56 pm »
I remember that someone had an idea for a 3D non-raycasting engine, but it never got off the ground.  The fact that there exists something 3D for the Ti-83+ that isn't "raycasting" is amazing.

Offline matthias1992

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 408
  • Rating: +33/-5
    • View Profile
Re: Star Fox
« Reply #41 on: August 12, 2010, 02:58:24 pm »
I'm not exactly sure how many it can handle. Space wise, it could do in the thousands. But as far as speed, I would imagine at 7 or 8 tiles of 4 polygons each you would notice slow downs. But I haven't tried it yet.

No lighting. I will now talk about another shortcut related to that. I store all the vertices in a table xyz. Then I have a table right after it which defines all the polygons. They each say what vertices they use, what color they are, and what side they are viewable from. So for instance:

tDarkQuad(dLeft, 0, 3, 7, 4)

I'm not even going to step through it. But what's important is that the shape is only drawn if the screen's x coordinate is left of vertex 0.
Thanks for the info. Sorry if I offend you by what I am going to say next but couldn't you better use dithering instead of grayscale and let it take up the whole screen? Altough a clear side effect would be that you can't have custom sized sprites...(well you can but it's slightly slower I guess). Don't get me wrong. I like greyscale, I was just wondering if it would be practical/faster.
« Last Edit: August 12, 2010, 03:02:47 pm by matthias1992 »
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 calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Star Fox
« Reply #42 on: August 12, 2010, 03:00:17 pm »
It doesn't look near as good :P
Interesting idea, though.
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: Star Fox
« Reply #43 on: August 12, 2010, 03:58:43 pm »
Spoiler For Spoiler:
I think we've gone so far past the whole "A graphing calculator is for math!" argument, we've left it lost forever. Like a mother-in-law you keep away. Far, far away. In a desert where the cacti may prey upon their tortured souls. And where you're in a nice, cool house someplace on the other side of the world. Yeah. That argument of a mother-in-law is so far out of sight, and out of mind, why are we even making references to it? Why can't it die in the desert like you wanted her? I mean, it's why you dumped it from the plane into the Sahara desert to begin with. I mean the sandy parts, so it'll live for a little bit. You want nothing to do with that abomination and you wish you had never heard of it to begin with. Graphing calculators, for math? What kind of rubbish have you never heard of?

Um... Thanks Iambian. lol

Thanks for the info. Sorry if I offend you by what I am going to say next but couldn't you better use dithering instead of grayscale and let it take up the whole screen? Altough a clear side effect would be that you can't have custom sized sprites...(well you can but it's slightly slower I guess). Don't get me wrong. I like greyscale, I was just wondering if it would be practical/faster.

I don't care if people offer suggestions. Someone might make the game twice as fast :)  I'm not exactly sure what you mean by dithering, but if you mean mostly one color with speckles of the other. Then the way I draw the polygons would make that way slower. I can only draw solid colored shapes.


Now for the update. I have included Magic Banana's and tloz's sprites to create the barrel roll. Since all 24 sprites for the barrel roll were going to be 4,536 bytes, I only included 6 and rotate the rest out when the program starts.

I also had to write my own vPutS routine because the OS one disables interrupts for a second. But no worries, it searches the os for the letter sprites, it doesn't keep the entire set in the program.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Star Fox
« Reply #44 on: August 12, 2010, 04:02:54 pm »
I think he means, instead of having greyscale, have it in black and white but with a texture that approximates the grey.
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.