Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/subsoap/aurl
Automatic URL for Defold
https://github.com/subsoap/aurl
Last synced: about 1 month ago
JSON representation
Automatic URL for Defold
- Host: GitHub
- URL: https://github.com/subsoap/aurl
- Owner: subsoap
- Created: 2018-08-15T18:08:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-15T18:41:30.000Z (over 6 years ago)
- Last Synced: 2024-12-13T02:33:36.199Z (about 1 month ago)
- Language: Lua
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-defold - AURL
README
# AURL
Automatic URL for Defold
https://github.com/subsoap/aurl/archive/master.zip
Require it locally or globablly if you wish to have it available in your entire project.
```local aurl = require("aurl.aurl")``````aurl = require("aurl.aurl")```
AURL allows you to create URLs in a single place and then reuse them instead of creating new URLs every frame. Each URL is only created once the first time it is referenced.```
if (aurl["/aurl"] == msg.url("/aurl")) then
print("It works!")
end
```