A downloadable game

ASTRO 10

========

Category: PUR-80 (10 lines, max 80 characters per line)

Platform: MSX (MSX1/MSX2)

Language: MSX-BASIC

Author:   Tiago Tresoldi


DESCRIPTION

-----------

ASTRO 10 is a vertical auto-bouncing platformer for MSX. You control a tiny astronaut who bounces off platforms, climbing ever higher through space. The astronaut bounces automatically — your job is to steer left and right to land on the next platform. Miss a platform and fall off the bottom of the screen, and it's game over!

CONTROLS

--------

  O — Move left

  P — Move right

  SPACE — Start game


SCORING

-------

  +1 point per platform bounce

  +5 points per level cleared (reach the top of the screen)


FEATURES

--------

  - 8x8 astronaut sprite (magnified 2x to 16x16 pixels)

  - Horizontal screen wrap

  - Automatic level regeneration with random platforms

  - Increasing challenge as you climb


ASTRO 10 — Program Listing Proof

Category: PUR-80 (max 80 characters per line, 10 lines)

Platform: MSX1 (MSX-BASIC)

Line  Chars  Code
----  -----  ----
0      64    0 DATA60,126,66,126,126,126,102,102:COLOR15,1,1:KEYOFF:W%=4:G%=4
1      71    1 DEFINTA-Z:SCREEN1,1:LOCATE10,10:?"ASTRO 10":LOCATE8,14:?"PRESS SPACE"
2      73    2 LOCATE12,12:?"HI";H\5:VPOKE8,255:VPOKE8192,113:A$=INKEY$:IFA$<>" "GOTO2
3      77    3 CLS:X=120:Y=161:S=0:V=0:B=6144:E=1:C=14:FORJ=0TO7:READA:VPOKE14336+J,A:NEXT
4      79    4 FORI=1TO5:R=26-G*I:A=B+R*32+C:FORJ=0TOW:VPOKEA+J,E:NEXTJ:C=C+RND(1)*17-8:NEXT
5      78    5 PUTSPRITE0,(X,Y),15:LOCATE0,0:?S\5:K$=INKEY$:X=X+6*(K$="o")-6*(K$="p")AND255
6      75    6 V=V+1:V=V+(8-V)*-(V>8):Y=Y+V:R=(Y+15)\8:C=(X+4)\8:A=B+R*32+C:IFS>HTHENH=S
7      74    7 IFV>0AND(VPEEK(A)=EORVPEEK(A+1)=E)THENV=S\50-13:VPOKEA,0:VPOKEA+1,0:BEEP
8      75    8 IFY>191THENVPOKE6915,8:LOCATE8,11:?"GAME OVER":A$=INPUT$(1):RESTORE:GOTO0
9      75    9 IFY<8THENY=161:CLS:S=S+5:C=X\8:W=2-2*(S<75):G=4+S\100:BEEP:GOTO4ELSEGOTO5

Total lines: 10

Maximum characters in a line: 79 (line 4)

All lines within the 80-character limit.




Download

Download
astro10.dsk 720 kB
Download
astro10.txt 1.2 kB
Download
astro10_listing.txt 1.1 kB

Install instructions

HOW TO RUN

----------

Emulator: openMSX (recommended)

Machine:  Any MSX1 or MSX2

  1. Open openMSX

  2. Insert astro10.dsk as Disk A

  3. Reset / power on — the game auto-runs via AUTOEXEC.BAS

Alternative (manual load):

  1. Boot MSX with disk inserted

  2. Type: RUN "ASTRO10.BAS"

Command line (Linux):

  openmsx -machine C-BIOS_MSX2 -diska astro10.dsk

Comments

Log in with itch.io to leave a comment.

very good