Gino Valente

Results 59 issues of Gino Valente

# Objective The current serialization format used by `bevy_reflect` is both verbose and error-prone. Taking the following structs[^1] for example: ```rust // -- src/inventory.rs #[derive(Reflect)] struct Inventory { id: String,...

C-Usability
A-Reflection
S-Controversial

The `TileAtlasBuilder` that was recently added (by my mistake 😅) could be replaced with a dependency on [`bevy_tile_atlas`](https://crates.io/crates/bevy_tile_atlas). The addition is actually an outdated version of that crate (I wrote...

Fixes: #111 The borders were incorrectly swapped along the y-axis. This PR corrects their orientation. This brings to light an issue with the current implementation, though, that I'm unsure how...

## Objective > [Rendered](https://github.com/StarArawn/kayak_ui/blob/6b3db66553a757cdc78261a1ba913a41c4ff2088/rfcs/rfc-4-text-selection-design.md) This RFC is meant to be an _overview_ of text selection. It focuses less on implementation and more on the general concepts. This way, we have...

rfc

## Problem Currently, there's no way to set the opacity of a widget. This is important when creating overlays and other UI effects. ## Solution Add an `opacity` style property....

enhancement

## Problem Currently, when a widget is removed, it leaves behind pretty much all data associated with it. This is because we typically store that data based on its `Index`,...

enhancement

## The Problem Currently, when processing events we iterate through every node in the tree using `down_iter`: https://github.com/StarArawn/kayak_ui/blob/a068b4ab4f9b83ba21a4b73598559987d981c9c3/kayak_core/src/context.rs#L277 And even with #43, we still iterate through every node: https://github.com/StarArawn/kayak_ui/blob/63d62f2ad6c18ca0c3217d0e4c20a11206fd9a9f/kayak_core/src/event_dispatcher.rs#L147-L149 This...

enhancement

[RENDERED](https://github.com/MrGVSV/rfcs/blob/main/rfcs/59-from_reflect_ergonomics.md) Derive `FromReflect` by default when deriving `Reflect`, add `ReflectFromReflect` type data, and make `ReflectDeserializer` easier to use.

## What is this? This is an update to the crate that replaces `typetag` with Bevy's reflection system. It also contains major changes to how prototypes are loaded, spawned, written,...

I am trying to create a dynamic serializer for `enum` types and noticed that the `Serializer::serialize_***_variant` methods all require `&'static str` over just `&str`. Why is this? Could the static...