Let's get this rendering on PSP and Dolphin.
This commit is contained in:
@@ -183,24 +183,30 @@ function sceneRender()
|
||||
camera.bottom = screenGetHeight()
|
||||
camera.right = screenGetWidth()
|
||||
|
||||
spriteBatchPush(
|
||||
nil,
|
||||
0, 0, 32, 32,
|
||||
colorBlue()
|
||||
)
|
||||
|
||||
-- Update mouse position
|
||||
if INPUT_POINTER then
|
||||
mouseX = inputGetValue(INPUT_ACTION_POINTERX) * screenGetWidth()
|
||||
mouseY = inputGetValue(INPUT_ACTION_POINTERY) * screenGetHeight()
|
||||
-- if INPUT_POINTER then
|
||||
-- mouseX = inputGetValue(INPUT_ACTION_POINTERX) * screenGetWidth()
|
||||
-- mouseY = inputGetValue(INPUT_ACTION_POINTERY) * screenGetHeight()
|
||||
|
||||
-- Draw cursor
|
||||
spriteBatchPush(
|
||||
nil,
|
||||
mouseX - 2, mouseY - 2,
|
||||
mouseX + 2, mouseY + 2,
|
||||
colorRed(),
|
||||
0, 0,
|
||||
1, 1
|
||||
)
|
||||
end
|
||||
-- -- Draw cursor
|
||||
-- spriteBatchPush(
|
||||
-- nil,
|
||||
-- mouseX - 2, mouseY - 2,
|
||||
-- mouseX + 2, mouseY + 2,
|
||||
-- colorRed(),
|
||||
-- 0, 0,
|
||||
-- 1, 1
|
||||
-- )
|
||||
-- end
|
||||
|
||||
|
||||
textDraw(10, 10, "Hello World")
|
||||
-- textDraw(10, 10, "Hello World")
|
||||
|
||||
-- centerX = math.floor(screenGetWidth() / 2)
|
||||
-- centerY = math.floor(screenGetHeight() / 2)
|
||||
|
||||
Reference in New Issue
Block a user