Commit graph

  • e223bf669b
    lua: set expose_table_wrapper to pub, add requries in some lua type defs main SeanOMik 2025-02-10 20:57:19 -05:00
  • 092fcb4b40
    lua: create type defs for Rect, animation sheet, and tilemap related APIs SeanOMik 2025-01-29 20:03:31 -05:00
  • bb120e67f6
    lua: fix Pivot.CUSTOM enum, create ImageHandle type def SeanOMik 2025-01-28 21:28:04 -05:00
  • a8f6e5e380
    engine: custom controls for TopDown2dCamera SeanOMik 2025-01-27 21:38:39 -05:00
  • f468abc597
    scripting: implement Default for any T for ScriptContexts<T> SeanOMik 2025-01-25 09:52:02 -05:00
  • 2d1bcb0b3b lua: add macro command for skipping reflect implementation SeanOMik 2025-01-23 17:45:51 -05:00
  • 173d957f25
    asset: implement Reflect for the ResourceManager SeanOMik 2025-01-11 20:47:36 -05:00
  • 9fc3d1eaaa
    lua: implement adding lua functions to types that use the LuaConvert derive macro SeanOMik 2025-01-11 18:20:37 -05:00
  • d0f337b113
    lua: export VecN::distance SeanOMik 2025-01-11 18:20:07 -05:00
  • 2ecb48c89e
    lua: create LuaConvert derive macro SeanOMik 2025-01-10 11:18:14 -05:00
  • 8248c4918a
    lua: improve World:view so the user doesn't have to manually create a view SeanOMik 2025-01-07 21:10:35 -05:00
  • 7cc1ff262a
    lua: replace LuaViewOneResult with a get_one method on LuaViewREsult SeanOMik 2025-01-07 20:39:13 -05:00
  • ba4acba638
    lua: remove ReflectBranch::as_component_unchecked and improve error handling SeanOMik 2025-01-07 19:18:00 -05:00
  • b2b19c9ccc
    Use full paths for items used in wrapper proc-macros SeanOMik 2025-01-05 21:22:15 -05:00
  • 4fd4bbe574
    expose sprite related things to lua, improve wrapper macros SeanOMik 2025-01-05 19:20:02 -05:00
  • ac4f00568a
    lua: create LuaSprite and lua type bindings SeanOMik 2025-01-04 16:09:26 -05:00
  • ca7be93505
    engine: remove lifetimes from EventReader, fixes issues for lua scripting SeanOMik 2025-01-03 22:41:35 -05:00
  • 467bdd6d13
    scripting: fix forgotten rename of LuaFreeFly3dCamera SeanOMik 2025-01-03 22:40:32 -05:00
  • 6f65e66bf2
    ci: remove last version of nightly, try to fix cache SeanOMik 2025-01-02 23:51:28 -05:00
  • 3756c2f466
    Add last nightly version to ci, fix tons of compiler time errors in tests SeanOMik 2025-01-02 23:32:59 -05:00
  • c04b11985a
    Fix CI SeanOMik 2025-01-02 13:58:48 -05:00
  • f9c077bdef
    sprite: update tile sprites when their atlas index changes SeanOMik 2025-01-01 21:17:36 -05:00
  • 3cbc1933c3
    ecs: implement removing components from entity SeanOMik 2024-12-31 22:40:37 -05:00
  • f9e42b1aaa
    increase sprite limit in sprite pass, use TransformBudle in TileMap impl SeanOMik 2024-12-31 11:59:26 -05:00
  • 8629433211
    render: make EitherTransform ecs query public SeanOMik 2024-12-26 19:42:12 -05:00
  • 32f16e4d10
    render: sort transparent sprites to render last SeanOMik 2024-12-23 19:07:04 -05:00
  • 4ecf09f0b3
    render: sprite sorting with optional offset SeanOMik 2024-12-21 22:25:11 -05:00
  • 3298d17e61
    Create related_by query, remove tracing feature from examples SeanOMik 2024-12-21 14:31:10 -05:00
  • c3330c044b
    scene: create TransformBundle SeanOMik 2024-12-20 21:35:33 -05:00
  • 661f91625c
    scene: use new Without ecs query instead of Not<With<T>> SeanOMik 2024-12-19 18:08:28 -05:00
  • 9eb19f2e2f
    Remove tracing subscriber from game crate, rename Has<C> to With<C> create Without<C> ecs filters SeanOMik 2024-12-18 22:08:58 -05:00
  • e99153a53d
    game: fix latency of input events and repeated events SeanOMik 2024-12-17 21:42:35 -05:00
  • d4fc3000f1
    Implement optional sprite animation auto looping SeanOMik 2024-12-01 18:15:27 -05:00
  • 275fdbc8d8
    Implement padding and offset for TextureAtlas::from_grid, specify sprite pivot for atlas animations SeanOMik 2024-12-01 11:36:50 -05:00
  • caf410a4c6 Merge branch 'feat/rendering-2d-31' into 'main' SeanOMik 2024-11-30 21:39:21 -05:00
  • d2062fab99
    ecs: create DynTypeId::as_unknown SeanOMik 2024-11-06 21:22:25 -05:00
  • 286cd9a914 remove InterpTransform, create EitherTransform query, some code cleanup SeanOMik 2024-11-30 16:46:53 -05:00
  • 863a1d0cbf ecs: add doc comments SeanOMik 2024-11-30 16:31:16 -05:00
  • 4a70b3c026 ecs: rewrite Or to be a Filter and Query SeanOMik 2024-11-30 16:30:17 -05:00
  • 5a0e06f94d Fix Changed<T> by rewriting ecs Filters, position TileMapPos entities with ChildOf relations SeanOMik 2024-11-30 12:33:23 -05:00
  • 418765d595 render: use depth buffer SeanOMik 2024-11-30 12:05:34 -05:00
  • fa6511bff1 render: create TileMap with a 'RelativeToTile' component to position entities along the grid SeanOMik 2024-11-29 22:01:17 -05:00
  • 4afd518f45 render: remove unused field from SpriteInstance struct on gpu SeanOMik 2024-11-27 23:12:12 -05:00
  • e1f48d525a render: implement sprite pivot, fix sprite centering in ortho projection SeanOMik 2024-11-27 23:04:20 -05:00
  • 3c3025668a Make sprite texture atlas more generic SeanOMik 2024-11-24 21:52:48 -05:00
  • 7e9ece83a2 Format some code, update wgsl-preprocessor crate SeanOMik 2024-11-24 16:32:52 -05:00
  • 05ed1f1135 2d: support animating from ResHandle<AtlasAnimations>, not just non-asset handles SeanOMik 2024-11-24 11:15:34 -05:00
  • af2d7b4980 2d: create an animation sheet component SeanOMik 2024-11-24 11:01:31 -05:00
  • e3b0b1de8f implement texture atlases for sprites, allow storage of assets not from a loader SeanOMik 2024-11-20 17:29:52 -05:00
  • b78101718e game: create TopDown2dCamera controller, fix warning SeanOMik 2024-11-15 23:45:58 -05:00
  • c73ba3b943 rename FreeFlyCamera to FreeFly3dCamera SeanOMik 2024-11-15 23:07:48 -05:00
  • b2f0abf34d render: add more option for scaling modes of orthographic projection SeanOMik 2024-11-15 23:01:35 -05:00
  • c14c46f75d Return Result for asset handle wait_for_load, create shader asset loader that uses the preprocessor SeanOMik 2024-11-14 21:44:19 -05:00
  • 865fbf9b91 update examples to use new camera bundles SeanOMik 2024-11-03 15:02:49 -05:00
  • 6a09b64902 ecs: implement Bundle traits for structs SeanOMik 2024-11-03 12:35:17 -05:00
  • c4e5147967 render: fix 2d camera SeanOMik 2024-11-02 21:46:21 -04:00
  • 6b9561d9bd render: implement 2d sprite rendering SeanOMik 2024-11-02 19:15:35 -04:00
  • 62adcf2b50 ecs: create DynTypeId::as_unknown SeanOMik 2024-11-06 21:22:25 -05:00
  • 4816b7333e
    Make system_update_world_transforms also update world transforms for SceneGraphs SeanOMik 2024-11-01 19:45:29 -04:00
  • 5542467d7e
    separate GLTF loader to its own crate SeanOMik 2024-11-01 12:09:01 -04:00
  • 3ce9ab6fb3
    move crates into 'crates' folder SeanOMik 2024-11-01 11:17:36 -04:00
  • f02d3c6b2f
    render: create a transform pass for sending transforms to the GPU SeanOMik 2024-11-01 11:05:51 -04:00
  • 7ae0eae6ac Merge pull request 'Improve Lua ECS' (#30) from feat/improve-lua-ecs-29 into main SeanOMik 2024-10-29 23:22:19 -04:00
  • fae2cdfadc
    lua: remove old implementation of world:view, replacing it with the new version SeanOMik 2024-10-29 23:20:52 -04:00
  • 076676e486
    lua: write lua annotations for all queries and view one SeanOMik 2024-10-29 23:04:00 -04:00
  • 0e613bd216
    lua: implement world:view_one for lua SeanOMik 2024-10-29 21:56:07 -04:00
  • 964c4ec423
    lua: create LuaOptionalQuery SeanOMik 2024-10-29 14:22:03 -04:00
  • 23a215ba46
    lua: create LuaTickOfQuery SeanOMik 2024-10-29 09:32:32 -04:00
  • 42112c2cf1
    lua: create LuaOrQuery SeanOMik 2024-10-29 09:19:54 -04:00
  • f2ff2a9855
    lua: start using LuaQueryResult in all lua ecs queries SeanOMik 2024-10-29 09:10:14 -04:00
  • 7c2efe3c6f
    lua: create LuaNotQuery SeanOMik 2024-10-29 08:48:30 -04:00
  • cb3c3a601f
    lua: create LuaQueryResult for simplying implementation of queries and filters SeanOMik 2024-10-23 16:47:45 -04:00
  • 8072ec1c7e
    lua: create LuaHasQuery SeanOMik 2024-10-23 16:31:47 -04:00
  • 4dbd96832f
    lua: add world:get_tick() to lua, write some missing type annotations SeanOMik 2024-10-21 21:58:22 -04:00
  • 2e33de5da2
    lua: implement Changed query that supports components and resources SeanOMik 2024-10-20 21:20:43 -04:00
  • 74465ce614
    lua: code cleanup SeanOMik 2024-10-19 20:51:54 -04:00
  • 380b15e560
    lua: implement ecs queries that work with the new Views SeanOMik 2024-10-19 20:42:28 -04:00
  • 2ffdd4085b
    lua: create Views that can query from the world SeanOMik 2024-10-19 17:45:59 -04:00
  • 156cbf25a4
    fix ci by ignoring tracy tsc check SeanOMik 2024-10-19 11:48:24 -04:00
  • b2d259ac71 Merge pull request 'Expose structs to Lua and write Lua type annotations' (#28) from feat/lua-type-defs into main SeanOMik 2024-10-19 11:16:33 -04:00
  • d001e136d0
    lua: expose WorldTransform SeanOMik 2024-10-17 17:11:46 -04:00
  • d0e6fc6ecd
    lua: make it easier to expose events and asset handle wrappers SeanOMik 2024-10-13 12:30:06 -04:00
  • 6a47cd2671
    lua: expose DeviceEvent SeanOMik 2024-10-13 11:43:49 -04:00
  • 8e56ee1f0f
    lua: start exposing events SeanOMik 2024-10-11 20:49:00 -04:00
  • 9e9478966b
    lua: cleanup SeanOMik 2024-10-09 12:06:08 -04:00
  • 624cd5362f
    lua: change lyra-scripting path in lyra-engine crate SeanOMik 2024-10-09 11:08:21 -04:00
  • eff6b221e0
    remove unused code, cleanup some warnings SeanOMik 2024-10-09 10:56:54 -04:00
  • 77ec620adb
    lua: remove unused fields in FreeFlyCamera SeanOMik 2024-10-09 10:30:45 -04:00
  • 6f65e2ce35
    lua: add lua type defs for FreeFlyCamera and change name of field SeanOMik 2024-10-08 20:49:57 -04:00
  • b90e19161d
    lua: expose FreeFlyCamera SeanOMik 2024-10-07 16:28:38 -04:00
  • e9cbb48653
    lua: expose camera, support ToLua and FromLua structs in World:view SeanOMik 2024-10-07 15:20:13 -04:00
  • 49dfb38da3
    lua: expose fields on some types from lyra_resource SeanOMik 2024-10-05 13:46:53 -04:00
  • 140ca506d6
    lua: create type defs for World, Entity, ActionHandler, all asset handlers, add globals file SeanOMik 2024-10-04 23:48:58 -04:00
  • 06a4301c23
    lua: create type defs for Vec2, Vec3, Vec4, Quat, Transform, and DeltaTime SeanOMik 2024-10-04 15:07:42 -04:00
  • de14b6211b
    lua: create type defs for Window and start on Vec2 SeanOMik 2024-10-03 19:07:11 -04:00
  • a2c52a0bb8
    ecs: fix Changed query; lua: lock and hide mouse in window SeanOMik 2024-10-02 21:29:13 -04:00
  • 76b7cac699
    lua: expose most fields for window component SeanOMik 2024-10-02 20:54:54 -04:00
  • 64099f598c
    fix ci test step SeanOMik 2024-09-30 19:59:26 -04:00
  • 958c86cf73 Merge pull request 'Fix #19: Lua crashes when spawning entities in optimized builds' (#27) from fix/scripting-switch-to-mlua into main SeanOMik 2024-09-29 21:39:20 -04:00
  • ef2b0bf326
    ecs,scripting: fix invalid resources being passed to lua SeanOMik 2024-09-29 14:35:24 -04:00