Search found 54 matches

by Username
Fri Aug 02, 2013 10:40 am
Forum: Games and Creations
Topic: Arcane Duel
Replies: 14
Views: 16616

Re: Arcane Duel

New version released: 1.12

Go see first post for details

Enjoy.
by Username
Mon Apr 15, 2013 8:19 am
Forum: Support and Development
Topic: player controls in love.update vs. love.keypressed/released
Replies: 18
Views: 13357

Re: player controls in love.update vs. love.keypressed/relea

Plus relying on exactly the right position measured in pixels. It's incredibly easy to mess up and even if you don't, a bug somewhere else in your game could break your game because of it. (If you assume the player will never reach pixel 392, because at pixel 391, you turn them around, you still ha...
by Username
Sat Apr 13, 2013 8:17 am
Forum: Support and Development
Topic: player controls in love.update vs. love.keypressed/released
Replies: 18
Views: 13357

Re: player controls in love.update vs. love.keypressed/relea

Robin wrote:
Username wrote:The character in your computer moves at 5 pixels per game tic, so if you need to stop movement at pixel number 3, you simply can't.
That is extremely fragile and I wouldn't recommend designing your game like that.
What does that mean exactly?
by Username
Thu Apr 11, 2013 8:47 am
Forum: Support and Development
Topic: #include "love"
Replies: 1
Views: 2261

#include "love"

Is it possible to use löve from another app as a library? For example from within a C++ app with a #include directive? Or from any programing language that supports Lua scripting, could I use Löve as a library? The program was made to run on Windows platform, so I no need a version for Linux or MacO...
by Username
Thu Apr 11, 2013 8:27 am
Forum: Libraries and Tools
Topic: Can't stop loving --ElectroStatics Simulator
Replies: 3
Views: 3280

Re: Can't stop loving --ElectroStatics Simulator

Not much accuracy:
rxliQen.png
rxliQen.png (189.13 KiB) Viewed 181 times
gEPzxZK.png
gEPzxZK.png (173.77 KiB) Viewed 181 times
F5O1LC4.png
F5O1LC4.png (127.48 KiB) Viewed 181 times

But still it's funny to play with it.
by Username
Wed Apr 10, 2013 4:09 pm
Forum: General
Topic: What code editor do you use ?
Replies: 195
Views: 294954

Re: What code editor do you use ?

I use:

$ echo 'function love.draw()' > line1
$ echo ' love.graphics.print("Hello world", 200, 200)' > line2
$ echo 'end' > line3
$ cat line1 line2 line3 > main.lua



I use Geany, in fact.
by Username
Wed Apr 10, 2013 3:32 pm
Forum: Support and Development
Topic: player controls in love.update vs. love.keypressed/released
Replies: 18
Views: 13357

Re: player controls in love.update vs. love.keypressed/relea

The problem when using love.keyboard.isDown is that you cannot control the repeat timing due to the different dt's that may have different computers, so in a slow computer I may press left arrow key to walk and the character will move relatively slow, while an user with a top-end computer may do th...
by Username
Wed Apr 10, 2013 7:52 am
Forum: Support and Development
Topic: Continuously Scrolling Background
Replies: 8
Views: 6035

Re: Continuously Scrolling Background

Hi everyone! This is my first post as a member. Please inform me if I break any rules. (Just in case...) I inform you that you broke a basic rule on your first post: search the forums before posting a question, because just 10 threads below this, you can find this: https://love2d.org/forums/viewtop...
by Username
Wed Apr 10, 2013 7:46 am
Forum: Support and Development
Topic: player controls in love.update vs. love.keypressed/released
Replies: 18
Views: 13357

Re: player controls in love.update vs. love.keypressed/relea

Some events only happen once, when a key is pressed, then use keypressed() (e.g. jumping). Other events happen continuously, as long as a key is held down, in this case put it into update(dt) (e.g. walking). The problem when using love.keyboard.isDown is that you cannot control the repeat timing du...
by Username
Tue Apr 09, 2013 8:17 am
Forum: LÖVE-Android
Topic: How to save/load data to/from file?
Replies: 4
Views: 8454

Re: How to save/load data to/from file?

I just think that love.filesystem simply isn't implemented yet. Just wait for it. Also, writing to the sdcard is probably not what you want. It requires special permissions if you make your game standalone. It's better to use folders that the Android system gives each app for smaller files like set...