A toolkit for Visual Studio Code to develop games with Defold
MIT License
Bot releases are hidden (Show)
Lua.runtime.pathStrict: true
from the settings.json
template because of the bad side effect on external libraries autocompletion. Will review it later π’.Published by astrochili 3 months ago
Lua.runtime.pathStrict: true
to the settings.json
template.Clean Annotations
command.Lua.telemetry.enable
from the settings.json
template.Published by astrochili 4 months ago
---@package
marker for script lifecycle snippets. The ---@package
allows to hide lifecycle functions from the global context so that you don't get confused when choosing between a snippet and a real declared function with the same name.script
snippet with the self
class definition and annotated lifecycle functions. Useful to create a script file with ready to use self
annotations. By default, the class is named by filename.on_input.action
class exists in the updated defold-annotations release. So to make on_input.action
available, please sync Defold API annotations via command pallete.Example of output with the script
snippet in the player.script
file:
---@class player.script
---@package
---@param self player.script
function init(self)
end
---@package
---@param self player.script
---@param dt number
function update(self, dt)
end
---@package
---@param self player.script
---@param message_id hash
---@param message table
---@param sender hash
function on_message(self, message_id, message, sender)
end
---@package
---@param self player.script
---@param action_id hash
---@param action on_input.action
---@return boolean|nil
function on_input(self, action_id, action)
end
---@package
---@param self player.script
function final(self)
end
Published by astrochili 11 months ago
Published by astrochili about 1 year ago
Open Defold
command to open the current project in the Defold Editor.Published by astrochili about 1 year ago
Published by astrochili about 1 year ago
Published by astrochili about 1 year ago
Defold
to Defold Kit
to avoid conflicts.defold.
to defoldKit.
to avoid conflicts.Defold Kit
to avoid conflicts.defold.
to defoldKit.
keys.Defold
to Defold Kit
name.Published by astrochili about 1 year ago
Launch (without debugger)
and Build to Launch
commands to avoid confusing.Run ang Debug
panel.Published by astrochili about 1 year ago
Published by astrochili about 1 year ago
Published by astrochili about 1 year ago
dmengine
selection bug for macOS with Intel during preparing for launch. Thanks @wesleyfr π.Published by astrochili about 1 year ago
require('debugger.debuggerβ)
calls in the docs and in the debugger.script
file to avoid problems with Defold code analyser before build.Published by astrochili about 1 year ago
π This happened.
π Yes, now this is an extension for Visual Studio Code.
π₯ Named Defold Kit.
π₯ Yes, it can do everything that was described in the original guide. Automatically, with user-friendly installation and configuration.
You can install it from Visual Studio Marketplace or manually by using the attached .vsix
archive.
And start to β¨ develop, build, launch, debug, bundle and deploy β¨ your game made with Defold.
P.S. Old guide is still availabe on the π old-guide branch.
Published by astrochili about 1 year ago
Published by astrochili about 1 year ago
msg.url()
, thanks @fabtjar.Published by astrochili over 1 year ago
Updated Defold API up to 1.4.2
Published by astrochili almost 2 years ago