Jump to content
IGNORED

New TI basic game X-lander


tibasic

Recommended Posts

Hello,

 

I am on a mission at the moment to release a handful of ti basic games I have developed over the years. Here is my latest game. It is a ti basic version of lunar lander. The idea is to first guide your lander to a location above the landing pad by adjusting horizontal and vertical speed. Then once in position the view zooms in and you have to gently land the spacecraft by adjusting the thrust of the engine. If your descent speed is low during the final phase then the ground will rise up to meet the lander's feet a pixel at a time!

 

It is important once the lander is over the pad (during the initial descent) that the lander has zero sideways speed (it will turn from red to white when this occurs) and has a low vertical speed (the landing pad will turn while when this occurs).

 

Some realistic physics are used. A variety of planets are presented for landing on. Points are scored by landing the spacecraft and bonus points are awarded depending on the amount of fuel that is left.

 

The game should be in a playable form now but I have some plans to refine it slightly.

XLANDER.zip

post-34194-0-77428200-1462884094_thumb.png

post-34194-0-97976600-1462884102_thumb.png

post-34194-0-69741100-1462884108_thumb.png

post-34194-0-04501100-1462884116_thumb.png

  • Like 8
Link to comment
Share on other sites

I think it's kind of neat to see what people can do with the limitations of TI-BASIC. The fact that anyone manages to get anything useful out of it has always amazed me. Back in the day TI-BASIC frustrated me so much, I was forced to cancel a date with a girlfriend so I had the money to buy Extended BASIC cartridge. :-D

 

Ever since my early arcade days Lunar Lander has always been a favorite.

 

On the TRS-80 it was quite chunky, but hey, it worked!

med_gallery_35324_1027_57478.jpg

 

Even today I keep a version on my PC...

med_gallery_35324_1027_14772.jpg

 

Now on my favorite computer of all-time the TI-99/4A (of course) I like the version by Vorticon...

gallery_35324_1027_4727.jpg

 

Anyone know of any others?

  • Like 1
Link to comment
Share on other sites

Below is some code that appears to create a nice impression of acceleration.

 

The lander free falls for a few seconds before switching on its engine and shooting upwards.

 

I'll incorporate the code into X-lander and see how it goes.

 

100 REM LANDER DEMO
110 REM TIBASIC 210516
120 REM
130 CALL CLEAR
140 GRAV=0.1
150 A$="7E7E3C7E7E5A42E7"
160 Z$="0000000000000000"
170 FOR I=1 TO 8
180 B$(I)=SEG$(A$,I*2-1,(18-I*2))
190 C$(I)=SEG$(Z$,1,(9-I)*2)
200 IF I>1 THEN 210 ELSE 220
210 C$(I)=C$(I)&SEG$(A$,1,I*2-2)
220 NEXT I
230 YPOS=9
240 Y_CHAR=INT(YPOS/8-1)+1
250 CALL CHAR(42,B$(1))
260 CALL CHAR(43,C$(1))
270 V=V+GRAV+THRUST
280 YPOS=YPOS+V
290 IF YPOS<9 THEN 430
300 IF YPOS>150 THEN 310 ELSE 320
310 THRUST=-10*GRAV
320 OLDYC=Y_CHAR
330 Y_CHAR=INT(YPOS/8-1)+1
340 FINE=8-(YPOS-Y_CHAR*8 )
350 IF OLDYC<>Y_CHAR THEN 360 ELSE 370
360 CALL VCHAR(OLDYC,16,32,3)
370 CALL CHAR(42,B$(FINE))
380 CALL CHAR(43,C$(FINE))
390 CALL HCHAR(Y_CHAR+1,16,42)
400 IF Y_CHAR>1 THEN 410 ELSE 420
410 CALL HCHAR(Y_CHAR,16,43)
420 GOTO 270
430 END

  • Like 2
Link to comment
Share on other sites

  • 3 weeks later...

Thanks 1980gamer.

 

I learned to program on the TI in the UK. It was lots of fun. I eventually switched to the BBC micro which we learned to program on at school.

 

This lander game is progressing ok. There are a couple of gameplay dilemmas I am pondering over at the moment.

 

Latest version of the game attached. The smooth vertical animation of the lander is working nicely at low descent/ascent speeds which I'm pleased with.

XL2805.zip

  • Like 1
Link to comment
Share on other sites

I have reformed the game a little bit..

 

I have removed the second zoom in screen. A feature of this screen was the smooth animated graphics when at low speed. Now the lander on the main screen does that quite nicely I found the zoom in screen a bit distracting.

 

A velocity scale is now included along, with the fuel gauge, which helps to judge the descent speed. New instructions added to the program.

XL1606.zip

post-34194-0-02174300-1466077532_thumb.png

post-34194-0-51751900-1466077560_thumb.png

  • Like 2
Link to comment
Share on other sites

Here's the latest version.

 

Fixed a few small things like ...

1. Speed indicator now shows a '>' sign when descending at greater than 20 m/s

2. Feet now touch the pad when landed (before it sometimes hovered one pixel above the pad)

3. There is a beep when you land!

4. Fixed the collision detection for crashing on a mountain. I had somehow removed that in previous versions.

5. Some other small things.

 

One or two more iterations and I think it'll be good to play.

XL2006.zip

Edited by tibasic
  • Like 3
Link to comment
Share on other sites

  • 1 month later...

Think it's nearly finished.

 

Updates: I have allowed for 3 ships per game so you can repeat a landing if you fail to land at some point. The gravity increases, i.e. you move onto another planet, and the flight time decreases when you progress to the next level.

 

I might add a few embellishments and then move on to the next project.

 

XL3107.zip

  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...