-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
41 lines (28 loc) · 1.53 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Jordan Vogel
The improvements put into the lander are these:
- Added an intro screen, it was a huge pain in the ass I hope you enjoy it
- improved lander model, looks a bit more spacey!
- smooth edge wrapping. If the ship exists the sides of the sketchpad, it will be
teleported to the other side without losing momentum
- fuel guage: with the "-i" flag in the call of the program, a gauge
is added that starts at 1400 and decreases by 7 with every thrust key entry
a red fuel guage is displayed at the top left shows how much fuel is left
when the gauge is empty, you can no longer thrust
How to run:
- "make" will build the lander
- "make clean" will remove the built files of the lander
Format to run:
./lander -t (INT) -g (INT) -f landscape.txt
t is the thrust speed of the lander
g is the gravity strength
f is the text file that draws the map, if you want you can experiment with different maps
its just sketchpad coordinates, and it draws lines between the points
OPTIONAL:
you can run it with -i to have a fuel gauge and an opening screen, also enables edge wrapping
NOTE:
when you run it you need to reselect the terminal for the inputs, if the sketchpad is selected
it will make you sad
CONTROLS:
Spacebar is to thrust
Left arrow and right arrrow change the angle of the lander
q is to quit and can be pressed at any time.