-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.vfx
More file actions
39 lines (32 loc) · 905 Bytes
/
Copy pathmain.vfx
File metadata and controls
39 lines (32 loc) · 905 Bytes
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
\ ------------------------------------------------------------------------------
\ KVN
\ ------------------------------------------------------------------------------
\ Constants
320 constant gamew
240 constant gameh
8 constant gap
5000 constant #actors
30 constant #rooms
\ Load engine
include %vfxland5%/supershow/supershow.vfx
include %vfxland5%/spunk/spunk.vfx
\ Global assets
." Loading assets..." cr
s" require assets.vfx" ['] evaluate time? cr
\ load game-specific modules (dependencies)
\ require %idir%/savegame.vfx
require %idir%/common.vfx
require %idir%/platform.vfx
require %idir%/platformer.vfx
\ Modes
require %idir%/game.vfx
require %idir%/gameover.vfx
require %idir%/options.vfx
require %idir%/finish.vfx
\ Load scripts
s" %idir%/scripts" ['] required each-file
\ Load tools and run tests
debug @ [if]
\ include %vfxland5%\spunk\tools.vfx
include %idir%/testing.vfx
[then]