Search found 101 matches

by tomshreds
Tue Feb 19, 2013 8:04 pm
Forum: General
Topic: Calculate mouse movement without mouse position?
Replies: 5
Views: 4361

Re: Calculate mouse movement without mouse position?

Haha, you're welcome. I threw it completly randomly. Didn't think it would help. Don't hesitate to show off the result! Actually you can see the results! I just pushed a new alpha build for my game Indie Game Story. Just register on the forums to be "alpha tester" and download the latest ...
by tomshreds
Tue Feb 19, 2013 5:47 pm
Forum: General
Topic: Calculate mouse movement without mouse position?
Replies: 5
Views: 4361

Re: Calculate mouse movement without mouse position?

monsieur_h wrote: You could use

Code: Select all

love.mouse.setGrab( true )
don't you?
I already set setGrab to true right at the beginning of my love.load.

Annnnnd your little cheat helped me because now it works! THANKS!
by tomshreds
Tue Feb 19, 2013 3:10 pm
Forum: General
Topic: Calculate mouse movement without mouse position?
Replies: 5
Views: 4361

Calculate mouse movement without mouse position?

Hi, I'm trying to put object on a map by dragging them on a map. The problem is, when I go away from the game window borders, it stops moving. So I thought about calculating coordinates based on mouse movement. But once the mouse cursor has arrived on the edge of the screen I'm stuck since coordinat...
by tomshreds
Tue Feb 19, 2013 4:41 am
Forum: General
Topic: need help with anim8
Replies: 9
Views: 3838

Re: need help with anim8

Found the bug. It's because there's multiple instance of the character on the screen. So other character gets drawn over other's bubbles.

Damn.
by tomshreds
Tue Feb 19, 2013 4:37 am
Forum: General
Topic: need help with anim8
Replies: 9
Views: 3838

Re: need help with anim8

master both wrote:I bet, it is overlapping. Try to draw the background first and then the player by changing their position on your code.
I don't think so since the draw order is:

- background
- player
- rectangle

:-/ Thanks
by tomshreds
Tue Feb 19, 2013 4:36 am
Forum: General
Topic: need help with anim8
Replies: 9
Views: 3838

Re: need help with anim8

What are those last two arguments in your love.graphics.rectangle call for? Unless I'm missing something, the docs ( https://www.love2d.org/wiki/love.graphics.rectangle ) only show that function having 5 arguments: draw mode, x, y, width, and height. Perhaps that has something do with it? If not th...
by tomshreds
Tue Feb 19, 2013 12:24 am
Forum: General
Topic: need help with anim8
Replies: 9
Views: 3838

need help with anim8

Hi! I'm using anim8 for my animations, it's a perfect solution and I love it. But I encountered a little problem. I'm trying to draw OVER an animation but since the animation seems to be redrawn quicker than what I draw after it... or I simply don't why but the anim8 animation gets drawn over what I...
by tomshreds
Sun Feb 17, 2013 2:24 am
Forum: General
Topic: Löve on Ubuntu/Linux
Replies: 19
Views: 12983

Re: Löve on Ubuntu/Linux

Thanks for the responses. I needed a quick way of distributing a love game for linux. But I guess I'll be stuck with distributing the .love file which is a bit of a problem since my game is in alpha and will be a commercial release. But I guess for the first alpha nothing wrong can happen... I'll tr...
by tomshreds
Sun Feb 17, 2013 12:12 am
Forum: General
Topic: Löve on Ubuntu/Linux
Replies: 19
Views: 12983

Löve on Ubuntu/Linux

Hi, While trying to make a linux build for my game alpha I encountered one "weird" behaviour. I say weird but it might simply be my own stupidity. I installed the .deb package from the homepage, and then tried to run my game like this: "love game.love" and it started the love def...
by tomshreds
Sat Feb 16, 2013 4:44 pm
Forum: General
Topic: Any way to build a non-disassemblable executable?
Replies: 27
Views: 11244

Re: Any way to build a non-disassemblable executable?

I'd like to ask why you want to prevent disassembly anyway? Do you believe that you will lose some monitary value if you don't do this? If so, please explain how. Yesterday I edited the thread to add this: Anyways, I just thought about it and almost any games have ressources accessible by the publi...