Jump to content

Photo

TI Basic game demo: Viper squadron


16 replies to this topic

#1 tibasic ONLINE  

tibasic

    Space Invader

  • 30 posts

Posted Thu May 4, 2017 1:53 PM

I have started another basic game. It is based loosely on Defender but here you pilot a Colonial Viper trying to save humans from the Cylons.

 

The humans are trying to escape using underground turbo trains. There is a map at the top of the screen consisting of a number of boxes that indicates the different sectors of interest along the track. The sectors with trains are represented by a filled in box while an empty box indicates a sector with no train. A Cylon head on the map indicates a group of Cylons are chasing and monitoring the train. Your location is represented on the map by a flashing cursor. The map and ship controls (ESDX) are working but not much else at the moment.

 

Eventually the game will allow you to shoot the Cylons and collect the people in the train. After you have collected the people they will need to be delivered to safety to score points. If you encounter any Cylons and they shoot you down then the people and any potential points would be lost. If you do not save the people on the trains then the Cylons will eventually get them and then move onto another sector with a train.

 

 

Attached Files



#2 Retrospect OFFLINE  

Retrospect

    Dragonstomper

  • 866 posts
  • Location:Wakefield, England

Posted Thu May 4, 2017 2:12 PM

This is great!   :thumbsup:



#3 sometimes99er OFFLINE  

sometimes99er

    River Patroller

  • 3,869 posts
  • Location:Denmark

Posted Fri May 5, 2017 12:51 AM

He he, that's almost crazy.  :thumbsup:



#4 TheBF ONLINE  

TheBF

    Moonsweeper

  • 281 posts
  • Location:The Great White North

Posted Sat May 6, 2017 9:07 AM

Wow. That was a lot of work.  Great job.



#5 TheBF ONLINE  

TheBF

    Moonsweeper

  • 281 posts
  • Location:The Great White North

Posted Sat May 6, 2017 9:10 AM

Mine just crashed on Classic99 with

* BAD VALUE in 1360

 

1360 CALL GCHAR( 1,XP,GC)

 

PRINT XP  .4

PRINT GC 32

 

Looks likes you need INT(XP)+1 or some such in the line


  • RXB likes this

#6 tibasic ONLINE  

tibasic

    Space Invader

  • Topic Starter
  • 30 posts

Posted Sat May 6, 2017 1:54 PM

 

This is great!   :thumbsup:

Thanks Retrospect.

 

 

He he, that's almost crazy.  :thumbsup:

Great! :)

 

 

Wow. That was a lot of work.  Great job.

Thanks. I'm actually using a lot of ideas from my previous games and even copy pasting routines from them so it may not be as much work as it seems.



#7 tibasic ONLINE  

tibasic

    Space Invader

  • Topic Starter
  • 30 posts

Posted Sat May 6, 2017 2:05 PM

Some progress. The Cylons are all shooting now. They change colour before they shoot so you have time to escape (although they can't destroy the Viper yet). You can't see the missile fired by the Cylon because it is going so fast ... you can just see it when it explodes nearby.

 

Also when you get to the end of the map which is at the top of the screen the Viper automatically turns around. That is to avoid the program crashing when the Viper goes off the map.

Attached Files



#8 sometimes99er OFFLINE  

sometimes99er

    River Patroller

  • 3,869 posts
  • Location:Denmark

Posted Sat May 6, 2017 11:08 PM

Looking good. And the title screen too.  :thumbsup:



#9 tibasic ONLINE  

tibasic

    Space Invader

  • Topic Starter
  • 30 posts

Posted Tue May 9, 2017 5:11 AM

Add the lines below to version 0605 of Viper Squadron (two posts up) to enable the Viper to fire super fast laser bolts! :)

 

1475 IF K=32 THEN 1476 ELSE 1480
1476 CALL HCHAR(Y*2+5,10+X*9,74,3)
1477 CALL HCHAR(Y*2+5,10+X*9,32,3)
1478 CALL HCHAR(Y*2+5,1+X*28,74,3)
1479 CALL HCHAR(Y*2+5,1+X*28,32,3)

 

 



#10 unhuman OFFLINE  

unhuman

    Stargunner

  • 1,137 posts
  • Location:Vienna, VA

Posted Tue May 9, 2017 7:21 PM

The technique to move the viper is really crafty.



#11 tibasic ONLINE  

tibasic

    Space Invader

  • Topic Starter
  • 30 posts

Posted Wed May 10, 2017 4:48 AM

Actually the game 3D Road Race in Computer and Video Games magazine was where I got the idea from. I could never play it though because it was too fast but the idea was great.



#12 tibasic ONLINE  

tibasic

    Space Invader

  • Topic Starter
  • 30 posts

Posted Wed May 17, 2017 1:13 PM

Here is the latest version. The Viper can destroy a Cylon now. It has to destroy about 4 or 5 of them before it can rescue people from the train. The people rescued are represented by a score at the top of the screen. The Cylons can also shoot back. There are five Vipers to play with.

 

There are a few more pieces of the game to add but it should be quite straight forward to do. It runs a little slower than I would like now but runs quite nicely in RXB.

 

 

Attached Files



#13 PeBo OFFLINE  

PeBo

    Dragonstomper

  • 814 posts
  • Location:Toronto, Canada

Posted Thu May 18, 2017 10:42 PM

Well how could anyone with my avatar not love this!!!

 

 

By your command



#14 Vorticon OFFLINE  

Vorticon

    River Patroller

  • 2,691 posts
  • Location:Eagan, MN, USA

Posted Fri May 19, 2017 5:24 AM

Well how could anyone with my avatar not love this!!!

 

 

By your command

 

I have my Omnibot robot programmed to roll down to my bedside in the morning and wake me up with "By you command, please wake up!". Drives my wife nuts  :grin:



#15 tibasic ONLINE  

tibasic

    Space Invader

  • Topic Starter
  • 30 posts

Posted Mon May 29, 2017 4:22 AM

Here is the latest version. I think the next version will be the finished version.

 

There is now a time limit to engage and destroy the Cylons before they destroy the human's underground turbo train. You can also collect people from the trains that are not being chased by the Cylons. To do this press fire when in a sector with a train. In the next version I will add a small time penalty for collecting the passengers. At the moment there is a time limit of 50 game loops (frames?) to save the passengers being chased by the Cylons.

 

Once the underground track is empty of trains then the Viper progresses onto another level. The difficulty remains the same as in the first level at the moment but I will increase the difficulty in the next version of the game. The difficulty will be increased by decreasing the time it takes for a Cylon to shoot a missile at your Viper and increasing the time penalty for collecting passengers in sectors not occupied by Cylons.

 

 

 

 

Attached Files



#16 tibasic ONLINE  

tibasic

    Space Invader

  • Topic Starter
  • 30 posts

Posted Sun Jul 9, 2017 9:14 AM

Pretty much finished now although I will probably revisit it later to see how it plays and make any necessary improvements then.

 

Main updates from previous version are:

 

1. Revised title music and screen.

 

2. Points can be scored by shooting the Cylons as well as saving passengers.

 

I decided not to increase the difficulty with each level as it seems difficult enough as it is.

 

Attached Files



#17 Ksarul OFFLINE  

Ksarul

    River Patroller

  • 4,086 posts

Posted Sun Jul 9, 2017 11:21 AM

Nice update!  Thanks for an interesting program.  :)






0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users