Gravity Duel, v1.3
Posted on

2D puzzle game for Android inspired by various shoot 'em up games reduced to a duel of two players and combined with gravity effects (but only for impulses).
Perform refactoring.
Change Log
- Improve the type assertions
- Add the
Collidermixin - Add the
Impulse:vector_to()method - Add the
Rectangle:font_size()method - Add the
StatsManagerclass - Add the
typeutils.is_number()function - The main code:
- Add the
_add_impulse()function - Add the
_add_target()function - Add the
_add_hole()function - Rename the
_make_screen()function to_create_screen()
- Add the
- The
Circleclass:- Add the
Circleclass - Support negative coordinates in the
Circleclass - Add the
TemporaryCircleclass
- Add the
- The player:
- Add the
Player:direction()method - Rename the
Player:move()method toPlayer:set_velocity()
- Add the
- The scene:
- Add the
Sceneclass - Add the
Scene:control_player()method
- Add the
- The UI:
- Rename the
Ui:player_position()method toUi:player_move_direction() - Fix the
Ui:player_angle_delta()method - Add the
Controlsclass - Make the
Uiclass a parent for theControlsclass
- Rename the
- The drawing utilities:
- Add the
drawing.draw_drawables()function - Add the
drawing.set_font()function - Add the
drawing.draw_labels()function
- Add the
- The window utilities:
- Add the
window.enter_fullscreen()function - Add the
window.create_screen()function
- Add the
- The math utilities:
- Add the
mathutils.transform_vector()function - Fix the
mathutils.random_in_range()function
- Add the
- The miscellaneous utilities:
- Add the
miscutils.repeat_at_intervals()function - Add the
miscutils.filter_destroyables()function
- Add the
- The documentation:
- Fix the documentation of the
Playerclass - Fix the documentation of the
Statsclass - Fix the documentation of the
BestStatsclass - Fix the documentation of the
Uiclass
- Fix the documentation of the
Repository
Link: https://github.com/thewizardplusplus/gravity-duel/tree/v1.3.
Content: code.
License: MIT.