1
0
Fork 0
mirror of https://github.com/Reuh/ubiquitousse.git synced 2025-10-27 17:19:31 +00:00
Commit graph

53 commits

Author SHA1 Message Date
010a526ef3 Add has and ipairs to uqt.util 2021-07-18 19:30:57 +02:00
4b75f21e52 Remove backend system and ctruLua support
Since I only use the LÖVE backend anyway, this simplifies the code.
Tidied some code.
2021-07-18 19:30:43 +02:00
9f4c03a136 Add callback, children, timer example systems 2021-06-24 16:24:54 +02:00
6ee98c097f Add license, readme 2021-06-24 15:50:46 +02:00
366bb63ed5 Fix error if onRemove in subsystem call :remove again 2021-04-13 01:55:29 +02:00
f607058753 ecs overhaul part 2
Various improvements made as they were needed:
* only gives the entity system table as argument in callback as that's the only thing needed most of the time
* to access the entity, a .entity field in now defined in every entity system table
* filter use ecs.any when given a table; allow booleans for always/never filter
* removed .m table from entity
* added ability to define methods on entities system table directly; allows to re-implement previous .m functionality (will provide some example systems in a later commit)
2021-04-13 01:35:43 +02:00
cc0ed18eb3 Fix onUpdate not receiving self argument 2021-04-13 01:25:27 +02:00
aa45a2cdac Allow timers to exist without a registry; remove global registry
In order to allow manual management of timers and better integration with ECS; you would typically let the uqt.ecs handle timers as separate entities, updated by a timer system.
A default global registry is highly redundant in this context. Scene timers registry are still a thing anyway.
2021-02-20 04:47:43 +01:00
3a94c6b60d ecs overhaul
Main incompatibility is passing the table entity[system.name] as first argument in a lot of callbacks
2021-02-18 17:17:43 +01:00
394c658d8b Dt in seconds, minor fixes 2021-02-18 17:14:29 +01:00
fdd69fd7f8 Restructure timer 2021-02-18 17:13:56 +01:00
5d2c9c5f31 Typo 2020-04-07 17:36:19 +02:00
1ec81f2ebb Fix triggeringTrigger, improve gamepad handling 2020-04-06 17:28:26 +02:00
d85424d866 Add triggerThresold (0.5 by default) for buttons associated with axes, grabbing terminology change
courtesy of Lenade Lamidedi
2020-04-02 21:02:09 +02:00
f22e0bef26 uqt.timer: now account for update lag, use only dt for calculations 2019-12-29 22:32:30 +01:00
6dc939bd16 Define uqt.ecs callback order 2019-12-29 20:33:29 +01:00
a1801679b6 Use require() to load scenes 2019-12-29 17:54:18 +01:00
15dfb18c65 Button combinations, create signal registry per scene 2019-12-28 16:13:52 +01:00
f6fb8ad649 uqt.signal 2019-12-27 18:54:30 +01:00
82bc7268e6 Rename time to timer 2019-12-25 16:15:40 +01:00
b5324faace Add ecs.scene 2019-12-24 19:52:48 +01:00
16e533d176 Code reorganization, added uqt.ecs, removed LÖVE duplicates (uqt.audio, uqt.draw, uqt.filesystem) 2019-12-24 19:05:50 +01:00
523c5d36c0 ubiquitousse.util 2018-11-02 17:36:33 +01:00
6283522003 fix ubiquitousse.asset 2018-11-02 16:53:42 +01:00
ed683c6a70 ubiquitousse.asset 2018-11-02 16:09:18 +01:00
bdb9e710d9 LÖVE 11.1 2018-11-02 15:03:40 +01:00
389ebcba8d Custom dofile, take 2 2017-09-02 20:06:13 +02:00
5961b217c5 Custom dofile 2017-09-02 19:47:06 +02:00
Reuh
c7e72a0295 Timed functions callbacks now receive the timed function object as first argument 2017-07-28 19:21:24 +02:00
Reuh
ddcb03f89e Adding items to the todo list 2017-07-17 15:49:03 +02:00
Reuh
5c90076f22 Fix nil ref 2017-04-07 13:37:08 +02:00
Reuh
d24ffed189 Typo
pretty cool type isn't it
2017-04-06 19:26:46 +02:00
Reuh
38551c8d8b Millisecond fix 2017-04-06 16:53:06 +02:00
Reuh
f3b5338779 DAMN SEQUENTIAL ORDER 2017-04-05 21:08:34 +02:00
Reuh
e063f55514 Probably works better this way 2017-04-05 21:01:42 +02:00
Reuh
b2d22c75d1 Made modules indepent 2017-04-05 20:44:00 +02:00
Reuh
b55c6b0dfd stuff 2017-04-05 20:14:48 +02:00
Reuh
08afbe1d6d fix 2016-12-25 21:23:39 +01:00
Reuh
c0db856b82 Added uqt.input for ctrulua and other stuff 2016-12-25 21:05:10 +01:00
Reuh
42738cc7c9 abstract is ded 2016-12-24 21:15:27 +01:00
Reuh
07cc7216a1 The Ubiquitousse Update 2016-12-23 17:22:38 +01:00
Reuh
8ccf3534bc Update 2016-12-23 17:06:57 +01:00
Reuh
52b3389e13 Optionals arguments to scene.draw and scene.update 2016-06-29 19:07:39 +02:00
Reuh
35c528f858 Cleaner 2016-04-29 19:01:47 +02:00
Reuh
10848f546e Fix TimeRegistry problems 2016-04-29 17:07:55 +02:00
Reuh
0b99502708 second -> millisecond. More adapt unit and avoid precision loss when working on float numbers. 2016-04-28 19:52:05 +02:00
Reuh
39198a3bd3 Added scene path prefix 2016-04-26 17:34:41 +02:00
Reuh
5268bd0c5b Well 2016-04-26 17:20:20 +02:00
Reuh
403aa80c46 Addded basic ctrµLua backend, only load backend for loaded modules 2016-04-26 17:17:46 +02:00
Reuh
cb14434567 Fixed reference to moved fields 2016-04-26 17:04:35 +02:00