Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Geometry-Rays/modding-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

15 Commits

Repository files navigation

Modding Docs

The documentation for the geometry rays fyre modding api

To get started make a file in the mods directory in the root folder of geometry rays fyre.

Call the file anything you want as long as it ends with .lua

Basic structure:

return {
 enabled = true,
 setup = function()
 -- Code that runs once on startup
 end,
 loop = function()
 -- Code that runs every frame
 end
 draw = function()
 -- Code for drawing stuff to the screen
 end
}

A bunch of variables have a get and set function

Variables you can change:

  • velocity_y
  • gravity
  • default_gravity
  • jump_force
  • default_jump_force
  • movement_speed
  • default_movement_speed
  • ship_power
  • ship_falling_speed
  • vertical_wave_speed
  • game_tps

To change a variable do variable_name:set(value)

To get the value of a variable do variable_name:get()

About

The documentation for the geometry rays fyre modding api

Topics

Resources

Stars

Watchers

Forks

Contributors

AltStyle によって変換されたページ (->オリジナル) /