Author Topic: Star Blaster  (Read 12511 times)

0 Members and 1 Guest are viewing this topic.

spengo

  • Guest
Star Blaster
« on: January 17, 2006, 06:54:00 pm »
QuoteBegin-"Tyler"+-->
QUOTE ("Tyler")

Star Blaster is my latest project for the 68k Calculators coded in C. I got inspiration for coding this game because there used to be a great game out on the internet called Wormholes. Well Centerfleet.com has seemed to have shutdown for some reason so now I am coding Star Blaster Now.

Game Story:
A group of Human Martian Rebels have decided to isolate Earth from Mars so Mars can have it's own Government System. These rebels are going to extreme limits of killing many innocent people to take over Mars. A group of Elite Star Fighters have been sent out to defend and protect the Space Carriers carrying in Military Troops from many countries to restore control of Mars. May your senses guide you well in your Journey, young Wieger....

Features:
-Linkplay (supports linkplay because 89/89TI and 92+/v200)
-Grayscale Support
-Upto 8 AI
-Campaign
-Skirmish Game
-Map Editor
-3 to 5 Space Ships to choose from
-About 6 weapon upgrades
-About 4 armor upgrades
-A nice Main Menu

Game Progress:
Sprites Status: 0 Sprites (0%)
Coding Status: 0 Lines (0%)
Project Status: 3% (0.5 Hours)

Todo:
-Some more Sprites

Done:
-Most of Sprites

Current Challenges:
-Drawing Sprites (stickmen are bad enough)


Will be a top down space shooter with 20 directions and cool stuff like that. I decided to take the small job of creating greyscale sprites for it 'cause I like drawing spaceships. Anyways, most of them are done and can be viewed here: http://www.calcforge.org/forum/index.php/topic,27.0.html

Offline Ranman

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1354
  • Rating: +83/-0
    • View Profile
Star Blaster
« Reply #1 on: January 17, 2006, 07:33:00 pm »
Awesome looking sprites... You just missed a Pixel Art contest featuring spaceships.

The game sounds good so far. Are you planning on rotating the sprites to support the 20 directions? If so, are you going to rotate them at runtime? Or, are you going to draw all rotated sprites beforehand?

Keep us up to date as details emerge! ;)wink.gif
Ranman
Bringing Randy Glover's Jumpman to the TI-89 calculator. Download available at Ticalc.

spengo

  • Guest
Star Blaster
« Reply #2 on: January 17, 2006, 07:40:00 pm »
He says he has something that can rotate the sprites automatically so I don't have to draw a bajillion rotations of each sprite. I don't know how it works exactly, I'm not the one doing the coding.

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
Star Blaster
« Reply #3 on: January 18, 2006, 02:52:00 am »
wow cool stuff sdpengo, you seem pretty great at pixel art, i hope this project gets finished :)smile.gif

Tyler

  • Guest
Star Blaster
« Reply #4 on: January 18, 2006, 03:20:00 am »
Yes, I am going to allocate a ton of space for the ships than I am going to use joeyadam's rotation functions from ExtGraph 2.00 Beta 5 to rotate them. This means with all these ships I will need a loading bar. Oh well, it should not load at startup any longer than 4 seconds at the beginning  B)cool.gif

Now the trick is to try to speed up the rotation process   :dang:banghead.gif

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
Star Blaster
« Reply #5 on: January 18, 2006, 03:31:00 am »
cool, now if only I didnt quitted calc programming and had a 68k handy :Dbiggrin.gif

Offline Ranman

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1354
  • Rating: +83/-0
    • View Profile
Star Blaster
« Reply #6 on: January 18, 2006, 03:42:00 am »
QuoteBegin-Tyler+18 January 2006, 9:2-->
QUOTE (Tyler @ 18 January 2006, 9:20)
Yes, I am going to allocate a ton of space for the ships than I am going to use joeyadam's rotation functions from ExtGraph 2.00 Beta 5 to rotate them. This means with all these ships I will need a loading bar. Oh well, it should not load at startup any longer than 4 seconds at the beginning  B)cool.gif

Now the trick is to try to speed up the rotation process   :dang:banghead.gif

 Are you going to rotate dynamically, or just once at startup?
Ranman
Bringing Randy Glover's Jumpman to the TI-89 calculator. Download available at Ticalc.

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
Star Blaster
« Reply #7 on: January 18, 2006, 05:08:00 am »
QuoteBegin-xlibman+18 January 2006, 9:31-->
QUOTE (xlibman @ 18 January 2006, 9:31)
cool, now if only I didnt quitted calc programming and had a 68k handy :Dbiggrin.gif

 You don't have to program in order to play a game! (though it may be usefull to have a 68k for playing the game  :dang:banghead.gif .

Offline Spellshaper

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1690
  • Rating: +0/-0
  • This is me. Or maybe not.
    • View Profile
Star Blaster
« Reply #8 on: January 18, 2006, 05:13:00 am »
QuoteBegin-kalan_vod+18 January 2006, 17:08-->
QUOTE (kalan_vod @ 18 January 2006, 17:08)
QuoteBegin-xlibman+18 January 2006, 9:31-->
QUOTE (xlibman @ 18 January 2006, 9:31)
cool, now if only I didnt quitted calc programming and had a 68k handy :Dbiggrin.gif

You don't have to program in order to play a game! (though it may be usefull to have a 68k for playing the game  :dang:banghead.gif .

well, there are still those emulat0rz... ;)wink.gif

Tyler

  • Guest
Star Blaster
« Reply #9 on: January 18, 2006, 12:25:00 pm »
QUOTE
Are you going to rotate dynamically, or just once at startup?


At startup of course  B)cool.gif

Tyler

  • Guest
Star Blaster
« Reply #10 on: January 19, 2006, 06:19:00 pm »
I uploaded a screenshot of vti loading up Star Blaster, the Game Intializer is just about complete.

QUOTE

This Evening I made the loading screen and sprite rotater. I have allocated ~70KB of ram so far for the Double Grayscale Buffering and Rotated Sprites. It takes about 12 seconds to load the game at startup (I needed a loading bar) and the game itself is ~14KB on calc, but I cannot see it inflating in size for a while becaus e I think the Sprites take about 10KB of that. Well, thats all I have for you right now Tongue

Offline Ranman

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1354
  • Rating: +83/-0
    • View Profile
Star Blaster
« Reply #11 on: January 19, 2006, 06:34:00 pm »
QuoteBegin-Tyler+18 January 2006, 18:25-->
QUOTE (Tyler @ 18 January 2006, 18:25)
QUOTE
Are you going to rotate dynamically, or just once at startup?


At startup of course  B)cool.gif

If you have a finite amount of directions to rotate -- I believe you stated 20 -- then you could create a lookup table to assist with fast dynamic rotating.

It might be worth a try... you could save 70Kb of RAM. ;)wink.gif
Ranman
Bringing Randy Glover's Jumpman to the TI-89 calculator. Download available at Ticalc.

Tyler

  • Guest
Star Blaster
« Reply #12 on: January 19, 2006, 06:36:00 pm »
That is a good idea except that it would slow the game down too much rotating them in game, and I dont want a data file with 20 rotations of each sprite. So it is best just to do it this way :-)

Offline Ranman

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1354
  • Rating: +83/-0
    • View Profile
Star Blaster
« Reply #13 on: January 19, 2006, 06:48:00 pm »
QuoteBegin-Tyler+20 January 2006, 0:36-->
QUOTE (Tyler @ 20 January 2006, 0:36)
That is a good idea except that it would slow the game down too much rotating them in game

Not necessarily... Look up tables can be quite fast. With a lookup table, there is no trigonometry or floating points to mess with.

QuoteBegin
-->
QUOTE
and I dont want a data file with 20 rotations of each sprite. So it is best just to do it this way :-)

You would not need 20 rotations of each sprite... only 1 original sprite. But, you will need 10 lookup tables to rotate each sprite in the positive direction, then a mirror function to get the negative direction. There are other fancier methods too.

Ranman
Bringing Randy Glover's Jumpman to the TI-89 calculator. Download available at Ticalc.

Tyler

  • Guest
Star Blaster
« Reply #14 on: January 19, 2006, 06:52:00 pm »
Would you be able to PM me a code example? Maybe I could do this before I continue on.