-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.txt
55 lines (34 loc) · 1.58 KB
/
README.txt
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
SAUCER SHOOT, Naiad Version
v1.4
This is a rendition of the Saucer Shoot tutorial for Dragonfly, but
made to work with the Naiad version of Dragonfly.
Tutorial for full version of game available online:
http://dragonfly.wpi.edu/tutorial/index.html
And in book:
Mark Claypool. Dragonfly - Program a Game Engine from Scratch,
Interactive Media and Game Development, Worcester Polytechnic
Institute, 2014. Online at: http://dragonfly.wpi.edu/book/
IMPORTANT! The code can be configured to use an C++ STL version of the
Dragonfly engine. To do so, open Saucer.cpp and uncomment the
"USE_STL line at the top.
To compile:
1) Create a library of your Dragonfly Naiad engine. With a Makefile
(Linux or Mac), this can be done by adding the following recipe:
LIBRARY= libdragonfly.a
$(LIBRARY): $(OBJECTS) Makefile
ar rcs $(LIBRARY) $(OBJECTS)
Note, OBJECTS are all the .o files that make up your engine.
2) Modify INCPATH and ENG in the enclosed Saucer Shoot Naiad Makefile
(Linux or Mac) or adjust your project file accordingly (Windows) to
point to your engine.
3) Type "make" (Linux or Mac) or hit F7 (Windows). This should build
the game.
4) In terminal window (Linux or Mac), type "./game" to run or hit F5
(Windows). This should run the game.
5) Controls: Arrows move, Mouse moves reticle, Click fires, Space nukes, 'q' quits
For a description of the capabilities of this engine, see:
http://web.cs.wpi.edu/~claypool/papers/dragonfly-projects/proj2/#2b
For a full version of Saucer Shoot game, see:
http://dragonfly.wpi.edu/games/saucer-shoot/saucer-shoot.zip
Happy shooting!
-- Mark