Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adekto/maid64
low resolution scaler for love2D
https://github.com/adekto/maid64
Last synced: 2 months ago
JSON representation
low resolution scaler for love2D
- Host: GitHub
- URL: https://github.com/adekto/maid64
- Owner: adekto
- License: mit
- Created: 2016-04-07T09:18:29.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-08-02T01:05:01.000Z (over 4 years ago)
- Last Synced: 2024-08-02T06:17:07.648Z (6 months ago)
- Language: Lua
- Size: 15.6 KB
- Stars: 53
- Watchers: 4
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-love2d - Maid64 - Low resolution scaler for LÖVE. (Drawing)
README
# maid64
easy low resolution scaler for love2Dcurrent version 1.6
---
## functions
* **maid64.setup(x,y)** initilize maid64 has optional parameters for the pixel width and height
* **maid64.start()** use in draw to start scaled rendering
* **maid64.finish()** use in draw to end scaled rendering
* **maid64.resize(w, h)** use in function love.resize(w, h)
* **maid64.newImage(source)** use like love.graphics.newImage()
* **maid64.newTileSet(image, x, y)** use this for creating a tilemap x y are for the size of tiles
* **maid64.mouse.getPosition()** gets the mouse position inside maid64
* **maid64.mouse.getX()** gets the mouse x position inside maid64
* **maid64.mouse.getY()** gets the mouse y position inside maid64---
## variables
* **maid64.left** the left most pixel location
* **maid64.right** the right most pixel location