solarus | This repository was moved to GitLab https | Game Engine library
kandi X-RAY | solarus Summary
kandi X-RAY | solarus Summary
Solarus is an open-source Zelda-like 2D game engine written in C++. It can run games scripted in Lua. This engine is used by our Zelda fangames. Solarus is licensed under GPL v3.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of solarus
solarus Key Features
solarus Examples and Code Snippets
Community Discussions
Trending Discussions on solarus
QUESTION
I'm writing a ZeroBrane Studio plugin for our Solarus Game Engine and It works like a charm. Autocompletion included.
I'm wondering now if it's do-able to register lua APIs for one file only.
I need this to offer autocompletion/documentation on global symbols that may vary per-script but are deducible from annex files from the engine.
To summary : Is it possible to register an api for a single file? For example in the onEditorLoad()
event.
Thanks.
Greg
EDIT:
I tried the following without sucess:
...ANSWER
Answered 2018-Nov-05 at 17:11To summary, to achieve a custom api which change from file to file:
- Add the api name to the interpreter
- In the
onEditorFocusSet
event, update the API withide:AddAPI(...)
, eventually setting it to{}
if it needs to be empty/disabled.
Code sample in the editions of my Question.
QUESTION
I receive the error: "Uncaught ReferenceError: $ is not defined".
Below is the component/templates/component/update.html template which is defined as:
...ANSWER
Answered 2018-May-08 at 13:42You should consider adding this script inside the
{% block jquery %}{% endblock jquery %}
That way, Django will load it after the jQuery
file
Instead of this
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install solarus
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page