|
Post by cosmicfloppydisk on Apr 16, 2017 17:04:23 GMT
matrix.newortho as well
|
|
|
Post by Admin on Apr 21, 2017 11:48:41 GMT
I am also having the same issue on the iPhone 5c, app crashes(closes) with setprojection Can you please verify the fix?
|
|
|
Post by cosmicfloppydisk on Apr 21, 2017 12:52:16 GMT
I am also having the same issue on the iPhone 5c, app crashes(closes) with setprojection Can you please verify the fix? Bravo! Works perfect, thank you
|
|
|
Post by Admin on Apr 21, 2017 14:09:10 GMT
Can you please verify the fix? Bravo! Works perfect, thank you Welcome
|
|
|
Post by Guy on Apr 21, 2017 15:53:19 GMT
Just tried your spaceship example for the Nitro Library, I think the function "points" draws incorrectly
The one used here: function drawbackground() g.points{v = background.stars} end
I'm not sure how I send a photo here, but all the stars are drawn like really large squares
|
|
Guy
New Member
Posts: 18
|
Post by Guy on Apr 21, 2017 16:02:27 GMT
|
|
|
Post by cosmicfloppydisk on Apr 21, 2017 16:47:54 GMT
I noticed that as well before the update and I caused it to happen by commenting out the matrix functions that caused the app to crash, maybe mr developer forgot to add the matrix parts back into the spaceship example
|
|
Guy
New Member
Posts: 18
|
Post by Guy on May 17, 2017 23:46:50 GMT
I think nitro.graphics.points does just draw points incorrectly for me What I used: g = require 'nitro.graphics' function randomgray() local gray = math.random() return {gray, gray, gray, 1} end g.showscreen() width, height = g.getscreensize() tbl = {} for x=0,width,50 do for y=0,height,50 do local t = {} t.pos = {} t.pos.x = x t.pos.y = y t.color = randomgray() tbl[#tbl+1]=t end end while true do g.clear(colors.black) g.points{v=tbl} g.present() end Comes out with this:
|
|