Commit Graph

216 Commits

Author SHA1 Message Date
Piotr 'pwh' Hanusiak
1ca393f3db open website linked from Tiled Object 2022-04-12 10:57:38 +02:00
Piotr 'pwh' Hanusiak
255f4375da go from zones to area name for interactive Tiled Objects 2022-04-11 16:16:52 +02:00
Piotr 'pwh' Hanusiak
2fa504a189 add test map 2022-04-11 13:40:55 +02:00
Benedicte Quimbert
fac445a8fe Fixes tileset import 2022-03-25 16:40:05 +01:00
Benedicte Quimbert
4215925141 Adds test map 2022-03-25 16:40:05 +01:00
Valdo
6d9a3f45dc
Allow audio (#1991)
* Removing old unused images

Just a bit of cleanup!

* Allow audio feature

* Pretty

* Ignored screenshot folder

* Added manual test

* Simplified test map

Co-authored-by: Valdo Romao <v.romao@thecodingmachine.com>
2022-03-21 16:22:51 +01:00
Piotr Hanusiak
d4dcd0d5ce
Actions menu api (#1862)
* wip

* wip

* random action on click

* removing actions

* register single key per command use

* change removeActionsMenu action name

* fixed actions menu not hiding content properly:

* actions menu fix

* added mock Block Player action

* ActionsMenu buttons styling

* added displaying priority for menu actions

* moved utils actionMenu features to the UI

* import as a type:

* more object oriented style for API

* removed registered actions from RemotePlayer instance

* readme update

* Fixing typos / Improving wording

* added instructions on AlterActionsMenu test map

Co-authored-by: Hanusiak Piotr <piotr@ltmp.co>
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
2022-03-14 10:15:10 +01:00
Piotr Hanusiak
0196eae055
async call for recalculating tiles costs (#1890)
* async call for recalculating tiles costs

* fixed setWalkingCostGrid still being a blocking process

* set exits tiles cost from the start

* removed typing error from code

Co-authored-by: Hanusiak Piotr <piotr@ltmp.co>
2022-03-08 16:28:54 +01:00
Lukas Hass
ed0e49d16e
update docs and remove references to testcafe 2022-02-18 16:11:26 +01:00
Hanusiak Piotr
3875d3b0f5 Merge branch 'develop' into avoid-exits-on-path 2022-02-16 14:03:48 +01:00
David Négrier
0b82df0d41 Merge branch 'develop' of github.com:thecodingmachine/workadventure into move-to-improvements 2022-02-11 16:58:40 +01:00
Hanusiak Piotr
65fb15704e calculate cost for exit tiles 2022-02-10 17:15:33 +01:00
Hanusiak Piotr
470e3ca1ce cr fixes #1 2022-02-09 15:15:14 +01:00
Hanusiak Piotr
71e18d1838 update moveTo test map 2022-02-09 11:05:43 +01:00
Hanusiak Piotr
fe570c9117 moveTo object position 2022-02-09 10:17:31 +01:00
Hanusiak Piotr
20267d3483 Merge branch 'develop' into fix-issue-1835 2022-02-09 09:35:43 +01:00
Hanusiak Piotr
b32a2970e4 collisionGrid now updates on showing / hiding layers 2022-02-08 15:46:41 +01:00
Hanusiak Piotr
57bd8783e0 scroll factor applied automatically 2022-02-08 13:17:35 +01:00
Hanusiak Piotr
a53cbbff34 create test map 2022-02-08 11:04:12 +01:00
Alexis Faizeau
60c17ecea2 Re-implement set width of main cowebsite 2022-02-07 14:55:51 +01:00
Alexis Faizeau
56d8f62dd0 Add a new test map for co-website with trigger property 2022-01-27 16:33:11 +01:00
David Négrier
2cf51a058a
Merge pull request #1757 from ValdoTR/typos
Fixed some typos :)
2022-01-25 21:06:24 +01:00
Valdo Romao
aefb28d895 Fixed some typos :) 2022-01-25 19:43:27 +00:00
Hanusiak Piotr
90a76e9f04 fixed layer name in docs 2022-01-25 11:03:58 +01:00
Hanusiak Piotr
934a59e59f improved way of getting hash parameters 2022-01-25 10:05:04 +01:00
Hanusiak Piotr
cebb803b2b added test for moveTo command 2022-01-20 15:47:49 +01:00
Hanusiak Piotr
72c7eae559 readme changes 2022-01-20 12:54:55 +01:00
Hanusiak Piotr
b088e63290 little fixes for moveTo example and with event return data 2022-01-20 10:04:19 +01:00
Hanusiak Piotr
62b00f852d throw an exception if no path found when using player.moveTo command. Cancelling path following no longer rejects the promise 2022-01-19 17:22:28 +01:00
Hanusiak Piotr
8f40e7a33c reject path following path promise if interrupted 2022-01-19 14:16:05 +01:00
Hanusiak Piotr
c023c4f8fd optional following path movement speed 2022-01-19 13:53:06 +01:00
Hanusiak Piotr
f78392ceab Pathfinding manager will now return path steps in pixel units by default 2022-01-19 12:30:08 +01:00
Hanusiak Piotr
29e44d3023 Player move API wip 2022-01-19 09:34:06 +01:00
David Négrier
82c2d21423
Merge pull request #1654 from thecodingmachine/feature-camera-management
Feature camera management
2022-01-14 11:57:05 +01:00
Hanusiak Piotr
7ee41bad30 change setViewport action to set for CameraAPI 2022-01-14 11:41:37 +01:00
Hanusiak Piotr
c2b2385e96 Camera now centers on focusable zone properly 2022-01-13 18:54:38 +01:00
Hanusiak Piotr
a164cedf3f Camera FocusTarget width and height are now optional 2022-01-13 16:43:58 +01:00
Hanusiak Piotr
d62b116e5d merge setPosition and focusOn into setViewport 2022-01-13 16:08:16 +01:00
David Négrier
57d2dec756
Merge pull request #1724 from thecodingmachine/master
Backport fix 2022-01-13
2022-01-13 15:59:54 +01:00
Hanusiak Piotr
a1c96b0524 merged develop 2022-01-13 10:44:06 +01:00
David Négrier
9425fd70c0 Adding a new property to prevent script from being loaded in "modules" mode
Scripts in module mode need to be abide by the Same Origin Policy (CORS headers are used to load them)
This can cause issues on some setups.

This commit adds a new "scriptDisableModuleSupport" that can be used to disable the "modules" mode.

Closes #1721
2022-01-12 17:36:31 +01:00
Hanusiak Piotr
58af1f05f7 unlocking zooming with a delay when entering / leaving focusable zone 2022-01-12 12:08:11 +01:00
Benedicte Quimbert
d672a2dead WIP API updates for tutorial and more 2022-01-03 11:45:47 +01:00
David Négrier
36ce4f8f29
Merge pull request #1664 from Chasethechicken/layers
Add missing layer properties
2021-12-24 16:10:15 +01:00
David Négrier
9efa115982 Merge branch 'master' of github.com:thecodingmachine/workadventure into develop 2021-12-23 11:04:20 +01:00
Chasethechicken
66efdebc78 Fix test map 2021-12-21 23:22:58 +01:00
Chasethechicken
5197428969 Add link to layer visibility test map 2021-12-21 22:24:03 +01:00
Chasethechicken
ee46111d3f Add test instructions
Also make the invisible and alpha layers seperate areas,
to make success more obvious.
2021-12-21 22:22:26 +01:00
David Négrier
90f7287860 Adding the ability to set the player's color outline via the scripting API
(currently not shared with the other players yet)
2021-12-21 17:02:53 +01:00
Chasethechicken
ba7ea16799 Add test map 2021-12-21 11:47:43 +01:00