Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to godot 4 #18

Merged
merged 47 commits into from
Mar 6, 2023
Merged

Migrate to godot 4 #18

merged 47 commits into from
Mar 6, 2023

Commits on Mar 5, 2023

  1. Add .godot to gitignore

    New directory in godot 4
    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    727bbee View commit details
    Browse the repository at this point in the history
  2. Run project upgrade tool

    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    96f2006 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    34b3990 View commit details
    Browse the repository at this point in the history
  4. Update imports

    Add new font import
    This was done by opening upgraded project in editor for the first time
    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    d8ea9de View commit details
    Browse the repository at this point in the history
  5. Fix Explosion.tscn

    Editor said that scene is "broken" when opening it for the first time
    Had to remake by hand
    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    e893212 View commit details
    Browse the repository at this point in the history
  6. Update .tscn and .tres files

    By opening them in editor for the first time
    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    2fa4bde View commit details
    Browse the repository at this point in the history
  7. Update String() to str()

    String ctor with int parameter was removed in godot 4
    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    9c342ee View commit details
    Browse the repository at this point in the history
  8. Switch to Geometry2D

    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    e988c63 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d7b00ca View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    95e39d3 View commit details
    Browse the repository at this point in the history
  11. Fix errors about get_owner() and get_name()

    Those are built-in functions so rename our functions to avoid
    \ overriding them
    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    4758ad5 View commit details
    Browse the repository at this point in the history
  12. Fix _init() calls

    Add calls to super()
    Add spaces between parameters
    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    46dbf98 View commit details
    Browse the repository at this point in the history
  13. Update Gamescene.tscn

    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    f240fd8 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    215dcf8 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    adf99f5 View commit details
    Browse the repository at this point in the history
  16. Comment out outdated tween code

    Fix later
    Remove tween nodes
    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    da13bbe View commit details
    Browse the repository at this point in the history
  17. Update json parsing

    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    359d023 View commit details
    Browse the repository at this point in the history
  18. Print file open errors

    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    c9a7f09 View commit details
    Browse the repository at this point in the history
  19. update() -> queue_redraw()

    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    0949d16 View commit details
    Browse the repository at this point in the history
  20. get_extents() -> size

    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    ab23c4a View commit details
    Browse the repository at this point in the history
  21. Fix export var error

    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    8d45539 View commit details
    Browse the repository at this point in the history
  22. Fix tower buttons

    Reconnect element_changed signal
    Fix mixed tab/spaces
    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    0d5d8f4 View commit details
    Browse the repository at this point in the history
  23. Turn fullscreen back on

    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    26f735f View commit details
    Browse the repository at this point in the history
  24. Fix zoom being inverted

    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    df1db8c View commit details
    Browse the repository at this point in the history
  25. Fix input map

    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    4fc1fc4 View commit details
    Browse the repository at this point in the history
  26. Make camera less zoomed in on startup

    Zoom values were inverted in godot 4
    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    787a0dc View commit details
    Browse the repository at this point in the history
  27. Comment out Selection code

    Fix later
    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    49bd290 View commit details
    Browse the repository at this point in the history
  28. Fix issues with parent class _ready()

    In godot 3, parent class _ready() was implicitly called
    This is not the case for godot 4 anymore
    Add explicit calls to _ready()
    For towers and items, add separate init functions to avoid mistakes
    \ around forgetting super() calls in tower/item scripts
    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    61d0617 View commit details
    Browse the repository at this point in the history
  29. Fix the rest of input map

    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    0d783ad View commit details
    Browse the repository at this point in the history
  30. Update wc3_theme

    By opening in editor for the first time
    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    d7420e6 View commit details
    Browse the repository at this point in the history
  31. Set default font size for wc3_theme

    font_size was added in godot 4
    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    d0b773f View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    db49517 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    b161872 View commit details
    Browse the repository at this point in the history
  34. Fix tower_icons_s size_limit

    Use width not height and divide by 4 not 2
    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    68b051b View commit details
    Browse the repository at this point in the history
  35. Fix layout of HUD elements

    Praytic committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    293ba44 View commit details
    Browse the repository at this point in the history
  36. Add bindings for LMB and RMB

    To ui_accept and ui_cancel
    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    7ca2be9 View commit details
    Browse the repository at this point in the history
  37. Fix projectile sprite

    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    74ae4aa View commit details
    Browse the repository at this point in the history
  38. Update tweens to new API

    Modify FloatingText tweens slightly
    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    e6a888a View commit details
    Browse the repository at this point in the history
  39. Update randomization

    Don't need to call randomize()
    randi_range() was added to godot 4
    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    565db42 View commit details
    Browse the repository at this point in the history
  40. Fix warnings

    Kvel2D committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    9cd513b View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2023

  1. Reimport tileset assets

    Praytic committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    5bd9a57 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8c4dfd2 View commit details
    Browse the repository at this point in the history
  3. Fix tilemap props

    Praytic committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    16e75d5 View commit details
    Browse the repository at this point in the history
  4. Change tile size

    Praytic committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    48dbbaf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cd61132 View commit details
    Browse the repository at this point in the history
  6. Fix range indicator

    Restore original animation speed
    Scale down pulse texture
    Fix tower preview modulate applying to range indicator as well,
    \ apply it only to tower visual
    Kvel2D committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    71fbf50 View commit details
    Browse the repository at this point in the history
  7. Fix MobYSort

    YSort was removed in godot 4
    Turn on y_sort_enabled for MobYSort node to approximate old effect
    Kvel2D committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    c6490bd View commit details
    Browse the repository at this point in the history