Commit Graph

861 Commits

Author SHA1 Message Date
tobspr e1f3454629 Merge branch 'master' of https://github.com/tobspr/shapez.io 2020-10-08 09:13:55 +02:00
tobspr 5a96e76151 Allow configuring map resources scale 2020-10-08 09:13:53 +02:00
EmeraldBlock a79500d574
Fix non-uniform distribution for freeplay shape color palette (#789)
* use nextIntRange instead of nextIntRangeInclusive

* Remove nextIntRangeInclusive

This function gave the minimum and maximum integer half as much weight, and it was not used anywhere except to generate a freeplay shape color palette, and that now uses nextIntRange.
2020-10-08 08:44:10 +02:00
tobspr 21c9c3cee6 Fix belt path epsilon 2020-10-07 19:31:11 +02:00
tobspr 38ba763897 Allow disabling zoom towards cursor 2020-10-07 19:12:49 +02:00
tobspr bc5ffcddd1 Change rotator, improve artwork 2020-10-07 19:02:42 +02:00
tobspr 1bb8b6f079 Get rid of performance warning, refactor roman numbers, mark balancers, rebalance upgrades 2020-10-07 18:35:03 +02:00
tobspr f3dcdeb2b8 Fix pinned shapes not being removable 2020-10-07 18:05:11 +02:00
tobspr 7dccc1a844 Unlock all levels when having a legacy savegame 2020-10-07 15:02:27 +02:00
tobspr fa27d1681f Cleanup IS_DEMO flags and introduce Restriction Manager 2020-10-07 09:48:31 +02:00
tobspr 81e7d96dd8 Merge branch 'master' of https://github.com/tobspr/shapez.io 2020-10-07 08:36:26 +02:00
tobspr 9844641d11 Missing parts from last commit 2020-10-07 08:36:24 +02:00
tobspr 94266173d8 Introduce game modes and get rid of global level definitions etc 2020-10-07 08:36:02 +02:00
EmeraldBlock 00cce9479a
Set atlas scale for screenshot to constant value (#776) 2020-10-06 17:27:47 +02:00
EmeraldBlock 0481c84e72
"Fix" getStringForKeyCode returning incorrect strings (#753)
* Fix getStringForKeyCode returning wrong result

This adds the full stop/period (.) key to the switch statement, and replaces String.fromCharCode (which works with Unicode) with the replacement character (�).

* Make letter keys work properly

* Add digits and display unknown codes in brackets

* better formatting
2020-10-04 10:34:40 +02:00
dengr1065 a02438a70a
LibGDX Texture Packing (finally!) (#755)
* Format tsconfig, remove atlas files

* Add helpers for texture packing

* Rest of the texture packing...

* Update gitignores

* Update readme
2020-10-04 09:21:37 +02:00
tobspr 83c4552f9c DE translation fixes 2020-10-01 09:25:29 +02:00
tobspr abaf9890b8 Don't cache pattern 2020-09-29 19:30:03 +02:00
tobspr f62eaa45c0 Hide 1.1.19 changelog 2020-09-29 19:26:56 +02:00
tobspr 1c97f3f32a Fix demo flags 2020-09-29 18:42:29 +02:00
tobspr 1c88b99de3 A/B test whether showing the price is good or not 2020-09-29 18:26:38 +02:00
tobspr 8b7c0a91cd Change watermark interval 2020-09-29 18:06:39 +02:00
tobspr 344f213566 Minor refactoring 2020-09-29 18:03:53 +02:00
dengr1065 9aff7f9f6d
Rename delta to scale in camera.js (#705) 2020-09-29 17:44:22 +02:00
tobspr 69a3ae39bd proper sandbox flags 2020-09-29 17:06:31 +02:00
EmeraldBlock 7f6c1187b8
Make zoom in and zoom out equal (#704)
* Make zoom in and zoom out equal

Makes zooming out zoom an amount equal to zooming in.

* format things better

* Made zoom keys also equal

Made zoom out equal to zoom in

* Actually made arrow keys equal

hope this actually works
2020-09-29 16:48:41 +02:00
tobspr 5a3807883e Update demo hint and lock demo to lvl 14 2020-09-29 16:46:29 +02:00
tobspr 9b7225bf44 Limit throughput 2020-09-29 13:16:37 +02:00
tobspr e96821b555 Fix throughput goals and add layer preview to producer 2020-09-29 12:58:16 +02:00
tobspr 8ec2a90ae3 Do not send stats in sandbox 2020-09-29 11:19:16 +02:00
tobspr e93b475f72 Rebalance, again 2020-09-29 11:14:27 +02:00
tobspr db6db7caca Add sandbox building, restructure levels, show pinned shapes in constant signal dialog 2020-09-29 10:52:25 +02:00
tobspr fd3bbcdc20 Enable beta overlay again 2020-09-28 18:24:18 +02:00
tobspr 25135056f7 update beta overlay 2020-09-28 18:20:57 +02:00
tobspr 07ac928717 Show warning when placing too many buildings 2020-09-28 15:01:28 +02:00
tobspr 9c75e1777d Show secondary toolbar on wires layer too 2020-09-28 14:50:55 +02:00
tobspr 31641bedad Skip fade on low fps 2020-09-28 14:47:23 +02:00
tobspr d5f7a78386 Allow copying wire values 2020-09-28 14:45:53 +02:00
tobspr 028b4ee8e4 Fix pipette in wires layer 2020-09-28 13:19:13 +02:00
tobspr d11642e402 Update beta overlay 2020-09-28 13:17:21 +02:00
LeopoldTal c9d260f65e
Fix lint (#688)
* trim trailing space in Greek translation

* add missing type imports

* remove unused arg

* remove duplicate declaration
2020-09-28 12:42:15 +02:00
tobspr 2c50944732 Minor changes 2020-09-28 12:37:15 +02:00
tobspr f841a05f52 Migrate levels 2020-09-28 12:35:43 +02:00
tobspr 507121b886 Load css async 2020-09-28 12:24:52 +02:00
tobspr 0d52793c27 Minor refactoring 2020-09-28 12:17:38 +02:00
tobspr d4617edad5 Rework constant signal dialog 2020-09-28 12:17:13 +02:00
tobspr 4f6d9785c1 Add final shapes and upgrades until tier 20 2020-09-28 10:54:21 +02:00
tobspr d27e9226be Re-balance, fixes, etc etc 2020-09-27 22:22:05 +02:00
tobspr f584d9d93e Further fixes found during testing, update local config 2020-09-24 17:43:50 +02:00
tobspr 7cd1ee22fd Further fixes 2020-09-24 17:14:15 +02:00