Search found 1911 matches

by ivan
Sun Jan 29, 2012 7:46 am
Forum: General
Topic: When does "scripting" become "programming"?
Replies: 36
Views: 13115

Re: When does "scripting" become "programming"?

Is it just the "interpreted" over "compiled" that is the ACTUAL difference I believe that the terms 'script' and 'scripting' apply to all interpreted languages (languages that do not run natively on a platform). Lua code can be 'compiled' too but the resulting Lua bytecode still...
by ivan
Wed Jan 25, 2012 6:18 am
Forum: Support and Development
Topic: Collision Detection Without Objects Moving Each Other?
Replies: 3
Views: 1504

Re: Collision Detection Without Objects Moving Each Other?

It should be noted that Box2D (2.0.1 not sure about later versions) doesn't report collisions between 2 static shapes.
by ivan
Wed Jan 25, 2012 6:02 am
Forum: General
Topic: Hypothetical: Making a word game and needing to check word..
Replies: 23
Views: 5932

Re: Hypothetical: Making a word game and needing to check wo

function isLetter (char) return (char == 'a' or char == 'b' or char == 'c' or char == 'd' or char == 'e' or char == 'f' or char == 'g' or char == 'h' or char == 'i' or char == 'j' or char == 'k' or char == 'l' or char == 'm' or char == 'n' or char == 'o' or char == 'p' or char == 'q' or char == 'r'...
by ivan
Tue Jan 24, 2012 7:19 am
Forum: General
Topic: Hypothetical: Making a word game and needing to check word..
Replies: 23
Views: 5932

Re: Hypothetical: Making a word game and needing to check wo

I mean, you could place every word in a table. But then checking them all would be extremely time consuming. It would probably work if the table words are KEYS to the table. Scanning a database from file would probably be too slow unless the database is indexed (you have an index table which stores...
by ivan
Tue Jan 24, 2012 7:09 am
Forum: Games and Creations
Topic: World Aviator!
Replies: 15
Views: 8523

Re: World Aviator!

Pretty cool concept. However I have a few suggestions:
-No altitude meter? No pitch/bank indicators?
-Flying with the gear down should lower your airspeed since it produces extra drag
-It might be cool to have some weather effects like wind
Good job though this is a nice prototype.
by ivan
Mon Jan 23, 2012 2:09 pm
Forum: General
Topic: Powerful enough for larger projects?
Replies: 16
Views: 5821

Re: Powerful enough for larger projects?

CaveStory and VVVVVV wouldn't be a problem at all for Lua/Love but I think a game Limbo might not be feasible without modifying the C++ code of Box2D. Limbo, in my opinion, is way more advanced technologically than either CaveStory or VVVVVV. I would say it depends more on your architecture design s...
by ivan
Thu Jan 19, 2012 7:54 pm
Forum: Games and Creations
Topic: Herbie & Jamal
Replies: 45
Views: 19521

Re: Herbie & Jamal

Hey, just wanna say that I love the artstyle and the character designs.
by ivan
Wed Jan 11, 2012 1:21 pm
Forum: Support and Development
Topic: Math: Circular Movement
Replies: 4
Views: 2219

Re: Math: Circular Movement

cos and sin work with radians. In order to keep the distance between the 18 circles equal you would have to do something like: for i = 1, 18 do local angle = i/18 * math.pi + rotation local x, y = math.cos(angle), math.sin(angle) -- draw circle at x*radius, y*radius end 'radius' is the distance betw...
by ivan
Tue Jan 10, 2012 8:44 am
Forum: Libraries and Tools
Topic: Connection Paint
Replies: 6
Views: 3150

Re: Connection Paint

Pretty cool. I have a prototype that's quite similar to your app. Just a small suggestion: function checkAround(px, py) local dirs = { [1] = {0, -1}, [2] = {1, -1}, ... It's usually better to allocate tables that don't change only once. Lua is an interpreted language so it doesn't know that 'dirs' i...
by ivan
Tue Jan 10, 2012 5:44 am
Forum: Support and Development
Topic: Mouse: How to emulate "MouseLook" from FPS games?
Replies: 24
Views: 4906

Re: Mouse: How to emulate "MouseLook" from FPS games?

I tried locking the mouse to the window, then constantly moving the mouse to the center of the window and checking if the mouse moves to the left or the right. That probably won't work very well especially in windowed mode. If the user sweeps the mouse really fast and presses a button the Love wind...