-
Notifications
You must be signed in to change notification settings - Fork 0
Home
oblerion edited this page Apr 14, 2022
·
3 revisions
Welcome to the love2d.cs wiki!
- this framework work with monogame in c#
- loading asset need to use monogame pipeline
- graphics_draw() use Texture2d type
- graphics_print() use SpriteFont type
- graphics_setColor() graphics_clear() use Color type
- keyboard_isDown() use Keys type
bool keyboard_isDown(keys)
bool keyboard_isUp(keys)
int mouse_getX()
int mouse_getY()
bool mouse_isDown(id)
Texture2d graphics_newimage(name)
SpriteFont graphics_newfont(name)
void graphics_setfont(spritefont)
void graphics_print(text,x,y,...)
void graphics_draw(texture,x,y)
void graphics_setColor(color)
void graphics_setAlpha(a)
void graphics_clear(color)