Skip to content

uralys/fox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

501 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Fox

License version

🦊 Fox provides tooling while developing with Godot Engine.

Scenes and scripts

With Fox, you can use Scenes, Resources, scripts and static functions to build your app.

As an example, this code will move 3 nodes to the same position, with a delay of 1 second between each animation. Finally it fill print 'DONE' in the console.

  Animate.to([potion, car, book], {
    propertyPath = "position",
    toValue = Vector2(0, 0),
    delayBetweenElements = 1,
    onFinished = func():
      G.log('DONE');
  })

This other one sends a body to a REST API, handles and logs the result while showing a loader:

  Router.showLoader()

  HTTP.Post(self, {
    endpoint = "/score",
    body = {playerId = "FieryFox", score = 100},
    onError = func(_result, _response_code, _headers, _body):
      handleScoreFailure()
      Router.hideLoader()
    ,
    onComplete = func(_result, _response_code, _headers, body):
      var _body = body.get_string_from_utf8()
      var newRecord = __.GetOr(false, 'newRecord', _body)
      G.debug(
        'βœ… [b][color=green]successfully posted score[/color][/b]',
        {newRecord = newRecord}
      )
      Router.hideLoader()
  })

Documentation

Full documentation lives in docs. Start with Installing Fox.

Core

Input

Animation & UI

  • Animations β€” Animate Tween helpers + Framer
  • Motion β€” procedural idle motion (float, wobble, breathe)
  • Popups
  • Components β€” loader, screen fader, ask-for-review

Libs & utilities

Tooling & exporting

Games created with Fox

faraday-corridors sylvestrine xoozz battle-squares avindi lockeyland lockeyland battle-squares

Sponsor this project

  •  

Packages

 
 
 

Contributors