Clarify tutorial
This commit is contained in:
@@ -375,9 +375,11 @@ Lastly, one common issue people have with play-clj in a REPL is that it if you m
|
||||
(try (screen-fn)
|
||||
(catch Exception e
|
||||
(.printStackTrace e)
|
||||
(set-screen! my-game blank-screen)))))
|
||||
(set-screen! hello-world blank-screen)))))
|
||||
```
|
||||
|
||||
Note that this will only catch runtime errors, not compile errors such as misspelled symbols (which don't affect your game when they occur). After fixing the issue, you can switch back to `main-screen` from your REPL with `(on-gl (set-screen! hello-world main-screen))`.
|
||||
|
||||
## Building for Android
|
||||
|
||||
1. Make sure you have JDK 7 installed (for Windows/OSX, you can get it from [Oracle](http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html), and for Linux you can get it from [apt-get](http://openjdk.java.net/install/)).
|
||||
|
||||
Reference in New Issue
Block a user