teoxoy
518b45b073
update to PIXI.js v8
...
add Logger abstraction
replace Textbox with TextInput (DOM based)
other misc updates
2024-12-20 00:58:23 +01:00
Teodor Tanasoaia
cba774314b
add 404.html
...
This is needed for cloudflare to not infer that we are a SPA
and serve index.html on any route it doesn't find.
2024-12-11 23:44:01 +01:00
Teodor Tanasoaia
035ccfe2d8
update CSP
2024-12-11 23:44:01 +01:00
teoxoy
ddbdb81155
only use new clipboard API
2024-12-11 23:44:01 +01:00
teoxoy
886ce08eb9
switch to vite
2024-12-11 23:44:01 +01:00
teoxoy
1262502e9b
reformat files
...
via `npm run format:fix`
2024-12-09 03:39:28 +01:00
teoxoy
dd37d97b87
update the exporter
...
add support for windows
2024-12-08 01:59:37 +01:00
Bart Duisters
a2bdcd2d79
Update index.html - fix typo
...
Avalible -> Available
2024-03-15 10:17:24 +01:00
Cryhot
0bec144b89
Adds circuit wires ( #248 )
...
* add option to allow unreachable wire connections
this affects how the entities can be repositionned
* refactor IConnection to allow arbitrary wire connection points
* made getEntityAtPosition take a IPoint instead of x and y
* add util.sumprod function for vector manipulation
* add helper functions for locating wire connection points
namely:
- Entity.getWireConnectionBoundingBox
- PositionGrid.getConnectionPointAtPosition
* add circuit wire placement from the UI
* fix tile rotation (e.g., hazard concrete)
* make the connection point bounding box a full cell when it is single
* make wire "rotation" cycling from red to green
* make BlueprintContainer default settings reflect the saved settings
(dirty fix, it would have been cleaner to save the settings outside of BPC)
* mostly fixing typos
* make pressing the pipette (Q) while placing wire cancel the wire
2023-02-20 22:44:09 +01:00
Ken Vogel
455cd36034
Blueprint tools (rotate, flip) for #9 , and additive past e ( #237 )
2022-03-11 17:00:26 +01:00
teoxoy
de9e3a0411
fix not all files getting copied
2021-12-16 16:30:17 +01:00
teoxoy
b8143b5a3e
update dependencies
2021-12-16 15:18:18 +01:00
teoxoy
c02052012b
delete old stuff (everything related to adding mod support)
2021-12-12 23:53:36 +01:00
teoxoy
1eb3901f5b
fix cache control headers for js and css
2021-12-12 01:03:01 +01:00
teoxoy
475516f31a
remove cloudflare web analytics (will be enabled automatically by cf pages)
2021-12-12 00:47:53 +01:00
teoxoy
38f29998cd
add cache control headers
2021-12-12 00:44:15 +01:00
teoxoy
879aeedad8
add support for deploying on cloudflare pages
2021-12-11 19:31:42 +01:00
teoxoy
35f3d38224
update PIXI to 6.1.3
2021-09-29 18:18:37 +02:00
teoxoy
eb3766b4b0
upgrade basis to 1.15
2021-09-29 18:08:10 +02:00
teoxoy
a6cb87c489
support books containing upgrade and deconstruction planners
2021-09-28 16:12:25 +02:00
teoxoy
abe58f4b3b
add factorio.school as a source
...
closes #227
2021-02-10 16:27:12 +01:00
teoxoy
8113ed3e4d
use preventDefault to disable the contextmenu
2021-01-23 14:15:51 +01:00
teoxoy
b98e008425
add cloudflare web analytics
2021-01-20 22:33:36 +01:00
teoxoy
54006ac798
use pluginReplace for env variables
2021-01-19 21:54:14 +01:00
teoxoy
cebe828a8d
update pixi
2021-01-14 15:34:57 +01:00
teoxoy
769cece42b
clear previous book when loading a blueprint
2021-01-12 17:49:46 +01:00
teoxoy
a084931736
add support for nested blueprint books
...
fixes #223
2021-01-12 13:17:47 +01:00
teoxoy
09337a8d7a
attach info panel event listener on the window
...
fixes #180
2021-01-11 08:50:31 +01:00
teoxoy
f7c64891ce
update fusebox and rebuild lock file
2021-01-07 23:28:22 +01:00
teoxoy
1f4e9fb734
update pixi
2021-01-03 17:29:51 +01:00
teoxoy
e03a7383d1
update typescript and ts-node
2020-12-13 17:10:46 +08:00
teoxoy
e9625f7c71
update eslint
...
remove deprecated 'interface-name-prefix' and 'camelcase'
fix lint issues
2020-12-12 19:35:15 +08:00
teoxoy
87d4d95e6c
update fuse-box
...
tweak sourceMap config
enable in memory caching while in development
2020-12-12 18:56:28 +08:00
teoxoy
5fefe1d848
add alt
2020-12-12 17:05:00 +08:00
teoxoy
45d6d6ab85
update to PIXI v5.4.0-rc.3
...
make use of BASIS universal
generate assets at build time
- add new exporter package (removes the need for a backend)
- move factorioData inside editor package
2020-12-12 17:04:32 +08:00
teoxoy
ed92acb864
remove wait cursor from loading screen
2020-12-06 04:03:23 +08:00
teoxoy
b25da9f74e
add noopener
2020-12-06 04:01:59 +08:00
teoxoy
37d04e5e9f
avoid using the unload event
...
https://developers.google.com/web/updates/2018/07/page-lifecycle-api?utm_source=lighthouse&utm_medium=devtools#the-unload-event
2020-12-06 04:01:22 +08:00
teoxoy
1ee4ab95eb
render using projection matrix
2020-07-30 14:52:48 +08:00
Teoxoy
84e10ae921
update to pixi v5.3.0
2020-06-23 11:12:25 +08:00
Teoxoy
fd091b23a2
sort modules by order
2020-06-22 12:58:50 +08:00
Teoxoy
132b3a3f67
use pluginLink to import wasm files
2020-06-02 13:05:02 +08:00
Teoxoy
c2ed10659a
change default /resources public path to /assets
2020-06-02 13:04:18 +08:00
Teoxoy
3ed6840ed4
add vendor bundle and add hashes in production
2020-06-02 13:02:38 +08:00
Teoxoy
cb9038129f
update fuse-box
2020-06-02 13:01:06 +08:00
Teoxoy
516a5f9650
replace spritesheetsLoader with DynamicSpritesheet
...
redo CreateIcon function
make loadBlueprint async
use FD.utilitySprites data in OverlayContainer
change OptimizedContainer to inherit from PIXI.Container instead of PIXI.ParticleContainer because we no longer have just one spritesheet
2020-05-30 17:17:44 +08:00
Teoxoy
436c674a5d
integrate local factorio-data package
...
simplify inventory creation code
2020-05-30 16:40:05 +08:00
Teoxoy
1e70cafdc6
add WebAssembly warning
2020-05-30 16:40:05 +08:00
Teoxoy
68f4d831ef
add load timer in debug mode
2020-05-30 16:40:05 +08:00
Teoxoy
b6746a779f
create Editor class
2020-05-30 16:40:05 +08:00