Search found 4835 matches

by bartbes
Fri Sep 05, 2008 5:48 am
Forum: Games and Creations
Topic: release: k3
Replies: 13
Views: 19888

Re: release: k3

Love this game!
by bartbes
Thu Sep 04, 2008 3:46 pm
Forum: Support and Development
Topic: Making games standalone from LOVE?
Replies: 8
Views: 6498

Re: Making games standalone from LOVE?

I think DLL distributing is not a problem, as the main goal for the exe's is to allow people to just download the game instead of engine + game. It's normal for games and even all other programs to have DLL's. And that's just windows, I haven't seen any linux program which doesn't need libs (not inc...
by bartbes
Mon Sep 01, 2008 8:14 pm
Forum: Games and Creations
Topic: Tron!
Replies: 7
Views: 13385

Re: Tron!

I found out that you win 99% of the time if you make a square (with entrance) by going up, right, down, right. But does anyone here wants to be beaten?
by bartbes
Mon Sep 01, 2008 8:08 pm
Forum: Support and Development
Topic: Can you make a game load another lua file
Replies: 17
Views: 18652

Re: Can you make a game load another lua file

Yeah, missed that one, first.lua should have quotation marks around it as it's a string not a variable, so it should be

Code: Select all

love.filesystem.require("first.lua")
by bartbes
Mon Sep 01, 2008 7:55 pm
Forum: Support and Development
Topic: Can you make a game load another lua file
Replies: 17
Views: 18652

Re: Can you make a game load another lua file

As you can see in my first few posts, everyone makes mistakes.
If you need any more help, don't be afraid to ask, that's what these forums are for.
by bartbes
Mon Sep 01, 2008 7:51 pm
Forum: Support and Development
Topic: Can you make a game load another lua file
Replies: 17
Views: 18652

Re: Can you make a game load another lua file

main.lua: function load() font = love.graphics.newFont(love.default_font, 12) love.graphics.setFont(font) title = "lua demo" play = "press space to play" end function draw() love.graphics.draw(title, 50, 50) love.graphics.draw(play, 400, 300) end function keyreleased(key) if key ...
by bartbes
Mon Sep 01, 2008 7:41 pm
Forum: Support and Development
Topic: Can you make a game load another lua file
Replies: 17
Views: 18652

Re: Can you make a game load another lua file

Or you take the second draw from main.lua, which would seem a logical thing to do. However, you posed the question why you should use first.lua, well honoustly, I don't know. If you want to use those as levels, it is possible to just use a lua file that defines a load of variables, which you then ex...
by bartbes
Mon Sep 01, 2008 7:35 pm
Forum: Support and Development
Topic: This rectangle doesn't want to touch my balls :(
Replies: 8
Views: 5759

Re: This rectangle doesn't want to touch my balls :(

It might be something wrong with the calling, as that isn't included in the .love provided, however I haven't worked with the physics engine myself. You said you could also use setVelocity but it doesnt add to the old velocity, what about a combination with getVelocity()?
by bartbes
Mon Sep 01, 2008 7:24 pm
Forum: Support and Development
Topic: Can you make a game load another lua file
Replies: 17
Views: 18652

Re: Can you make a game load another lua file

That I failed was because I actually first included before I created the callbacks. Well erase and create vs overwrite.. not really different. I should actually thank you because of the testing I did for you I found out that you don't even have to do the draw = function() way, but you can just do fu...
by bartbes
Mon Sep 01, 2008 7:07 pm
Forum: Support and Development
Topic: Can you make a game load another lua file
Replies: 17
Views: 18652

Re: Can you make a game load another lua file

That's what I'm here for, however I just miserably failed to do the same thing.. So if it really doesnt work you might have to do some coding to enable multiple callbacks, there's already a topic around, however if you need help with that, just call.