Search found 5 matches

by rbxkools
Mon Oct 14, 2013 1:27 pm
Forum: General
Topic: Running LÖVE from C++
Replies: 3
Views: 2721

Running LÖVE from C++

I've recently embedded some lua into a C++ program. And it successfully compiled! After hours of searching and clicking I fixed all the problems that it had. But now, the excitement has gone away and I was thinking about how LÖVE fits into all of this . To take it a step further, now that I have got...
by rbxkools
Fri Apr 19, 2013 8:52 pm
Forum: Support and Development
Topic: String patterns
Replies: 1
Views: 1135

String patterns

String patterns have never been my strong suite in lua and it's showing here. I created a little lua file called tiles that would manage all the tiles in the game from physics to drawing them. The tiles come from a file called map.txt, hopefully I remember to attach it to this post. In a function ca...
by rbxkools
Mon Apr 08, 2013 11:44 pm
Forum: Support and Development
Topic: Camera following sprite.
Replies: 6
Views: 5287

Camera following sprite.

I have a basis problem that I can't seem to fix. I want to translate the 'camera' so the sprite is exactly in the middle no matter if the sprite is moving or jumping. I am using love.physics. Currently my sprite is a 30 by 30 block that can move to the right and the left as well as jump. My screen i...
by rbxkools
Thu Mar 28, 2013 10:23 pm
Forum: Support and Development
Topic: Complication with love.graphics.setColor
Replies: 2
Views: 2309

Complication with love.graphics.setColor

I am having some complications with love.graphics.setColor() . In my main.lua I required this other file called menu.lua, a manager of sorts for the menu of my game. Everything worked great until I set the color using love.graphics.setColor() to make rectangles for the menu. It somehow made it so w...