Search found 52 matches

by iemfi
Tue May 08, 2012 7:00 pm
Forum: Games and Creations
Topic: Asteroids
Replies: 5
Views: 987

Asteroids

Asteroid mining has been big in the news lately. I'm thinking some sort of simple hard science asteroid mining game. I want all 600k known asteroids and the ability to zoom in and interact with each of them... Or something like that, what do you guys think? Here's something I hacked together of all ...
by iemfi
Thu May 03, 2012 1:13 pm
Forum: Support and Development
Topic: How to Protect a Resulting .Exe?
Replies: 32
Views: 5198

Re: How to Protect a Resulting .Exe?

http://stackoverflow.com/a/6888667/1185957 Have fun spending all your time futilely protecting your code. This link seems to go against everything which has been said in this thread (the second answer from stackoverflow especially). While it may be impossible to protect it 100% it seems easy enough...
by iemfi
Thu May 03, 2012 12:24 pm
Forum: Support and Development
Topic: Errors with newPolygonShape
Replies: 4
Views: 695

Re: Errors with newPolygonShape

The problem with weld joints is that they're elastic. The two shapes will move around relative to each other. So unless you want that behaviour I think having 1 body is better.
by iemfi
Sun Apr 29, 2012 4:37 am
Forum: Libraries and Tools
Topic: Orbiting and Body Physics
Replies: 6
Views: 2198

Re: Orbiting and Body Physics

What else did you expect? That Newton would turn out to have been wrong all along? :P
by iemfi
Fri Apr 27, 2012 2:34 pm
Forum: Libraries and Tools
Topic: Cannon
Replies: 11
Views: 2735

Re: Cannon

I added a trebuchet... Why? Because trebuchet! I havn't played with multiplayer in love2d yet so this sounds like the perfect opportunity to try. Edit: Here's multiplayer, I think it could there's a lot of room for improvement in my implementation (and the trebuchet keeps spazzing out) but it works ...
by iemfi
Fri Apr 27, 2012 1:12 pm
Forum: Support and Development
Topic: Saving and Loading Tables (in text files?) [solved]
Replies: 19
Views: 3210

Re: Saving and Loading Tables (in text files?)

This is untested but something like this may work local FILE = "YourSaveDirectory" function tableToString(t) -- In case of multi dimensional arrays local str = "" for k,v in pairs(t) do if type(v)=="table" then str = "{"..tableToString(v).."},\n" else str = str..k.."="..v.."," end end return str en...
by iemfi
Fri Apr 27, 2012 7:49 am
Forum: Support and Development
Topic: Moving an image towards a Point
Replies: 7
Views: 1900

Re: Moving an image towards a Point

Please post a .love file with a method you've tried.
by iemfi
Thu Apr 26, 2012 4:00 am
Forum: Libraries and Tools
Topic: Cannon
Replies: 11
Views: 2735

Re: Cannon

Nice work with the editor! See, OOP is rather simple no? Would love to see this project completed. I haven't seen an online multiplayer versus mode for this type of game before.
by iemfi
Tue Apr 24, 2012 11:36 pm
Forum: Libraries and Tools
Topic: Cannon
Replies: 11
Views: 2735

Re: Cannon

Here's a quick example of this game using OOP and love.physics. Love.physics does so much of the work for you :). I hope you can understand it, I didn't comment much so pm me if you have any questions. cannonFirstStep.love I went a bit further and implemented an enemy box you have to hit with enough...
by iemfi
Tue Apr 24, 2012 5:04 pm
Forum: Libraries and Tools
Topic: Cannon
Replies: 11
Views: 2735

Re: Cannon

Think that penguin flying game is hard to beat. An angry-bird style game you only need love.physics and it would do most of the work for you, not that hard to learn :). And what about OOP don't you understand?