1bfa66e1c9
Add mouse/touch events to more onClicks
2023-02-15 20:36:04 -06:00
3dd2d96567
Documented repeatables
2023-02-15 20:35:37 -06:00
cdce13480e
Remove references to purchasing for repeatable
2023-02-15 20:35:08 -06:00
4fb2d90dbb
buyMax -> maximize
2023-02-15 20:33:49 -06:00
712fcf7eb0
Rename repeatable.purchaseLimit to limit and initialValue to initialAmount
2023-02-15 20:33:46 -06:00
ccb8e76eaf
Renamed buyables to repeatables
2023-02-15 20:33:32 -06:00
68702c5620
Make buyables support buying max
2023-02-15 20:31:56 -06:00
3a4b15bd8f
Implemented requirements system
2023-02-15 20:26:40 -06:00
345f8c1cd8
Implement Action feature
2023-02-15 20:13:05 -06:00
2ece8e5a17
Floor reindeer feed amount
2023-02-15 20:12:18 -06:00
166c2d34b4
Make setupPassiveGeneration not lower the resource
2023-02-15 20:11:57 -06:00
2122103c0e
Fix display issue in board
2022-12-24 09:43:51 -06:00
4c4ff87110
Fix tab family padding-left
2022-12-23 15:57:09 -06:00
65071760ec
Make boards take state and link overrides
2022-12-23 11:46:06 -06:00
7984f525d7
Fixed typo for hotkeys
2022-12-22 22:41:03 -06:00
23ad0680f5
Fixed hotkeys not working with shift + number
2022-12-21 22:39:20 -06:00
9b49aedccb
Add eslint rule for strict boolean expressions and fix linting issues
2022-12-20 21:33:23 -06:00
81e774bbd4
Make hotkeys 2-column
2022-12-19 07:42:34 -06:00
d02b7294a1
hotkey tweaks
2022-12-19 07:29:28 -06:00
ducdat0507
a4e74a9c5d
Hotkey display
2022-12-19 07:28:00 -06:00
97faa20056
Fix addSoftcap not affecting currentAt or nextAt
2022-12-12 14:19:18 -06:00
27def194e8
merged grid rows and retain soft edges
2022-12-10 19:33:24 +01:00
8e8c71224a
Fix total resources increasing on load
2022-12-07 23:01:38 -06:00
36f064ebd7
Cleaned up NonPersistent typing
2022-12-06 08:06:35 -06:00
5fa2e521b2
Fixed resets
2022-12-06 08:06:31 -06:00
4207677944
Fix save data object redundancy
...
Note: Requires the use of noPersist quite a bit, but the console will tell you when you missed a spot
Also required breaking up events.ts due to cyclical dependencies
2022-12-06 00:22:32 -06:00
0f275e3e94
Add showPopups property to milestones
2022-12-04 20:07:01 -06:00
Seth Posner
62c3e1f45d
Apply flooring to resource displays
2022-12-01 21:16:00 -06:00
ce895ed0a0
Fix mainDisplay not respecting classes and styles props
2022-11-30 18:42:58 -06:00
753ce5f8de
Add initialValue to Buyables
2022-11-29 08:13:04 -06:00
8f52918e38
Fix boards not starting with starting nodes
2022-11-07 22:09:34 -06:00
3dbacc8e21
Fixed board feature
2022-11-07 22:09:20 -06:00
5bea1bf9b4
Fix isFunction typing
2022-11-07 22:06:16 -06:00
ad613d06d4
Fixed fonts causing shifts in Node positions on firefox
2022-08-22 08:52:51 -05:00
3042d5ebb6
Use shallowRef in more places
2022-08-22 08:52:43 -05:00
bca8c6d64e
Made Pixi application holder a shallow ref
2022-08-22 08:52:24 -05:00
61859049b9
Fixed issues with pixi.js
2022-08-22 08:52:15 -05:00
72dbc2da90
Implemented utility to unwrap computable resources
2022-07-26 19:52:11 -05:00
17a033bfd9
Use ID to compare layers in trackResetTime
2022-07-22 21:54:37 -05:00
7d1346746f
Fix trackResetTime not working after the layer is removed and re-added
2022-07-17 19:39:25 -05:00
23545a9d33
Fixed super duper major typo that would've totally been worth making a PR over
2022-07-14 22:40:54 -05:00
1f4676d997
Make Particles component typed generically to fix doc generation
2022-07-14 08:20:28 -05:00
2763749904
Minimize how much pixi.js we use
2022-07-14 00:06:39 -05:00
be96fcdd38
Fixed broken links
2022-07-10 03:00:08 -05:00
717f13ebe0
Fix typing errors
2022-07-10 02:20:51 -05:00
db304dea43
Cleaned up docs
2022-07-10 01:07:39 -05:00
439e10d7b1
Create tooltips' pinnable persistent variable immediately
2022-07-09 22:09:26 -05:00
3ee1cdb384
Fix Links not always updating its outer bounds
2022-07-09 19:11:12 -05:00
863c70222b
Better handling of provide failing
...
Was having trouble with Vite HMR
2022-07-09 19:10:53 -05:00
9b89552f1c
Prevent onComplete events triggering while loading saves
2022-07-09 19:10:03 -05:00
a2212a40b7
Made descriptions on buyables optional
2022-07-07 20:40:08 -05:00
0def9ca5a6
Fixed error when passing in overlay text to bar
2022-07-07 20:40:08 -05:00
0229c0130f
Cleaned up tooltips
2022-07-07 20:40:08 -05:00
409b3bbac4
Add showAmount boolean to buyable displays
2022-07-07 20:40:08 -05:00
78ac7957dd
Improved how MainDisplay displayed effect strings
2022-07-07 20:40:08 -05:00
7345471e8a
Add options to tab families to style the buttons container
...
Example usage: adding a "top" property for proper stickying
2022-07-07 20:40:07 -05:00
62d23ec699
Made MainDisplay sticky
2022-07-07 20:40:07 -05:00
d7041a3c3c
Make OptionsFunc include the options in the typing for this
2022-06-26 23:44:10 -05:00
d658455eb0
Added spend function to conversions
...
(for custom handling of changing baseResource)
2022-06-26 22:12:53 -05:00
3130e0add7
Improve setupPassiveGeneration
...
- Handles independent conversions better
- Now can be given a cap
2022-06-26 20:34:46 -05:00
ab81a140c9
Make all type-only imports explicit
2022-06-26 19:17:22 -05:00
7fe57798bb
Switched from vue-cli-service to vite
...
Should be thoroughly tested still
Also involved removing operator overloads, which weren't good anyways
2022-06-25 22:34:18 -05:00
39f92040aa
Added onConvert callback to conversions
2022-05-23 23:40:26 -05:00
d123ed3feb
Made resetTime more useful and various setup functions use BaseLayer
2022-05-23 23:34:59 -05:00
5b62080786
Added costModifier to conversions
2022-05-23 23:06:21 -05:00
2568a8b3a0
Fixed links being in the wrong spot after above elements added/removed
2022-05-23 22:54:50 -05:00
7db806afc6
Fix particle effects not reloading when the Particles component is re-mounted
2022-05-23 22:54:46 -05:00
3f10abbb09
Fix buyables' onPurchase not being called
2022-05-23 22:54:42 -05:00
01ade0984c
Add tooltips to icons in saves manager
2022-05-10 21:42:45 -05:00
ce2f9f8ee0
Make buyables' onClick/purchase function support custom canPurchases
...
They can also now be overidden from the options function
2022-05-10 21:23:05 -05:00
521c0d1ea4
Wrote documentation for feature.ts
...
Also slightly cleaned up modifiers.tsx due to slightly new comment style
2022-05-10 20:04:08 -05:00
2ec1a03d8f
Fixed some typings on Board component
...
also removed FeatureComponent type since it's no longer used
2022-05-10 19:39:39 -05:00
05eb2a2bed
Made findFeatures take multiple types, and added excludeFeatures
2022-05-10 19:08:16 -05:00
86688b5bb1
Fix tab buttons not getting style refs
2022-05-10 08:11:43 -05:00
b82bf8eee3
Made most touch events passive
2022-05-03 01:36:07 -05:00
2c14b2193d
Fix links sometimes using nodes that were removed
2022-05-03 01:36:00 -05:00
4058fad711
Removed unused import
2022-05-03 01:35:54 -05:00
4f3d73acd7
Make scaling functions use computables instead of processed computables
2022-05-01 19:24:50 -05:00
17642b95a6
Documented conversion.ts
2022-05-01 19:24:44 -05:00
75fde0f099
Fix tooltip component expecting direction to be a number instead of string
2022-05-01 19:23:56 -05:00
665ddff196
Replaced the two Direction enums with a single one
2022-04-30 23:54:14 -05:00
1479c1d44d
Fixed tree nodes not being clickable on the edges
2022-04-27 08:21:04 -05:00
d4c1e16fb4
Fix tree branches not appearing in the correct positions
2022-04-27 08:20:59 -05:00
64533b55dc
Fix Particles causing scroll issues
2022-04-24 22:07:47 -05:00
eb81fdfb2c
Fixed separators getting cut off if the tab on the left can be scrolled
...
This also required some cleanup around the stick CSS
2022-04-24 21:49:17 -05:00
94a7f41fd1
Made several options functions optional
2022-04-24 17:05:28 -05:00
aae6455ea6
Made no features extend Persistent
2022-04-24 16:59:31 -05:00
819c3c674a
Fix tooltips sometimes causing issues with cyclical dependencies
2022-04-24 16:45:27 -05:00
eb06435821
Fix style attribute not working on tooltips
2022-04-24 16:45:24 -05:00
f70273425e
Fixed spacing in Tree.vue
2022-04-24 13:41:57 -05:00
5427f200c1
Fixed updating displays sometimes eating clicks
2022-04-24 01:03:25 -05:00
1e276adce5
Made createResourceTooltip show the resource name
2022-04-23 22:15:10 -05:00
ba2bb3a5fd
Fixed tooltips' classes and style props
2022-04-23 22:15:07 -05:00
f04cb69726
Show pin on pinned tooltips
2022-04-23 22:14:56 -05:00
bef5272ab5
Made tooltips' onClick in capture mode
2022-04-23 22:14:54 -05:00
6ed9f3da53
Improved tooltip typing
2022-04-23 22:14:52 -05:00
5b45642a58
Made TreeNodes VueFeatures
2022-04-23 22:14:49 -05:00
f76d5deb6e
Tooltips overhaul
2022-04-23 22:14:45 -05:00
ba7f877581
Made tab family's options function optional
2022-04-23 22:14:37 -05:00
9c2dcddcbe
Updated some modifiers CSS
2022-04-23 22:14:35 -05:00
4e2095fd51
Implemented modifiers
2022-04-23 22:14:25 -05:00
78262996ad
Fixed independent conversions with buyMax false capping incorrectly
2022-04-10 23:01:02 -05:00
b478999e7e
Cap gain in nextAt and currentAt to 0 after modifier
2022-04-10 22:28:39 -05:00
3694e2be1f
Cap independent conversion's actualGain to 1 if buyMax is false
2022-04-10 21:22:00 -05:00
64f1b460b0
Added FeatureOptionsFunc to simplify features
2022-04-10 19:26:33 -05:00
838ac46cf9
Fixed missed references to PersistentRef
2022-04-10 19:26:33 -05:00
5a59aaf4fc
Persistence rework
...
- Removed makePersistent
- Removed Persistent, renamed PersistentRef to Persistent
- createLazyProxy now takes optional base object
- For use where previously makePersistent would be used
- Added warnings when creating refs outside a layer
- Added warnings when persistent refs aren't included in their layer object
- createLayer now takes id as a parameter rather than an option
2022-04-10 19:26:33 -05:00
Seth Posner
099c19d712
Fix independent gain, add current cost
2022-04-10 15:05:49 -07:00
ecc4b9fb5f
Replaced tsparticles with pixi-emitter
2022-04-01 01:08:29 -05:00
69468d88c0
Update bounding rects when fonts have loaded in
...
This fixes the issue with everything shifting slightly once they load,
invalidating all the bounding rects until they are next updated
2022-04-01 01:08:26 -05:00
f40765e4de
Changed how conversion gain modifiers work, so nextAt will be correct
2022-03-29 21:32:40 -05:00
572e543ba8
Made all properties in FeatureNode non-optional
2022-03-27 19:23:31 -05:00
270894f59d
Cleaned up milestone css slightly
2022-03-27 19:23:16 -05:00
6cbf313faa
Fixed double glow on tree nodes
2022-03-27 10:25:14 -05:00
561dd35570
Added events to onClick
2022-03-27 00:47:34 -05:00
887002e95b
Added support for non-fullscreen particles
...
This also drastically improves positioning effects based on elements
2022-03-27 00:47:25 -05:00
8d0489c8e1
Default Challenge.canStart to true
2022-03-27 00:47:14 -05:00
da6a47b1da
Fixed position of links
2022-03-27 00:46:42 -05:00
5ce8195779
Separated Links into a feature and Context
2022-03-27 00:39:38 -05:00
b60d170657
Made node positions more general purpose
2022-03-27 00:39:35 -05:00
0acfebb412
Implemented Particles feature
2022-03-27 00:39:23 -05:00
765e2cfc5f
Coerce buyable's currDisplay first
2022-03-16 11:24:54 -05:00
e076c84483
Fix buyables not supporting CoercableComponents for displays
2022-03-16 11:20:53 -05:00
acc9622d49
Fix features not handling refs passed to style props correctly
2022-03-13 23:06:10 -05:00
de4bb44e02
Bind onClick and onHold functions before wrapping them
2022-03-13 23:05:59 -05:00
8170f240c8
Fix clickables not obeying mergeAdjacent
2022-03-13 23:05:48 -05:00
ac598fa3a7
Added support for resources of non-persistent refs
2022-03-12 20:40:22 -06:00
1cf72b4337
Added hotkeys to info modal
2022-03-11 16:38:49 -06:00
ada566b53a
Added isAnyChallengeActive
2022-03-11 15:41:13 -06:00
e56f34c13c
Converted variables that track time to numbers
2022-03-11 15:33:08 -06:00
b33de01a96
Added setupAutoComplete
2022-03-11 12:48:53 -06:00
14b1420b55
Add complete function to challenge
2022-03-11 12:48:44 -06:00
9c45653b8b
Add setupAutoClick
2022-03-11 10:02:28 -06:00
1f48622314
Cache decimals used for trackOOMPS
2022-03-11 09:59:45 -06:00
bb2c61e425
Removed setupAutoReset
2022-03-11 09:22:16 -06:00
e5da55d26a
Made buyables default to infinite purchase limit
2022-03-11 09:16:19 -06:00
d8edac1c9a
Add manual complete function for milestones
2022-03-11 08:54:36 -06:00
1fac1edb46
Use watchEffect instead of event listener for completing achievements
2022-03-11 08:54:05 -06:00
7524ed3164
Export more types
2022-03-08 19:40:51 -06:00
1b765e8b50
Corrected exponential scaling to polynomial
2022-03-05 22:49:35 -06:00
0d0db90b77
Changed more path aliasing
2022-03-03 22:45:25 -06:00
322ad1529a
Removed unused parameter from exponential scaling function
2022-03-03 22:28:37 -06:00
49474b1518
Changed path aliasing
2022-03-03 21:39:48 -06:00
7b2b3de788
Fixed lifting up on certain elements not stopping the auto-clicker
2022-03-02 21:34:32 -06:00
79c50a2366
Fixed hotkeys accessing hasWon incorrectly
2022-03-02 20:34:39 -06:00
9efabf9cf6
Removed redundant Theme properties
2022-03-02 20:30:52 -06:00
b9f28f764f
allowSmall -> defaultShowSmall, allow it to be overrided
2022-03-02 20:28:11 -06:00
189dbfe725
Fixed branches' positions not being accurate
2022-03-01 23:32:21 -06:00
707e24d64b
Fixed some files still looking for persistence from wrong file
2022-03-01 21:10:19 -06:00
c9d3613d64
Make tab family take TabButtonOptions directly instead of TabButton
2022-02-27 16:49:13 -06:00