Commit graph

348 commits

Author SHA1 Message Date
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
cfe378020a Added support for reading/loading from different encodings 2022-04-24 16:59:20 -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
b370d32797 Fixed save manager loading old version of save previously opened 2022-04-24 14:37:26 -05:00
f70273425e Fixed spacing in Tree.vue 2022-04-24 13:41:57 -05:00
a46c973bad Fixed spacing in Tree.vue 2022-04-24 13:41:37 -05:00
5427f200c1 Fixed updating displays sometimes eating clicks 2022-04-24 01:03:25 -05:00
76c81dc5b5 Fixed createLayerTreeNode not using display option correctly 2022-04-23 23:54:23 -05:00
7f63bf5d79 Made default theme's feature foreground dark rather than light 2022-04-23 23:37:52 -05:00
b161151424 Add tooltip to example layer 2022-04-23 22:23:46 -05:00
f1e5f177bf Made projEntry default display avoid rendering things rather than hiding them 2022-04-23 22:15:15 -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
8add09841e Make modifiers sections accept DecimalSources for the base 2022-04-23 22:15:04 -05:00
6e53678991 Moved createModifierSection to modifiers.tsx 2022-04-23 22:14:58 -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
d988b37e8d Clean up typing 2022-04-23 22:14:47 -05:00
f76d5deb6e Tooltips overhaul 2022-04-23 22:14:45 -05:00
89861dfbd5 Allowed layer.minWidth to take string values as well 2022-04-23 22:14:42 -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
6efd01fc43 Made modifier descriptions use CoercableComponents 2022-04-23 22:14:32 -05:00
c918f1b54b Add render functions that ensure returned type is always a JSX element 2022-04-23 22:14:29 -05:00
4e2095fd51 Implemented modifiers 2022-04-23 22:14:25 -05:00
f47d87fd6f Made projEntry default display avoid rendering things rather than hiding them 2022-04-23 22:13:56 -05:00
50fec80831 Add tooltips to various things 2022-04-23 21:35:50 -05:00
9f79b186bd Made createResourceTooltip show the resource name 2022-04-23 21:35:43 -05:00
17cec3b3bc Fixed tooltips' classes and style props 2022-04-23 21:23:51 -05:00
d2a66795b2 Make modifiers sections accept DecimalSources for the base 2022-04-23 21:23:34 -05:00
8ea777f797 Updated Profectus changes 2022-04-23 20:38:21 -05:00
601c088a98 Moved createModifierSection to modifiers.tsx 2022-04-23 18:31:45 -05:00
696526afde Show pin on pinned tooltips 2022-04-23 18:31:36 -05:00
4f9352cd08 Made tooltips' onClick in capture mode 2022-04-23 18:31:33 -05:00
7654810e50 Improved tooltip typing 2022-04-23 18:31:29 -05:00
c0ee60ee4b Made TreeNodes VueFeatures 2022-04-23 18:31:23 -05:00
096a9f067f Clean up typing 2022-04-23 18:31:08 -05:00
eb9717d818 Tooltips overhaul 2022-04-23 18:29:28 -05:00
55617fd622 Allowed layer.minWidth to take string values as well 2022-04-23 18:28:08 -05:00
022f2eea61 Made tab family's options function optional 2022-04-23 18:27:30 -05:00
7bc29fc145 Updated some modifiers CSS 2022-04-23 18:27:26 -05:00
c84ff0cb08 Made modifier descriptions use CoercableComponents 2022-04-23 18:27:23 -05:00
6888d3d9fc Add render functions that ensure returned type is always a JSX element 2022-04-23 18:27:08 -05:00
0d969573ab Implemented modifiers 2022-04-23 18:26:51 -05:00
df26b9b756 Merge remote-tracking branch 'template/main' 2022-04-23 18:25:17 -05:00
52864964a2 Fixed independent conversions showing values over 1 when buyMax is false 2022-04-10 23:02:15 -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
eb434656b3 Fix Req showing wrong value 2022-04-10 21:53:11 -05:00
3694e2be1f Cap independent conversion's actualGain to 1 if buyMax is false 2022-04-10 21:22:00 -05:00
98c7cd7724 Added minimumGain to resetButton 2022-04-10 21:16:20 -05:00
42fe66c891 Display Req: instead of Next: when buy max is disabled 2022-04-10 19:33:44 -05:00
6bbd9b990a Update default layers to use new createLayer signature 2022-04-10 19:26:33 -05:00
99cda9f344 Fixed attempting to delete persistent ref when there's no layer being added 2022-04-10 19:26:33 -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
bd084e51c5 Fixed issue with dynamically loading layers 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
af9b2a8d19 Print key and value in lazy proxy's setter error message 2022-04-01 01:08:22 -05:00
f40765e4de Changed how conversion gain modifiers work, so nextAt will be correct 2022-03-29 21:32:40 -05:00
9319e0d045 Add gainModifier to c's conversion 2022-03-29 21:27:17 -05:00
7cf8b317cc Changed how conversion gain modifiers work, so nextAt will be correct 2022-03-29 21:27:00 -05:00
f0ba5a69f5 Merge remote-tracking branch 'template/main' 2022-03-29 19:40:52 -05:00
84ed880533 Made overlay nav not overlap leftmost layer 2022-03-28 21:24:26 -05:00
572e543ba8 Made all properties in FeatureNode non-optional 2022-03-27 19:23:31 -05:00
3fa7ccf0c1 Added collapsibles 2022-03-27 19:23:20 -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
c00a695edc Removed unused updateMouse function 2022-03-27 00:49:04 -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
3de23a449c Added confetti when F clickable is broken
Also fixed the "fix clickable" button not being rendered
2022-03-27 00:15:05 -05:00
b31d43653d Added events to onClick 2022-03-27 00:14:35 -05:00
79db99fa9c Added support for non-fullscreen particles
This also drastically improves positioning effects based on elements
2022-03-26 22:42:10 -05:00
53bbcbd831 Update to new links changes 2022-03-22 23:05:36 -05:00
e867a9e89e Default Challenge.canStart to true 2022-03-22 23:04:49 -05:00
cfb3acea92 Fixed position of links 2022-03-22 22:55:48 -05:00
9658a16ed7 Separated Links into a feature and Context 2022-03-20 14:07:31 -05:00
4af19a62d8 Made node positions more general purpose 2022-03-20 14:07:21 -05:00
74d1bb838d Implemented Particles feature 2022-03-20 14:07:11 -05:00
2563ab7471 Merge remote-tracking branch 'template/main' 2022-03-20 14:06:47 -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
496ea34a9b Enabled using the BaseLayer features while creating the layer 2022-03-13 23:06:25 -05:00
77a3d92075 Fixed z-index issues when stopping hovering on .can 2022-03-13 23:06:17 -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