https://github.com/subsoap/aurl
Automatic URL for Defold
https://github.com/subsoap/aurl
Last synced: 2 months ago
JSON representation
Automatic URL for Defold
- Host: GitHub
- URL: https://github.com/subsoap/aurl
- Owner: subsoap
- Created: 2018-08-15T18:08:34.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-15T18:41:30.000Z (almost 7 years ago)
- Last Synced: 2025-04-04T15:06:43.121Z (2 months ago)
- Language: Lua
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- 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
```