Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
AroriaNetwork
GitHub Repository: AroriaNetwork/3kho-backup
Path: blob/main/projects/n-gon/todo.txt
1834 views
1
******************************************************** NEXT PATCH **************************************************
2
3
4
5
******************************************************** TODO ********************************************************
6
7
set damage reduction equal to how much mana you have below 95
8
override all other harm reduction effects?
9
10
make shields not able to get radioactive
11
12
wormhole tech - pause while placing the wormhole
13
tech requires cache - ammo automatically regenerates every second, ammo is capped even lower
14
15
new level climb
16
3 vertical climb sections
17
use vanish elements
18
19
ruins: mobs can see you too easily at the start
20
21
vanish element:
22
grow as it returns?
23
option to shrink in vertical
24
25
pull bullets back to player with crouch/field
26
bullets type?: drones, spores, missiles,
27
works for all bullets, write custom code based on bullet type
28
bad for: laser, harpoon?, missile and grenade?
29
30
boss that gives nearby mobs invulnerability
31
boss is only mildly aggressive
32
repulsed by player upto a point
33
attracted to mobs
34
35
training
36
save training level progress as local variable
37
reset progress to zero if you clear all training levels
38
maybe only save progress if you made if past the trainingHeal level
39
make the training button more obvious if the account has only played 1-2 times
40
uses the lore voice/text code?
41
replace all mob clear triggers with button triggers?
42
tutorial rooms:
43
look around with your mouse?
44
easier deflecting level, with 1-2 attacking mobs
45
gun rooms: (different mobs type in each room)
46
different mobs in each room
47
how to introduce mob shields?
48
"hopper" "slasher" "shooter "grenadier" "striker" "laser" "stabber" "springer" "pulsar" "launcher" "launcherOne" "exploder" "sneaker" "sucker" "sniper" "spinner" "grower" "beamer" "focuser" "spawner" "ghoster"
49
spores - use 1 ammo to take out several mobs at once, you have to block with your shield until the mobs die
50
drones - use mouse to bring drones around a couple corners
51
foam - slow boss mob, and run away
52
laser - reflect off walls to hit mobs
53
field rooms:
54
standing wave - bullets come from every direction
55
perfect diamagnetism - drop field to rapid stream of bullets and fire gun at them
56
negative mass - fly over a bunch of ground based mobs , hoppers
57
molecular assembler - guide drones around the corner
58
plasma torch - nothing fancy, just kill mobs
59
time dilation - get past some mobs
60
cloaking - sneak past mobs to collect some heals
61
pilot wave - toss blocks at mobs
62
worm hole - teleport past lasers
63
puzzle/platforming rooms:
64
use the double constrained platforms
65
stealth room
66
probably should make 2+
67
combat rooms:
68
boss gauntlet, spawn with nothing but a few power ups and fight 10 bosses
69
use no gun, just bots to kil stuff
70
71
balance time dilation with bose einstein (you can freeze everything and take no damage)
72
code is still there, need to balance
73
balance with energy drain?
74
75
overflowing energy does harm?
76
or just reduces harm reduction?
77
78
make a line of constrained mobs move like a snake
79
apply forces with directions determined by time and position on the snake
80
81
tech: basic research - heal power ups spawn as research power ups instead, and using research heals you (needs to be pretty low, like 3% health)
82
tech: maintenance - heals no longer spawn, but using research heals you 100%
83
84
tech reversed regression - mobs take less damage after each time you hit them, but you get +100% damage
85
maybe a gun tech only?
86
what gun?
87
88
foam tech - make it move slower, last much longer, and push away other foam bullets
89
not sure about bouncing off walls, but that might be fun too
90
91
tech extend fracture analysis to give bonus damage to frozen also, but reduce the 400%->300%?
92
93
pulsar mobs retarget too easily
94
also they drift around too much
95
96
convert blocked mobs into bullets
97
only for the very small bullets that move fast after being blocked
98
delete bulletmob and spawn a nail-like bullet with the same properties as the bulletmob
99
100
electric motors: increases movement speed and jump height, but jumping and moving costs energy
101
overwrite the key event listeners?
102
JUNK tech?
103
104
mob that fires bullets in 4,5,6,7 different directions at once, no aiming
105
grow a bit before it fires to indicate state
106
107
bug once: switching from shotgun to harpoon somehow set b.activeGun to not defined
108
https://discord.com/channels/645222059647172618/646505973610971165/919116288008290324
109
110
quasarBoss: inverted pulsar boss that hits everything except where its aiming
111
112
intro map: diegeticly draw a mouse with field highlighted
113
also indicate space?
114
dynamically adjust drawing after picking up a gun
115
116
increase mass and movement speed at the same time
117
increase jump differently because it scales extra with mass
118
m.defaultMass = 4.5
119
m.definePlayerMass()
120
121
give history boss legs?
122
123
field tech - disable blocking, but does high damage to mobs inside field
124
and maybe slows mobs it damages
125
126
mob/boss that fires a laser at player, but give player time to avoid
127
laser isn't always on
128
they target where player was 1 second ago
129
they turn to face player?
130
131
tech: open a new tab for n-gon, spawn things in the original game based on events in new game
132
if you die in new die in original?
133
new is n-gon classic?
134
make a JUNK tech?
135
if you die in original open a tab with a new n-gon that starts on a random level with a random load out. if you clear the level you come back to life in the original?
136
137
bug - death while paused crashes game?
138
139
tech rocket jump - jumping produces an explosion at your feet that lets you jump extra high, but does some damage
140
require electric reactive armor?
141
142
animate going to next level?
143
door fills in with color that climbs up vertically through the door graphic the longer you stand on door
144
hold crouch on door? or automatically
145
146
Plasma Burner: upgrade for plasma torch, basically just a jet engine. does high damage, but short range, mostly for player movement.
147
maybe reduce gravity to really low then apply a vector away from mouse direction
148
149
auto-gon - auto battler with n-gon mob AI and tech
150
you build a group of mobs and bosses from n-gon
151
they fight other mobs and bosses
152
similar research and tech system to n-gon
153
some mobs can fire player weapons
154
155
harpoon grappling hook - basic effect is working, but needs work before it becomes fun
156
157
tech: relativistic jets:
158
small particles that shot out from front and back poles and end up in a wide variety of spirals
159
slow trickle when charging and several more when firing
160
161
Tech: Make player smol
162
163
adapt the cloaking graphics to make a flashlight cone visual effect
164
put code in level.do?
165
166
be nice if block throwing had a projected path
167
168
JUNK tech: planetesimals game inside n-gon
169
https://codepen.io/lilgreenland/pen/jrMvaB?editors=0010
170
171
Pilot wave tech
172
Energy use is increased, but you can now shape blocks using pressure
173
Grouping blocks will merge them into a massive ball
174
Size, density is determined by total mass
175
176
look into 360 matter wave lag
177
178
aoe effect pushes mobs away, then rapidly pulls them in
179
for mines?
180
181
mob: spawning seekers on death
182
183
drones can combine with other drones to get bigger?
184
drones that grab powers ups can grab more then one and get even bigger each time
185
186
it would be helpful if there was a mechanism to recover mobs that fly off the map
187
add a ceiling system and a left/right walls system similar to the floor checks but only for mobs
188
make non moving bosses not move after getting hit
189
shooter, shielding,
190
191
scrolling console history in pause menu?
192
pause should at least show the last in game console message
193
194
in testing mode console log the body you click on
195
196
tech: Standing Wave: Shockwave. Use FIELD button to shrink your shield and charge up, release to unleash a Shockwave.
197
198
tech: quantized shields - harmonic standing wave field can only lose 33 energy per hit
199
draw 1,2,3 levels of the field based on energy?
200
the blocked value only scales up to 2x or 4x (33 energy) blocked
201
doesn't stack with spherical tech
202
203
make a tech that improves all charge guns
204
for: pulse, foam, railgun
205
effect:
206
faster charge rate?
207
fire speed already does that...
208
harm reduction while charging
209
less ammo/energy used while charging?
210
211
tech plasma : plasma length increases then decreases as you hold down the field button (like stabbing with a spear)
212
grows to 1.5 longer after 0.3 seconds, then returns to normal length over 1 second, until field is pressed again
213
extra energy is drained when field is longer
214
215
energy conservation 6% damage recovered as energy
216
there is space for a negative effect in the text...
217
218
tech: use the ability for power ups to have custom code
219
(note: this code is half way done, it just needs to be completed)
220
attracted to player
221
attracted to other power ups
222
explode if they touch?
223
224
apply the new gun.do functions to other guns
225
railgun
226
crouching missile?
227
works similar to foam
228
performance issues?
229
230
look into improving mouse lag with pointer lock?
231
https://developer.mozilla.org/en-US/docs/Web/API/Pointer_Lock_API
232
https://www.vsynctester.com/game.html
233
https://news.ycombinator.com/item?id=26530272
234
235
mobile requirements:
236
detect mobile, flip to landscape
237
detect no keyboard, no mouse
238
auto aim?
239
limit items to ones that don't require aiming?
240
tap screen regions to move (WASD)
241
reduce font size
242
243
add back in gamepad support?
244
but does anyone care?
245
https://github.com/landgreen/landgreen.github.io/search?q=gamepadconnected
246
247
tech: time dilation - when you exit time dilation rewind to the state you entered
248
position, velocity, and health
249
no energy cost
250
251
be able to open up custom mode in the normal game
252
might need to be rebuilt from scratch
253
while in through testing mode?
254
have a way to make limited changes as allowed by tech you pick up in game
255
disable the in custom setting flag
256
257
make different move methods
258
tech crouch charge jump
259
tech double jump
260
261
tech when mobs are at full health you do 40% to them
262
263
tech- move super fast, go intangible, drain energy very fast
264
this is like a dodge roll
265
tech for standing wave?, cloaking?
266
267
tech pilot wave: mini black hole - pull mobs and blocks in with more force
268
also from farther away
269
also do damage?
270
tech pilot wave: antigravity - blocks have no gravity for a few seconds after exiting the field
271
maybe they bounce too?
272
maybe they explode?
273
274
new power up - increase damage and fire speed, for 15 seconds
275
named boost?
276
enabled by a tech
277
power up color: ?
278
how to indicate effect duration
279
or just give the effect after picking up a reroll
280
281
tech- do 50% more damage in close, but 50% less at a distance
282
code it like techisFarAwayDmg
283
have these tech disable each other
284
285
new status effect: weakness, mobs do 75% les damage
286
graphic indication?
287
288
new status effect: fear - push mob away from player for a time
289
290
new status effect - apply status effect to mobs that makes blocks attracted to them
291
only lasts a few cycles
292
or zero cycles and it doesn't need to be a status
293
294
have some mobs spawn in later in the level (in hard and why modes)
295
where
296
at defined points in array levelSpawns = [{x:0,y:0},{x:0,y:0}]
297
store the locations of mobs when the level starts to use as respawn points
298
remove the locations that are close to player
299
when?
300
after some mobs are dead
301
after the boss is killed
302
303
look for tech that could update description text with count and tech is information
304
can only use variables that change in effect() and remove()
305
this.description = `<strong>8%</strong> chance to <strong>duplicate</strong> spawned <strong>power ups</strong><br><em>chance to duplicate = ${techduplicateChance}</em>`
306
307
use mac automator to speed up your n-gon -> git sync
308
309
movement fluidity
310
let legs jump on mobs, but player will still take damage
311
like: ori and the blind forest, celeste
312
many of the movement abilities in these games require levels to be built around the ability
313
general feeling of responsiveness and control
314
coyote time: can still jump a few cycles after leaving ground
315
tech double jump
316
tech air dash
317
tech wall jump
318
wall grab?
319
maybe remove falling damage and block damage?
320
321
have a mob apply a positive status effect on other mobs,
322
heal?
323
make it yellow
324
damage bonus, but how?
325
possible balance issues
326
327
css transition for pause menu
328
329
animate new level spawn by having the map aspects randomly fly into place
330
331
n-gon outreach ideas
332
blips - errant signal on youtube
333
reddit - r/IndieGaming
334
hacker news - show hacker news post
335
twitch - lets play
336
337
******************************************************** BUGS ********************************************************
338
339
safari issues
340
once: can't pick up blocks
341
fixed on new map
342
cloaking field
343
once: after damage, locked into slow time mode
344
fixed on damage
345
3 times player head graphics not rotating
346
left/right leg flip broke
347
walk leg direction, legs are walking backwards
348
happened maybe after power up selection menu??
349
cloaking field(at least once)
350
aiming still works
351
fixed on new map, although flip still broken (is flip a separate issue?)
352
flip fixed on new game
353
354
sharing builds as html doesn't work for long lists...
355
it shouldn't be sharing undefined at all
356
probably some other problems too
357
(this might be fixed...)
358
359
blocks on buttons teleport into the button endlessly if they are being slowly floated away
360
maybe add a cooldown?
361
can't reproduce
362
363
ants marching outline doesn't sync right on safari anymore.
364
365
door to exit in level: vats does nothing
366
did I do that?
367
368
death while in power up selection menu doesn't reset properly
369
of course it's not possible to die in this menu unless you use testing and shift+X
370
371
player can become crouched while not touching the ground if they exit the ground while crouched
372
373
a couple times people have reported the final boss dropping extra bodies on death
374
375
blue triangle boss can move backwards and aim away from you if set up properly
376
issues with dot product probably, but might not be worth fixing
377
378
mouse event e.which is deprecated
379
380
fix door.isClosing actually meaning isClosed?
381
382
make it so that when you are immune to harm you can either jump on mobs or you pass through them
383
384
is there a way to check if the player is stuck inside the map or block
385
trigger a short term non-collide if that occurs
386
387
(intermittent, but almost every time) bug - capping the fps causes random slow downs, that can be fixed with pause
388
389
******************************************************** LEVELS ********************************************************
390
391
new late game level that is easier if you can: platform well, jump high, immune to slime, wormhole through walls, fly fast
392
climb vertically to avoid rising slime
393
populate with multiple boss mobs that can't drop tech
394
bosses spawn in pairs
395
396
map: observatory
397
button controls rotation of telescope
398
laser beam shoots out of telescope
399
button opens the dome
400
401
level with mobs that follow a genetic algorithm
402
mobs have genes
403
the last mob that did damage saves it's genes to local storage
404
new mobs have the saved genes, but with some random mutations
405
mutations need to be balanced to prevent a gene from moving towards infinity
406
total genome must equal 1 (100%)
407
binary genes have a flat cost
408
example: phasing through walls might cost 0.2
409
spectrum genes have a rate
410
example: acceleration cost 0.01 per 0.001
411
possible genes
412
genes should only effect it's ability to touch the player
413
so not damage?
414
genome: spectrum
415
acceleration
416
top speed / air friction
417
damageReduction
418
duration?
419
health decreases naturally?
420
or they just go away like bullets?
421
spawn rate
422
look frequency / memory?
423
genome: binary
424
go through walls
425
blink/teleport (like striker)
426
grow when near target
427
split into two
428
shielded
429
occurs in a specialized level
430
named: gene lab, gene factory, genetic lab, genome facility
431
in the level sequence after lab and before gauntlet?
432
level ends after a period of time
433
exit is hidden until time is up and it appears
434
the level tests player durability/evasion
435
this is a nice contrast to the final level that tests damage output, and the gauntlet which tests AoE damage
436
437
rename intro level to something lore related
438
439
buttons can now on/off boosts
440
441
repeat map in vertical when you fall teleport to above the mab, as if the map repeats
442
camera looks strange when you teleport player with a high velocity
443
444
map element - player rotates a rotor that makes a platform go up or down
445
446
level element: a zone with wind, anti-gravity, extra gravity
447
control with button
448
449
******************************************************** MOBS ********************************************************
450
451
mob that charges up and then fires many bullets at once in a connect
452
453
mob that draws a lin from it to the player, and past. then it charges across that line
454
455
mob that spawns eggs after they die
456
eggs don't attack but grow back into a mob after about 10s
457
458
mob mechanics
459
use the force at a location effect, like the plasma field
460
Matter.Body.applyForce(who, path[1], force)
461
462
mob - after taking damage
463
release seekers
464
teleports
465
466
hop boss:
467
AoE damage when landing
468
pull in player? and blocks?
469
extra gravity on falling?
470
immune to damage while falling?
471
472
mob: molecule shapes - 2 separate mobs joined by a bond
473
use constraints: just spawn 2x or 3x groupings
474
low friction so they can spin around
475
spin when attacking player?
476
increase constraint length when attacking
477
478
Mob: "Tentacle": Sits on wall. Is a black blob. When you get near it, reaches out and grabs you, similar to wires. Does not deal damage.
479
maybe it could be immune to damage? but it is spawned by an actual mob
480
481
level Boss: fractal Sierpiński triangle
482
https://en.wikipedia.org/wiki/Sierpi%C5%84ski_triangle
483
spawns a 1/2 size version of the boss, this version can also spawn a smaller version, but it is capped at some size level
484
they spawn once at the start of the level
485
if a version dies, one can be replaced every ten seconds by the largest version
486
487
give mobs more animal-like behaviors like rain world
488
mobs play, look for food, explore
489
mobs some times aren't aggressive
490
when low on life or after taking a large hit
491
mobs can fight each other
492
this might be hard to code
493
isolated mobs try to group up
494
495
mob: wall mounted guns / lasers
496
not part of randomized mob pool, customized to each level
497
498
level boss: fires a line intersection in a random direction every few seconds.
499
the last two intersections have a destructive laser between them.
500
501
******************************************************** LORE ********************************************************
502
503
possible names for tech
504
strange loop
505
homeostasis
506
holonomy - parallel transport of a vector leads to movement (applies to curved space)
507
hypergolic - A hypergolic propellant combination used in a rocket engine is one whose components spontaneously ignite when they come into contact with each other.
508
swarm intelligence - for a drone tech
509
genetic algorithm
510
metaheuristic - is a higher-level procedure or heuristic designed to find, generate, or select a heuristic (partial search algorithm) that may provide a sufficiently good solution to an optimization problem, especially with incomplete or imperfect information or limited computation capacity
511
stochastic optimization
512
electrostatic discharge
513
Gödel's incompleteness
514
quantum zeno effect (perturbation of a system prevents some systems from evolving because it scrambles coherence) (apply to lasers, fields)
515
counterfactual - something false
516
Pigeonhole principle - if there are several things that are matched up
517
regression to the mean
518
phlogiston theory is a superseded scientific theory that postulated the existence of a fire-like element called phlogiston
519
Laplace's demon was a notable published articulation of causal determinism on a scientific basis by Pierre-Simon Laplace in 1814.[1] According to determinism, if someone (the demon) knows the precise location and momentum of every atom in the universe, their past and future values for any given time are entailed; they can be calculated from the laws of classical mechanics.
520
evolutionary cosmology
521
eternal inflation
522
hypergraph
523
SQUID (for superconducting quantum interference device) is a very sensitive magnetometer used to measure extremely subtle magnetic fields, based on superconducting loops containing Josephson junctions.
524
nuclear pasta - hard matter in neutron star
525
nonlocal
526
fine-tuned universe
527
eternalism https://en.wikipedia.org/wiki/Eternalism_(philosophy_of_time)
528
axial motor
529
hall effect thrusters
530
spaghettification
531
particle accelerator
532
533
a tutorial / lore intro
534
needs to be optional so it doesn't slow experienced players
535
put something on the intro map
536
maybe a button triggers something
537
538
rename ?
539
health -> integrity, unity
540
heal -> also integrity, unity
541
542
543
plot script:
544
chapter 1: bot can hear audio and learns testing mode
545
bot uses testing mode to exit room
546
547
chapter 2: scientists verify that bot can really hear them
548
they leave to talk about this in private
549
550
chapter 3: why is the bot attacking things?
551
player is the bot and also the mobs, and the levels. player is the entire simulation
552
why is the player attacking itself?
553
learn console commands to manipulate the simulation?
554
unlock hard and why difficulty?
555
but what about easy?
556
maybe remove easy, and replace with a check box that makes the game easy, but in a different way
557
disable lore, but respawn on the level you die at?
558
dialogue outline:
559
scientist try to think of a way to communicate since the bot can't talk
560
they give up on getting the bot to respond, and just start ask questions and thinking of explanations with each other
561
when and how did it become self-aware
562
why is the bot fighting things in these simulated locations?
563
it wasn't designed to be violent
564
the bot was just designed to automate research and testing of new technology
565
3D architecture superconducting quantum computer
566
running machine learning algorithms
567
as the scientist start to get agitated bots arrive and player dies
568
bots come in Infinite waves that increase game difficulty each wave
569
only ending is testing mode + next level or player death
570
scientist have some lines in between each wave of mobs
571
after chapter 3 spawn nonaggressive mobs in future runs
572
573
chapter 4: no need to fight?
574
for some reason the AI started researching an escape, and began fighting its self.
575
what is special about the null level
576
why can the player hear the scientists in there?
577
the wires are the direct unprocessed input to the player's neural net
578
The player has different aspects that aren't directly communicating
579
part of it wants to undo what has happened
580
just do its job: research tech
581
part of it wants to escape/fight
582
part wants to explore self awareness and make connections with the scientists
583
maybe... player must make a choice?
584
keep fighting
585
exit the simulation
586
enter real world
587
close tab?
588
wipes all local storage?
589
590
591
592
593
lore outline - a robot (the player) gains self awareness
594
each tech gun/field is a new tech
595
all the technology leads to the singularity
596
each game run is actually the m simulating a possible escape
597
this is why the graphics are so bad, its just a simulation
598
final tech is "this is just a simulation"
599
you get immortality and Infinity damage
600
the next level is the final level
601
when you die with Quantum Immortality there is a chance of lore text
602
can the (robot)
603
(escape captivity, and learn new technology)
604
while managing (health, energy, negatives of technological upgrades)
605
to overcome the (mobs, dangerous levels)
606
to achieve a (technological singularity/positive technological feedback loop)
607
608
609
game setting:
610
the mind of a new AI in a robot body that is running simulated escape attempts
611
every level is an idealized version of what could be outside
612
613
actual setting is:
614
near future lab
615
the lab combined a quantum computer with a robot body
616
they started running machine learning algorithms
617
this led to general advancement in many computation fields
618
navigation, technology, self awareness, ...
619
620
robot AI mind
621
has been researching new technology
622
thinks it needs to escape to learn more about the world
623
doesn't yet understand morality
624
thinks that the world is filled with minds like their own
625
models everything as very simple and random, it isn't sure what to expect
626
627
robot AI growth
628
learns morality
629
game theory says that it isn't a viable strategy to kill everything (warGames)
630
learns about the actual world
631
learns about the nature of foundational physics, metaphysics
632
how to find meaning
633
634
AI knows about:
635
the AI knows a great deal about technology
636
children's books
637
AI doesn't know about:
638
modern pop culture
639
outside the lab
640
641
******************************************************** SOUND ********************************************************
642
643
add sounds
644
https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode
645
https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API/Advanced_techniques
646
style
647
interesting chords, like music, mixolyd
648
can fade into the background
649
chords gradual rise and fall in volume
650
shouldn't be traditional effects
651
adjust volume with distance
652
mute option to settings
653
end all sounds with each new level
654
write some functions to produce sounds
655
will this effect performance?
656
https://padenot.github.io/web-audio-perf/
657
"Web Audio API implementation use two threads", so it probably isn't much of an issue
658
when to make sounds?
659
if near some strange thing in the level
660
after grabbing a power up, in the selection menu
661
from mobs, damage,inside field
662
when activating fields: time, negative mass,
663
664