-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
32 lines (22 loc) · 938 Bytes
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
esper-pkpy
esper python ECS ported to pocketpy (pkpy)
https://github.com/benmoran56/esper/
https://github.com/pocketpy/pocketpy
get pocketpy...
https://github.com/pocketpy/pocketpy/archive/refs/tags/v1.4.5.zip
build pocketpy shell...
pip install cmake
python cmake_build.py
run pocketpy tests...
python scripts/run_tests.py
test the pocketpy shell (type "exit()" and then ENTER to exit)...
<path-to-pocketpy>/build/Release/main.exe
run esper-pkpy tests...
<path-to-pocketpy>/build/Release/main.exe ./test_world.py
make esper available as an imported module...
in cpp: vm->_lazy_modules["esper"] = "<contents of esper.py>";
in py: import esper
warning...
esper's event 'handler' system uses weakref system to auto unsubscribe objects. This isn't
available in pkpy so please make use of the manual unsubscription with remove_handler instead
At time of writing, beyond the test_world.py tests, this hasn't been extensively tested