Search found 410 matches

by miko
Tue Feb 22, 2011 12:44 am
Forum: Support and Development
Topic: Physics bounce bug
Replies: 18
Views: 2685

Re: Physics bounce bug

It is no bug! There is nothing we can do! Is it based on real time clock? If so, hibernating/suspending the OS (like when closing the laptop's lid) would also trigger this "bug" (or "undefined behaviour", I would say). Also, what happens if you change the system time (changing d...
by miko
Mon Feb 21, 2011 3:28 pm
Forum: General
Topic: Why we should spread the LOVE to Android
Replies: 9
Views: 2560

Re: Why we should spread the LOVE to Android

I do have an android phone. I've been doing some experiments lately. Me too ;) The biggest downer is that Android seems to pretty much require you to install Eclipse, which is a mammoth. And android isn't very console-friendly - this is the minimal console command for building a hello word app from...
by miko
Thu Feb 17, 2011 3:11 pm
Forum: Libraries and Tools
Topic: Simple, lightweight, general purpose collision detection
Replies: 101
Views: 39295

Re: Simple, lightweight, general purpose collision detection

Maybe it's a little early to ask this, but - will it be Lua & C++, or Lua-only? It would probably make the most sense to make it Lua-only, because more lovers are familiar with Lua than with C++ and more importantly, if we do use C++ and want to gain any traction, it would have to be included i...
by miko
Wed Feb 09, 2011 11:38 pm
Forum: Libraries and Tools
Topic: Debug - A whole new way of debugging your game
Replies: 106
Views: 91881

Re: Debug - A whole new way of debugging your game

kalle2990 wrote: [*]CTRL + F8 toggle of the console
BTW, it does not for linux (at least for me) - looks like the window manager hijacks CTRL key, and CTRL+F8 is not passed to the love window. SHIFT+F8 would work.
by miko
Wed Feb 09, 2011 11:20 pm
Forum: Support and Development
Topic: Resources folder?
Replies: 9
Views: 6720

Re: Resources folder?

When a Löve game runs, it looks in one of two places. (Are there more?) Yes, it looks in standard places for Lua (package.path and package.cpath), and then in "LOVE game directories.", which are OS dependent. For example, on my linux host: $ echo "require 'nosuchfile' > main.lua $ lo...
by miko
Tue Feb 08, 2011 3:36 pm
Forum: General
Topic: bad argument #1 to 'random' (interval is empty)?!?!?
Replies: 10
Views: 7485

Re: bad argument #1 to 'random' (interval is empty)?!?!?

Apparently the math in your call to math.random on line 20 is resulting in a number that's less than one. Make sure it's greater than or equal to 1. but i need a negative value. But math.random() needs a positive value. If you want to get a random number between -10 and 10 do something like this: v...
by miko
Mon Feb 07, 2011 9:40 am
Forum: Games and Creations
Topic: ScrewIt
Replies: 20
Views: 8970

Re: ScrewIt

That's because he's used luac. Obviously the byte code isn't compatible with your Lua interpreter; I was lucky enough to have it run for me. I know, I am using love with luajit 2.0 from git, and luajit bytecode is not compatible with the original lua's bytecode. But I am not going to reinstall that...
by miko
Sun Feb 06, 2011 4:22 pm
Forum: Games and Creations
Topic: ScrewIt
Replies: 20
Views: 8970

Re: ScrewIt

thelinx wrote:You can just run love game.exe and it'll work. It's called "magic".
Let's try:

Code: Select all

$ love game.exe 
Checking file conf.lua
Error: Syntax error: cannot load Lua bytecode
Not magic enough for me :(
by miko
Sat Feb 05, 2011 2:05 am
Forum: Support and Development
Topic: Strange limit to mouse.getX-getY
Replies: 14
Views: 5369

Re: Strange limit to mouse.getX-getY

As it seems to be a problem with my installation of love, I will try to reinstall it to see if that eliminates the problem. Its not, I can confirm this with my setup (linux/love 0.7.0). love always sets the 800x600 mode first, and then changes it with another setMode: $ ltrace love . 2>&1 |grep...
by miko
Thu Jan 27, 2011 3:26 pm
Forum: Support and Development
Topic: Require error after zipping folder into .love file
Replies: 15
Views: 3923

Re: Require error after zipping folder into .love file

Looks like physfs bug: $ test_physfs > mount spacegame2.love / 0 Successful. > ls / ... middleclass middleclass-extras .. total (14) files. > ls middleclass BSD-LICENSE.txt README.textile init.lua middleclass.lua total (4) files. > exists middleclass/init.lua File does not exists. > exists middlecla...