love.graphics_newQuad
oblerion edited this page Sep 15, 2022
·
1 revision
let q = love.graphics_newQuad(x, y, w, h);
- x : position x of quad on image
- y : position y of quad on image
- w : width
- h : height
quad object
object quad can use with love.graphics_draw() for draw part of image (titlesheet)
- love.load()
- love.update()
- love.draw()
- love.keypressed(key,code,repeat)
- love.keyreleased(key,code,repeat)
- love.mousepressed(x,y,button,istouch)
- love.mousereleased(x,y,button,istouch)
- love.graphics_setColor(r,g,b,a)
- love.graphics_setAlpha(a)
- love.graphics_getColor()
- love.graphics_setFont(font)
- love.graphics_print(text,x,y,r,sx)
- love.graphics_rectangle(mode,x,y,w,h)
- love.graphics_circle(mode,x,y,radius)
- love.graphics_line(x,y,x2,y2)
- love.graphics_newImage(filename)
- love.graphics_newVideo(filename)
- love.graphics_newQuad(x,y,w,h)
- love.graphics_draw(object,[quad,]x,y,r,sx,sy)
- love.graphics_scale(w,h)
- love.audio_newSource(filename,type)
- love.audio_play(object)
- love.audio_pause(object)
- love.audio_stop(object)
- love.audio_setVolume(volume)
- love.audio_getVolume()