-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTODO
155 lines (135 loc) · 6.54 KB
/
TODO
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
Must have:
Initial:
✔ A name @done(21-09-02 22:47)
✔ Build pipeline @done(21-08-16 22:19)
✔ Enter VR Button @done(21-08-27 22:16)
✔ Movement in VR @done(21-08-28 20:34)
✔ teleporting. @done(21-08-28 20:34)
Push cubes to target:
✔ check if target is reached @done(21-08-29 21:31)
✔ move boxes @done(21-08-29 13:05)
✔ advance to next level @done(21-08-30 23:14)
✔ Level generator @done(21-08-27 21:20)
✔ rotate with controller @done(21-09-04 23:59)
✔ Remove old teleportion check code. @done(21-09-05 15:39)
✔ Be very easy to restart levels @done(21-09-09 17:41)
✔ Button on desktop, like VR button @done(21-09-09 17:41)
✔ In VR we can show a screen with 2 buttons, "Restart? Yes/No" @done(21-09-07 23:31)
✔ 5 levels @done(21-09-06 22:38)
✔ UI in VR component @done(21-09-06 22:38)
✔ Menu @done(21-09-07 23:31)
~ https://forum.playcanvas.com/t/solved-generating-new-material-in-script/8134
✔ Title Screen @done(21-09-04 19:58)
✔ Gulp pipeline to better compress @done(21-09-04 19:58)
✔ After last level, show start menu (game state 'Start') @done(21-09-10 18:00)
Should have:
✔ @test Handle multiple boxes, prevent boxes from overlapping @done(21-09-02 19:14)
Do we really need to support the 'touch' things?
✔ Must have 10 levels. @done(21-09-10 00:05)
camera must face the center when starting a level:
✔ VR @done(21-09-10 17:43)
☐ Desktop
✔ More variation in textures @done(21-09-08 16:56)
Could have:
☐ Better look start screen
✔ Hide the gaze cursor when showing title screen on desktop @done(21-09-10 17:50)
2 Bonus level for Coil users:
✔ Add web monitization meta tag @done(21-09-08 22:14)
☐ 2 (hard) bonus levels
☐ checks on web monitization
☐ Extra button for Coil users
☐ Spatial Audio
☐ Music
On desktop:
✘ when pointerlocked, hide VR button. @cancelled(21-09-09 17:42)
✔ When not pointerlocked, 'pause' game, disable teleport @done(21-09-09 17:42)
✔ When not pointerlocked, show VR button and Reset button @done(21-09-09 17:43)
☐ 'Good boy' moment when level is done
☐ turn particles on target off when box is on top.
☐ better highlight when targetting a boxx
✔ animating textures, like last year. @done(21-09-08 16:56)
✔ Have the game run on the desktop @done(21-09-08 16:56)
☐ Must have 20 levels.
Would like:
☐ Must have 50 levels.
☐ Some lighting effect in the shader, maybe just add something shading based on the hight or something.
☐ powerups
☐ teleporting
☐ gravity fields
☐ lighting
☐ add suger and spice:
☐ when you hit a cube
☐ when you hover over cube
☐ when you hit the target
✔ on the target @done(21-09-10 17:43)
☐ Step/teleport onto the walls (maybe by rotating the whole world)
☐ store progress when leaving game
☐ bigger FOV on desktop
☐ Movement by walking
Bugs:
@critical:
✔ After last level, the title does not correctly show in VR @done(21-09-11 23:43)
☐ Error when resetting to quickly on desktop : "The user has exited the lock before this request was completed"
✔ Make sure title is in front of the camera when pausing @done(21-09-09 19:51)
✔ reset camera after leaving XR @done(21-09-02 22:38)
✔ Reposition camera when going to the next level @done(21-09-02 19:14)
✔ Make the boxes color individualy @done(21-09-02 22:47)
✔ Teleporting does not work all the time... @done(21-09-05 13:03)
✔ On desktop you have to first get focus befor you can start the game. This needs to be only one click, or with a differnt button @done(21-09-09 17:42)
@high:
☐ Dont make sound if box cant move
☐ prevent teleportation when moving a box.
✔ Make sure title is in front of the camera when pausing on Desktop @done(21-09-11 23:39)
✔ prevent player from teleporting into walls or over them @done(21-09-02 19:14)
~ the issue seems to change when after teleporting one time. The first time it works fine, then is it wrong.
✔ prevent player from teleporting into the small space behind the box @done(21-08-29 13:38)
✔ prevent player from moving box by pointing though walls or over them @done(21-09-08 18:36)
~ maybe add an invisible wall above other blocks to prevent this
~ when 2 boxes are next to each other, you can't move them
@low:
✔ teleporting next to box should be possible more often @done(21-09-09 17:42)
✔ prevent player from walking through walls in VR (maybe add shapes to every block, to block ray) @done(21-09-08 22:10)
☐ Make game work with levels with odd Width and Height
Story:
~ You are a janitor on space ship. After flying through a meteor shower, the ship is a mess.
~ Boxes are all over the place and vents are leaking.
~ You need to clean up the mess of boxes and place them onto the leaking vents in the floor.
~ The gravitiy system of the ship broken and is only working on your boots.
~ This means the boxes can only slide forward and only stop when hitting a wall or another box.
~ Controls:
- Teleport or push box:
Left mouse button (desktop)
Controller Trigger (VR)
- Menu:
Escape (desktop)
Controller X or A (VR)
~ Notes:
- You can only teleport to places that are accessable, boxes can block the way.
- You need to be close to a box to push it.
Levels:
S = Start
B - Box
T - Target
1 - wall type 1, etc
0 - empty space
~ Level 1:
[1,1,1,1,1,1,1],
[1,S,0,0,0,0,1],
[1,0,1,0,0,0,1],
[1,0,B,0,0,T,1],
[1,0,1,0,0,0,1],
[1,0,0,0,0,0,1],
[1,1,1,1,1,1,1],
~ Level 2:
ideas:
- Add transparent textures close to the walls to give it a more 3D look.
Notes:
- best compression for zip, on linux => advzip -a -4 -i=5000 dist.zip index.html
- base64 for image => https://base64.guru/converter/encode/image/webp
- add "data:image/webp;base64," in front of the string
example project:https://developer.playcanvas.com/en/tutorials/webxr-vr-lab/
Game states etc:
In browser:
Visible buttons: Enter VR, Play
In VR:
Visible buttons in VR: Play