dragonruby-zif
dragonruby-zif copied to clipboard
Zif: A Drop-in Framework for DragonRuby GTK
Adds on_mouse_enter and on_mouse_exit handlers through Hoverable module.
Latest DRGTK supplies `fn.send_each` which may give some perf improvement in `CompoundSprite`'s `draw_override`
Handle filter_keys (or abscence) properly, fix up FILTER_ALPHA_NUMERIC_UPPERCASE
Due to expecting to call `draw_override`, there is an incompatibility when trying to add a `Zif::CompoundSprite` to the `@sprites` array on another `Zif::CompoundSprite`. An example to illustrate this would be...
The camera should work this smoothly when zooming & panning:  This is basic behavior from Godot Camera2D
It should be fairly easy to modify `Zif::Camera` to implement a parallax effect (e.g. flappy dragon) This might be a good first project for a new contributor: 1. Create a...
> Zif is doing very little interactively with DR so I am pretty sure I could get away with rspec tests and some minimal mocking. But it leaves it open...
To demonstrate the benefit of using the framework, apples to apples comparisons of Zif code versus the samples provided in the DR documentation should be written. These are easy first...
This works: ``` self.player_sprite = Zif::Sprite.new.tap do |s| s.x = player.x s.y = player.y s.w = player.size s.h = player.size s.path = 'sprites/spritesheet.png' s.source_h = 8 s.source_w = 8 s.source_x...
The blendmode_enum aliases stopped working in v6, so this is a simple fix to remove the intermediary `blendmode` attribute and `blend=` method.