Search found 257 matches

by Sir_Silver
Tue Jan 16, 2018 3:27 pm
Forum: Games and Creations
Topic: Space Opera Gravity
Replies: 46
Views: 9970

Re: Space Opera Gravity

That's a 5 year old thread you just necroed right there my friend.
by Sir_Silver
Sun Jan 14, 2018 3:13 pm
Forum: Support and Development
Topic: Enemy Bullet Error
Replies: 1
Views: 128

Re: Enemy Bullet Error

I've pulled up your code in an editor and after messing with it for a little while, I found more questions than answers. On of the first things I noticed was that you needed to put if love.keyboard.isDown('e') then enemy.fire() end inside of love.update. That begs the next question though, why is th...
by Sir_Silver
Sat Jan 13, 2018 2:41 pm
Forum: Support and Development
Topic: MULTIPLAYER ONLINE GAME - how to do?
Replies: 9
Views: 302

Re: MULTIPLAYER ONLINE GAME - how to do?

I was able to create a multiplayer game in love within 1 week using https://github.com/camchenry/sock.lua.
by Sir_Silver
Fri Jan 05, 2018 1:42 pm
Forum: Support and Development
Topic: Yet another saving/loading question
Replies: 3
Views: 129

Re: Yet another saving/loading question

I think that begs the question, how is it that you're currently saving/loading chunks? It's hard to answer this because I'm not sure what the structure of a chunk is in the context of your game. Also, I think that having one save file for all "chunks" is probably better than individualizing them.
by Sir_Silver
Fri Jan 05, 2018 9:52 am
Forum: Support and Development
Topic: If I require a large table, am I just passing the reference around?
Replies: 7
Views: 232

Re: If I require a large table, am I just passing the reference around?

Close but not quite, it's more like:

money = not inDebt and 1000 or 0
variable = condition and value or else_value

=)
by Sir_Silver
Fri Jan 05, 2018 9:43 am
Forum: Support and Development
Topic: If I require a large table, am I just passing the reference around?
Replies: 7
Views: 232

Re: If I require a large table, am I just passing the reference around?

To your first question, yeah your just passing around the table's reference. To your second question, "and" is sort of like a compressed if statement, this example should help: local bool = true if bool then print("it's true") else print("it's either nil or false") end The above code is functionally...
by Sir_Silver
Tue Jan 02, 2018 2:07 am
Forum: General
Topic: MoonScript & love
Replies: 35
Views: 8155

Re: MoonScript & love

For me, it's because if I want to write something in Lua, it's pretty easy to just do that and not have to bother with anything more than that.
by Sir_Silver
Fri Dec 22, 2017 1:36 am
Forum: General
Topic: Basic Platformer Tutorial Series On YouTube
Replies: 9
Views: 831

Re: Basic Platformer Tutorial Series On YouTube

Pretty cool stuff there, keep it up!
by Sir_Silver
Tue Dec 12, 2017 3:10 pm
Forum: Support and Development
Topic: Layer order
Replies: 8
Views: 426

Re: Layer order

What Nixola has written seems like it would solve your issue!

I just wanted to chime in and say that I usually call setColor functions inside of my draw methods to avoid problems like this. (Assuming that this is a solution to the issue you're having)