Author Topic: Star Fox  (Read 53672 times)

0 Members and 2 Guests are viewing this topic.

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 #15 on: August 11, 2010, 07:24:16 pm »
"Incoming enemy from the rear! Drop altitude!" /random quote

That's just amazing! Sprites you say? If you tell us the dimensions for each of the sprites (in 4grayscale I'm assuming), I'm sure someone could make a couple.  ;)
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 {AP}

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 981
  • Rating: +74/-3
  • I am Webmaster!
    • View Profile
    • Removed From Game
Re: Star Fox
« Reply #16 on: August 11, 2010, 07:41:18 pm »
Quote
Btw, are you thinking about using all that black space at the bottom for text and stuff?
Quote
You could have incoming transmissions from Peppy at the bottom

I'm not some sort of mind reader or genius or anything... but
I'd never forget the barrel roll. That's part of why I put the screen at the top instead of centered. This way there's room for "Do a barrel roll!"

So... yes. I can say with confidence that the bottom will contain dialogue at some point in gameplay.
« Last Edit: August 11, 2010, 07:41:39 pm by {AP} »

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Star Fox
« Reply #17 on: August 11, 2010, 08:32:37 pm »
Whoa this is really neat!  I'm definitely looking forward to the final version.  Is it 15MHz only I assume?
___Axe_Parser___
Today the calculator, tomorrow the world!

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 #18 on: August 11, 2010, 08:36:20 pm »
I basically will use the blackspace for HUD stuff. So the bottom middle will be incoming messages. Left and right will be health, and lives and such.

Sprite size? I really don't have any limits as long as it looks normal. The ship is like 19 pixels wide currently, so anything will do. When it does a barrel roll, it will be like 15*15 at one point, so I really don't care what size they are. The enemies can be whatever size also, they just preferably need to have a close pic and a far pic. The close one is about 12 wide and the far one is about 8. 4 level grayscale, but you have to use white carefully as it is the background color, for now at least.

Also, black and white characters would be cool, I know at least I'll need peppy. Some cool design to fill up the blackspace will eventually be needed too.

Yes, only 15MHz. If I did this in 6MHz I would be the z80 god.
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 #19 on: August 11, 2010, 09:22:38 pm »
Well, here's what I got. The ship's total width and height is 21, but I think it looks better at that size. I also made a gif for them in action. I tried to keep the sprites needed to a minimum, but I think I might make one more to smooth it out.

That being said, DO A BARREL ROLL!
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 TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Star Fox
« Reply #20 on: August 11, 2010, 09:28:28 pm »
If the size works, that looks REALLY nice Magic Banana.

Offline tloz128

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 324
  • Rating: +58/-6
  • I feel asleep.
    • View Profile
Re: Star Fox
« Reply #21 on: August 11, 2010, 09:50:51 pm »
This is Peppy. All systems go.
« Last Edit: August 11, 2010, 09:52:34 pm by tloz128 »
Naaa... Na Nah Na Nana Na Nah... Hey Jude!

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 #22 on: August 11, 2010, 09:51:33 pm »
Ok, here are the revised sprites, making the roll smoother. Gif in a minute.

EDIT: Modified the sprites a bit so that they are more in-line and don't 'tumble' as much when rollin'.

EDIT2: Another edit to the sprites, plus spacing because that white space gets confusing.
Also, "USE BOMBS WISELY!"
« Last Edit: August 11, 2010, 10:29:18 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 calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Star Fox
« Reply #23 on: August 11, 2010, 09:53:14 pm »
This is Peppy. All systems go.
I think he was asking for black-and-white sprites for the characters (because only that 48x48 window of the screen has grayscale applied to it)
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline tloz128

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 324
  • Rating: +58/-6
  • I feel asleep.
    • View Profile
Re: Star Fox
« Reply #24 on: August 11, 2010, 09:59:58 pm »
here, how about this then?
« Last Edit: August 11, 2010, 10:11:05 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 #25 on: August 11, 2010, 10:08:51 pm »
Wow, are you guys just that good at spriting that you can draw that stuff? Those look amazing. As soon as I get my pic converter working again, (I had to add in a masking byte), I'll definitely have it doing barrel rolls.
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 #26 on: August 11, 2010, 10:33:10 pm »
DUDE!
HOLY CRAPPZ!!
this is the most exciting thing ive seen all week

do you think you could write out a brieg guide to making polygon 3d(not specific to any language, but just a basic guideline which can be applied to any)

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 #27 on: August 11, 2010, 10:53:25 pm »
I don't know how to rotate, but head on is pretty simple. The general gist is that you take the verteces, convert them to screen coordinates, and then draw in shapes to connect them.

Just to make a standard, if you are looking parallel to the ground, x increases to your right, y increases as you get lower, and z increases as you walk forward. When I say differences, I am talking about it's value, subtract your own. So its at 5 you're at 2. 5-2= 3 difference.

First, you have to figure out you base length. Which comes from half your screen length/tan(half field of view). So in my case, 48/2 / tan(60/2 = 42 base length. This is the only part that I got from tutorials.

Second, you take your base unit and divide it by the Z difference of the point you are mapping. This will tell you how many standard units it is away, and therefore how big it is. If it is one away, it is normal size. Two away, 1/2 size. 3 away, 1/3 size, and so on.

Then you take it's size ratio and multiply its x and y difference by the ratio. In this step, you might have negative differences, so just be aware of that.

Finally, add half the width or height of the screen to the x and y to get your screen coordinates.

The rest comes from drawing polygons that connect these points on screen.

Now an example.

Point is 120 away, 50 to the right, and 30 above. Screen is 48*48.

48/2 / tan(60/2 = 42 base unit.
42/120 = .35 actual size
50*.35 = 18 relative pixels right
-35*.35 = -11 relative units down
(18+(48/2), -11+(48/2))
(42, 13)
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 #28 on: August 11, 2010, 10:58:16 pm »
cool thanks!
yeah, rotation is where i always got stuck with this stuff

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 #29 on: August 11, 2010, 11:05:08 pm »
I just have my sis design my sprites. Heck, I can't even draw worth a darn unless I'm going by another picture, then it ends up looking like it was drawn by an 8-year-old.

She hates spriting, though, so she draws it on a coordinate grid on paper and I convert it for her.