Hey guys.
Do any of you know of any Lingo tutorials which explain the DOT syntax? Im used to coding in Java/C++ and all of the Lingo tutorials I’ve seen are driving me nuts. I’m just not used to syntax like this:
if not alive then
return
end if
set myH to the locH of sprite mySprite
set myV to the locV of sprite mySprite
if myH < 0 then – hit left edge
set hdirection to 1
set the locV of sprite mySprite to myV + 34
end if
Just seems wasteful and illogical. Is it just me, or was Lingo not created with programmers in mind? My boss jokes that it wasnt designed with humans in mind :applause:
Regardless, this is what we have to use for our projects here at work. Anyone know of any good tuts that explain how to translate the mess I posted above into something like:
myH = mySprite.locH
??
Thanks.