Commit Graph

48 Commits

Author SHA1 Message Date
tobspr 8c5e593ceb v1.5.5 - Rework tutorial and polishing 2022-06-20 10:21:13 +02:00
tobspr 931c8a5821
Puzzle DLC (#1172)
* Puzzle mode (#1135)

* Add mode button to main menu

* [WIP] Add mode menu. Add factory-based gameMode creation

* Add savefile migration, serialize, deserialize

* Add hidden HUD elements, zone, and zoom, boundary constraints

* Clean up lint issues

* Add building, HUD exclusion, building exclusion, and refactor

- [WIP] Add ConstantProducer building that combines ConstantSignal
and ItemProducer functionality. Currently using temp assets.
- Add pre-placement check to the zone
- Use Rectangles for zone and boundary
- Simplify zone drawing
- Account for exclusion in savegame data
- [WIP] Add puzzle play and edit buttons in puzzle mode menu

* [WIP] Add building, component, and systems for producing and
accepting user-specified items and checking goal criteria

* Add ingame puzzle mode UI elements

- Add minimal menus in puzzle mode for back, next navigation
- Add lower menu for changing zone dimenensions

Co-authored-by: Greg Considine <gconsidine@users.noreply.github.com>

* Performance optimizations (#1154)

* 1.3.1 preparations

* Minor fixes, update translations

* Fix achievements not working

* Lots of belt optimizations, ~15% performance boost

* Puzzle mode, part 1

* Puzzle mode, part 2

* Fix missing import

* Puzzle mode, part 3

* Fix typo

* Puzzle mode, part 4

* Puzzle Mode fixes: Correct zone restrictions and more (#1155)

* Hide Puzzle Editor Controls in regular game mode, fix typo

* Disallow shrinking zone if there are buildings

* Fix multi-tile buildings for shrinking

* Puzzle mode, Refactor hud

* Puzzle mode

* Fixed typo in latest puzzle commit (#1156)

* Allow completing puzzles

* Puzzle mode, almost done

* Bump version to 1.4.0

* Fixes

* [puzzle] Prevent pipette cheats (miners, emitters) (#1158)

* Puzzle mode, almost done

* Allow clearing belts with 'B'

* Multiple users for the puzzle dlc

* Bump api key

* Minor adjustments

* Update

* Minor fixes

* Fix throughput

* Fix belts

* Minor puzzle adjustments

* New difficulty

* Minor puzzle improvements

* Fix belt path

* Update translations

* Added a button to return to the menu after a puzzle is completed (#1170)

* added another button to return to the menu

* improved menu return

* fixed continue button to not go back to menu

* [Puzzle] Added ability to lock buildings in the puzzle editor! (#1164)

* initial test

* tried to get it to work

* added icon

* added test exclusion

* reverted css

* completed flow for building locking

* added lock option

* finalized look and changed locked building to same sprite

* removed unused art

* added clearing every goal acceptor on lock to prevent creating impossible puzzles

* heavily improved validation and prevented autocompletion

* validation only checks every 100 ticks to improve performance

* validation only checks every 100 ticks to improve performance

* removed clearing goal acceptors as it isn't needed because of validation

* Add soundtrack, puzzle dlc fixes

Co-authored-by: Greg Considine <gconsidine@users.noreply.github.com>
Co-authored-by: dengr1065 <dengr1065@gmail.com>
Co-authored-by: Sense101 <67970865+Sense101@users.noreply.github.com>
2021-05-23 16:32:05 +02:00
tobspr 38ba763897 Allow disabling zoom towards cursor 2020-10-07 19:12:49 +02:00
dengr1065 9aff7f9f6d
Rename delta to scale in camera.js (#705) 2020-09-29 17:44:22 +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 c6eb1dad04 Rebalance the whole game, rename splitter -> balancer 2020-09-22 14:47:59 +02:00
tobspr ad3be750fc Fix mouse pan 2020-09-21 18:17:55 +02:00
Exund cceffc1832
Fix camera pan (#673)
* Fix some literal edge cases

* Fixed for fullscreen
2020-09-21 18:16:36 +02:00
tobspr 24eb060000 Fix mouse panning 2020-09-19 20:57:20 +02:00
tobspr fbff0a0ad4 Allow to pan the map with the mouse by moving the cursor to the edges of the screen 2020-09-19 20:30:35 +02:00
tobspr b5a2e77db4 Fix multiple typos, closes #627 2020-09-19 07:49:17 +02:00
Dimava af1893ba08 find a more meaningful name and make it const 2020-07-04 19:28:10 +03:00
Dimava 35f427da82 remove moving on min/max zoom 2020-07-04 19:28:07 +03:00
Dimava 785f20c35f fix jumps with desiredCenter 2020-07-04 19:28:04 +03:00
Dimava 2f6b3afbab Wheel zoom saves world mouse position 2020-07-04 19:28:02 +03:00
tobspr 2e266f5f21 Get rid of 'builtins' file since its useless and causes performance issues 2020-06-27 10:51:52 +02:00
tobspr e5d4fad64b Update changelog, minor adjustments 2020-06-22 12:36:02 +02:00
hexagonhexagon 46a5bdb76c Make changes requested by tobspr. 2020-06-22 02:19:52 -04:00
hexagonhexagon d793817170 The camera will not have extra velocity when the camera is held still. 2020-06-22 02:11:23 -04:00
tobspr 61bcc31861 Fix mouse handling 2020-06-17 14:56:21 +02:00
tobspr 84969a9205 Refactor building placer 2020-06-17 13:12:39 +02:00
tobspr 32d169b7db Bump fast pan speed from 2 to 4 2020-06-15 22:29:55 +02:00
Jaysc 5de2c2de94 Removed logic from application_settings 2020-06-14 14:16:37 +01:00
Jaysc 8a726f99b6 Changed fastpan to mapMoveFaster and translation 2020-06-13 14:14:35 +01:00
Jaysc 487a99bb56 added fastpan feature 2020-06-12 18:55:35 +01:00
mini-bomba 107a3ef69c
Added movement speed setting 2020-06-12 00:47:59 +02:00
tobspr 8c85018352 Added setting to configure zoom / mouse wheel / touchpad sensitivity 2020-06-01 13:05:15 +02:00
tobspr 4e18fa74d4
Merge pull request #48 from Dimava/feature/mousebind
Mouse keybinds
2020-06-01 12:10:51 +02:00
Dimava 0d342ee417 move KeyMouse listeners to correct location 2020-06-01 02:36:41 +03:00
tobspr 576bd3166f Minor improvements 2020-05-30 19:11:18 +02:00
Dimava fe33f51424 always use MouseEvent in keyboard hooks 2020-05-30 11:11:56 +03:00
Dimava e58c2fd371 use MouseEvent in keyboard hooks 2020-05-30 11:03:35 +03:00
Dimava da94d5264a replace MouseEvent.which with MouseEvent.button 2020-05-30 11:03:33 +03:00
tobspr 3071bba633 store waypoints in savegame 2020-05-28 20:03:35 +02:00
tobspr ec021780d8 Initial waypoint support 2020-05-28 19:40:48 +02:00
tobspr e0facaf788 Fix keys being stuck, show savegame levels in main menu 2020-05-28 14:53:11 +02:00
tobspr 8c88d738cc Minor improvements 2020-05-27 15:45:43 +02:00
tobspr 20b46325b6 Get rid of old beta mode 2020-05-24 19:55:09 +02:00
tobspr 8678caf6c5 Add keys to zoom in / out 2020-05-23 11:03:58 +02:00
tobspr 8dd3a7c748 Add tutorial images for all building variants 2020-05-21 11:40:26 +02:00
tobspr 8760026893 Refactoring of the key action mapper, allow deselecting buildings, make sure stars always spawn in the start region (closes #7) (closes #9) 2020-05-21 10:40:21 +02:00
tobspr 3714a59fca Add customizable keybindings & watermark 2020-05-19 09:14:40 +02:00
tobspr 97f52f509b Rebalance whole game 2020-05-17 14:46:33 +02:00
tobspr 13c6fc7598 Multiple improvements 2020-05-17 10:07:20 +02:00
tobspr 5e3c28c150 Add support for different building variants 2020-05-16 22:45:40 +02:00
tobspr b01d38e55d Initial support for saving games 2020-05-14 21:54:11 +02:00
tobspr 6429f67c7b Add beta mode and hud toggle 2020-05-13 10:41:00 +02:00
Tobias Springer 93c6ea683d Initial commit 2020-05-09 16:45:23 +02:00