Author Topic: Star Fox  (Read 52407 times)

0 Members and 4 Guests are viewing this topic.

SirCmpwn

  • Guest
Re: Star Fox
« Reply #45 on: August 12, 2010, 04:03:10 pm »
This is still pretty darn cool.
However, I'm wondering if vPutS or vPutC disables interrupts, becuase you can make a very small vPutS routine that uses vPutC.

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 #46 on: August 12, 2010, 04:11:41 pm »
I think he means, instead of having greyscale, have it in black and white but with a texture that approximates the grey.

Well if that's it, I can't do it. That would probably be slower than grayscale.

vPutMap disables interrupts because it can write to the screen. TI wasn't smart enough to only disable interrupts if in fact it actually does write to the screen.
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

SirCmpwn

  • Guest
Re: Star Fox
« Reply #47 on: August 12, 2010, 04:13:13 pm »
Ah, that makes sense.

Offline Magic Banana

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 371
  • Rating: +77/-1
  • It's not an apple, it's a ... magic banana.
    • View Profile
Re: Star Fox
« Reply #48 on: August 12, 2010, 08:46:41 pm »
Alright, here's some more sprites. This is the up and down sprites in two degrees with the neutral sprite in the middle for reference.

Also, nice screenshot, but the barrel roll seems to go a little ... slow. The turning looks good though. I'm wondering, are you going to have two degrees of turning or just keep it at one?

Oh yeah, do you want me to make diagonal direction sprites for when they are going up/down and right/left at the same time or is this fine?

One more thing, are you able to enlarge/shrink the sprites or do I have to make more for the boosting/braking?
I do sprites and stuff, so yeah.

Quote from: yunhua98
i'M NOT SURE WHAT A SWORD SKILL IS BUT HERE'S THE SWORD ANIMATION FROM THE TWO SPRITES ON PG 13

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Star Fox
« Reply #49 on: August 12, 2010, 09:02:59 pm »
definitely add diagonals. it wouldn't feel right without them.
oh, and thanks for the help last night mr penguin. i successfully created an arbitrary wireframe polygon drawer in chem class today =D
how do you go about filling sides with a solid colour?

Offline tloz128

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 324
  • Rating: +58/-6
  • I feel asleep.
    • View Profile
Re: Star Fox
« Reply #50 on: August 12, 2010, 09:14:37 pm »

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.

Looks awesome! :D

btw I just made a sprite for that annoying toad (you know who I'm talking about :P)
« Last Edit: August 12, 2010, 09:20:50 pm by tloz128 »
Naaa... Na Nah Na Nana Na Nah... Hey Jude!

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 #51 on: August 12, 2010, 09:43:57 pm »
@Magic banana
    Those look great. Diagonals will probably be needed too. I'll add in the 2 degrees of turning also. With all these great directional sprites, I'm going to have to start working on angled shots. That will be interesting. Also, I suck at sprites, I forgot about braking/boosting, but I guess you'll have to resize those too.

@shmibs
     Making the wireframe is the easy part. Filling them in is where it gets really hard. You basically need grayscale to do make it look right. But here's how I did it. First you make a buffer the size of your screen Y * 2 * corners. So mine is a static 48 * 2 * 4 = 384 bytes. Then you draw data lines connecting your corners if your shape. These data lines are defined by a farthest left and farthest right in each row. So if its a vertical line, its min and max are the same number. If its horizontal, its min is its start and max is its end. And for diagonals you do the same thing, just for each row you find min and max. Then once you have your lines drawn, you step through each row, find the lowest min and highest max, and shade the area in between. I can't imagine doing this fast in anything but asm though.

@tloz
    I'll make sure to include that sketchy character that your talking about. I've heard his name somewhere...
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 shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Star Fox
« Reply #52 on: August 12, 2010, 10:32:37 pm »
yeah, there's no way i could do anything with gray(unless i finally convince myself to look at asm again). im thinking mebbe filling the entire shape and then inverting the visible portion of the frame like so:

was this something you tried that didnt work?

oh, and sorry for drawing your thread offtopic. i wont post anymore of this stuff here :P
thanks for the help, and keep up the awesome work!

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 #53 on: August 12, 2010, 10:34:56 pm »
That would work. I forgot about edge lines. I used to use them, but then I realized with grayscale they weren't needed.
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 Magic Banana

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 371
  • Rating: +77/-1
  • It's not an apple, it's a ... magic banana.
    • View Profile
Re: Star Fox
« Reply #54 on: August 12, 2010, 10:47:17 pm »
Alright, quick question before I possibly make too many/few sprites. For the turning, do you want two degrees for each degree of height or just the two degrees for simply up and down? Here's the template that I am going to fill. Would you rather I have sprites for each degree of the up/down sprites or just two degrees of turning for up and down?

Basically, do you want 4 or 8 sprites for all the up/down turning? (the template here is for 8 )
« Last Edit: August 12, 2010, 10:48:28 pm by Magic Banana »
I do sprites and stuff, so yeah.

Quote from: yunhua98
i'M NOT SURE WHAT A SWORD SKILL IS BUT HERE'S THE SWORD ANIMATION FROM THE TWO SPRITES ON PG 13

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 #55 on: August 12, 2010, 10:51:13 pm »
If you fill that whole template, this will be the coolest looking game ever.  :)

Yes, I'll need all of those directions. I'll mirror over the other set on-calc. I really must thank you for all of these sprites, I'll have to make a credits page in the game and get your name in there.

200th post. Yay
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 tloz128

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 324
  • Rating: +58/-6
  • I feel asleep.
    • View Profile
Re: Star Fox
« Reply #56 on: August 12, 2010, 11:10:30 pm »
here's one for Fox
Naaa... Na Nah Na Nana Na Nah... Hey Jude!

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 #57 on: August 12, 2010, 11:14:06 pm »
That's so awesome. I like getting new sprites from you because they are so easy to add. Just convert/copy/paste. Whereas the ships sprites take a bit of work to get right. Oh well, they're both needed.

You'll definitely be on that credits page too.
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 tloz128

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 324
  • Rating: +58/-6
  • I feel asleep.
    • View Profile
Re: Star Fox
« Reply #58 on: August 12, 2010, 11:29:59 pm »
That's so awesome. I like getting new sprites from you because they are so easy to add. Just convert/copy/paste. Whereas the ships sprites take a bit of work to get right. Oh well, they're both needed.

You'll definitely be on that credits page too.
thanks ;D
Naaa... Na Nah Na Nana Na Nah... Hey Jude!

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Star Fox
« Reply #59 on: August 12, 2010, 11:32:29 pm »
Man, I can't wait for an actual game release based on this.