Commit graph

258 commits

Author SHA1 Message Date
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
5beecba267 Have features register settings fields dynamically 2022-02-27 16:41:39 -06:00
a81040d6a2 Moved persistence related code to its own file 2022-02-27 16:18:13 -06:00
a8af84f581 Reorganized components 2022-02-27 16:04:56 -06:00
e2126472b2 Fixed runtime issues with vue
Entire demo tree has been tested and is fully functional,
including all the options and save manager functionality
2022-02-27 13:49:34 -06:00
067ba6ce90 Make layers lazy instantiate 2022-01-27 22:47:26 -06:00
90e49e196f Fixing more issues 2022-01-24 22:25:34 -06:00
15a460bf42 Fixing building / cleanup 2022-01-24 22:23:30 -06:00
6f781b33fa New layer API WIP 2022-01-13 22:25:47 -06:00