Hi @Stoneberger,
Tried it on my system and it worked OK.
Just to correct your screen res take a look at this:
iOS Screen Res
Then amended code - load these and play with the values of t.screen.width and t.screen.height.
config.lua
function love.conf(t)
t.title = "Hello There" -- The title of the window the game is in (string)
t.author = "Bri_G" -- The author of the game (string)
t.version = "0.8.0" -- The LÖVE version this game was made for (string)
t.console = false -- Attach a console (boolean, Windows only)
t.release = false -- Enable release mode (boolean)
t.screen.width = 1024 -- The window width (number)
t.screen.height = 768 -- The window height (number)
t.screen.fullscreen = false -- Enable fullscreen (boolean)
t.screen.vsync = true -- Enable vertical sync (boolean)
t.screen.fsaa = 0 -- The number of FSAA-buffers (number)
t.modules.joystick = true -- Enable the joystick module (boolean)
t.modules.audio = true -- Enable the audio module (boolean)
t.modules.keyboard = true -- Enable the keyboard module (boolean)
t.modules.event = true -- Enable the event module (boolean)
t.modules.image = true -- Enable the image module (boolean)
t.modules.graphics = true -- Enable the graphics module (boolean)
t.modules.timer = true -- Enable the timer module (boolean)
t.modules.mouse = true -- Enable the mouse module (boolean)
t.modules.sound = true -- Enable the sound module (boolean)
t.modules.physics = true -- Enable the physics module (boolean)
end
```
main.lua
if require then
require("loveCodea")
end
-- Use this function to perform your initial setup
function setup()
displayMode(FULLSCREEN)
speak = "Hello World!!"
midX = WIDTH/2
midY = HEIGHT/2
end
-- This function gets called once every frame
function draw()
background(100,200,255,255)
spriteMode(CENTER)
rectMode(CENTER)
fill(50, 200, 100, 255)
rect(midX,midY,200,200)
fill(0,0,0,255)
text("Hello World!!", midX, midY+40)
text("Width : "..WIDTH, midX, midY +20)
text("Height : "..HEIGHT, midX, midY)
end
```
Hope that helps you out.
Bri_G
=;