Deliver GALAGA tutorial and akbasic enemy scripting example #39

Closed
logikoma wants to merge 7 commits from 34 into feature/reduce_memory_usage
Showing only changes of commit 47c6be58c5 - Show all commits

View File

@@ -685,9 +685,9 @@ seconds asks for fifty frames a second.
### Why `GOTO` rather than `DO ... LOOP`
A `DO ... LOOP` around the frame would read better, and it is not usable here: **a `GOTO`
that jumps out of a `FOR` or a `DO` does not release the loop's scope.** There are 32
that jumps out of a `FOR` or a `DO` does not release the loop's scope.** There are 12
scopes, so a game that leaves its main loop once per lost life stops on the
thirty-second one:
twelfth one:
```basic
N# = 0
@@ -700,7 +700,7 @@ PRINT "SURVIVED " + N#
```
```output
? 3 : PARSE ERROR Environment pool exhausted at line 3 (32 in use)
? 3 : PARSE ERROR Environment pool exhausted at line 3 (12 in use)
```