Hi, I'm Zachary!

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
zachwlewis
Citizen
Posts: 70
Joined: Fri Mar 19, 2010 7:58 am
Location: Huntsville, AL
Contact:

Hi, I'm Zachary!

Post by zachwlewis »

After lurking the forums for a few days and creating a game as my first ever program with Lua and Love, I decided to introduce myself properly (i.e., not a series of misshapen sentences written at butt o'clock).

My name is Zachary, and during the day, I'm a professional game developer. I work mainly with Adobe Flash doing UI work; however, I always find myself picking through some UnrealScript when things don't go exactly as planned. During the night, I'm an aspiring indie developer (currently working with a co-located team of misfits on an XBOX 360 and PC title called Monolith).

I stumbled upon Love after reading through a debate on the TIGSource forums about what was better, Multimedia Fusion or Game Maker. Turns out, Love always triumphs. :neko:

I'll continue to lurk here and participate in any community events as well as answer whatever technical questions I can (I'm a pretty strong programmer and designer, but I'm weak on Lua syntax and the interworkings of Love, so I'd probably be better suited for game-theory stuff).

It's a pleasure to meet everyone, and I hope to have more great experiences working with Love!
User avatar
bmelts
Party member
Posts: 380
Joined: Fri Jan 30, 2009 3:16 am
Location: Wiscönsin
Contact:

Re: Hi, I'm Zachary!

Post by bmelts »

I rather liked your misshapen sentences written at butt o'clock. They certainly beat "hay lol heres my game plz play" (not that the level of discourse on this forum reaches that level, but you know what I mean).

Also I certainly agree that LÖVE triumphs over all. (Particularly Game Maker.)

If you need any help with Lua's (or LÖVE's) particular quirks, by all means ask around, or pop onto the IRC channel. Sometimes people even talk on it! (I'm a zombie and never sleep, so I'm usually there.)

Pleasure to meet you too! If hello.love is any indication, I'm greatly looking forward to seeing what else you produce :)
User avatar
zachwlewis
Citizen
Posts: 70
Joined: Fri Mar 19, 2010 7:58 am
Location: Huntsville, AL
Contact:

Re: Hi, I'm Zachary!

Post by zachwlewis »

I'm an IRC fiend, so you can bet that I'll be there vulgaring up your channel. I tend to want to talk about programming when I'm on programming-related channels, so I'm all like, "Hey. Hey. What's the best way to handle a switch in Lua?" Then, they'll be all like, "So my mom was SOOO drunk last nite dude lol".

Also, if you liked hello love: i really don't know who you are, you'll be pleased to hear that it's now in version 1.1. Better maps and shit. :)
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Hi, I'm Zachary!

Post by Robin »

anjo wrote:I rather liked your misshapen sentences written at butt o'clock. They certainly beat "hay lol heres my game plz play" (not that the level of discourse on this forum reaches that level, but you know what I mean).
Seconded. They made a nice read. ;)

Also: welcome!
Help us help you: attach a .love.
User avatar
pygy
Citizen
Posts: 98
Joined: Mon Jan 25, 2010 4:06 pm

Re: Hi, I'm Zachary!

Post by pygy »

Welcome aboard :nyu:
Like the others, I enjoyed your first post.

The best way to learn Lua inside out is to read the PiL book (Programming in Lua, written by one of the Lua autors). It's really a pleasure to read.
The first edition is available for free online. http://www.lua.org/pil/ It covers Lua 5.0 which is very similar to the current 5.1 version.
The main differences is the way varargs are handled (now using "..."), and the new module system (how require() and module() work).

for the record:

Code: Select all

foo = function(...)
    print(...)
end
foo(1,2,3) --> prints "1    2    3"

bar = function(...)
    print( select(2,...) )
end
bar("a", "b", "c") --> prints "b"
select('#',...) gives you the number of arguments passed.

You may also be interested in the second chapter ("Performance Tips") of the Lua Programming Gems, by the same author. It gives some details on the internals of the VM, and how to get the best out of it.
Hermaphroditism is not a crime. -- LSB Superstar

All code published with this account is licensed under the Romantic WTF public license unless otherwise stated.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Hi, I'm Zachary!

Post by Robin »

pygy wrote:for the record:

Code: Select all

(snip)
bar = function(...)
    print( select(2,...) )
end
bar("a", "b", "c") --> prints "b"
Actually, select(n, ...) passes every argument after n, so bar("a", "b", "c") prints

Code: Select all

"b"       "c"
Help us help you: attach a .love.
User avatar
pygy
Citizen
Posts: 98
Joined: Mon Jan 25, 2010 4:06 pm

Re: Hi, I'm Zachary!

Post by pygy »

You learn something new every day :-)
Hermaphroditism is not a crime. -- LSB Superstar

All code published with this account is licensed under the Romantic WTF public license unless otherwise stated.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest