I can't figure out PK's positioning system...
Ok, I know this works with a number system in all but by what? Pixels? This confuses me as I'm trying to program...
Last login: Sat Aug 6 09:15:05 on console
Welcome to Darwin!
Matt-Chelens-Computer:~ matthew$
Abbreviations are evil. What's PK?
PlayKode, Lua, whatever you wanna call it, I've heard it be called PK before...
Last login: Sat Aug 6 09:15:05 on console
Welcome to Darwin!
Matt-Chelens-Computer:~ matthew$
Pardon my ignorance, but why would Lua be called PlayKode?
PlayKode uses Lua as a scripting language, which is probably why Blorx is confused. Many other games use Lua as a scripting language, so PlayKode and Lua are not the same thing.
They're not. I'm here trying to figure out what the standard measurement system is for Lua so that I can get my games to actually show graphics...
Last login: Sat Aug 6 09:15:05 on console
Welcome to Darwin!
Matt-Chelens-Computer:~ matthew$
Why dont you just explore around with it for a while, if 1,1 dosnt give you anything try 10,10 or 100,100 and then you can very quickly figure out how the measurement system is working. It dosnt appear as if many people here use "Lua" if any at all.
There are a few of us here who use Lua, including me, and would probably be happy to answer any specific questions about the language. I don't know the specifics of PlayKode, though.
Blorx2, why don't you ask in the playkode thread?
There's a PK thread? oops, forgot...hehe
Last login: Sat Aug 6 09:15:05 on console
Welcome to Darwin!
Matt-Chelens-Computer:~ matthew$
Blorx2 Wrote:They're not. I'm here trying to figure out what the standard measurement system is for Lua so that I can get my games to actually show graphics...I doubt there is a standard measurement system in Lua...
"Yes, well, that's the sort of blinkered, Philistine pig-ignorance I've come to expect from you non-creative garbage."
I use lua somtimes.
Maybe theres help files with PlayKode, probably not though.............................
Maybe theres help files with PlayKode, probably not though.............................
Sir, e^iπ + 1 = 0, hence God exists; reply!
There are help files. The docs are pretty good actually. It seems that the units (for 2d at least) are pixels. Whether positive Y points up or down is another matter. Should be easy to figure. draw something at 0,0, then 0,height and see where it ends up.
"Yes, well, that's the sort of blinkered, Philistine pig-ignorance I've come to expect from you non-creative garbage."
Eh? He still hasn't worked out? 0,0 is the centre of the window or drawing pane or screen that is up. Everything is proportion to that in pixels. All co-ordinates of each sprite and 3d model are also based on 0,0 being the centre of sprite/model in approximation to that model, and not the "scene".

