Search found 89 matches

by Chroteus
Mon Feb 10, 2014 2:37 pm
Forum: Libraries and Tools
Topic: PlayBoy - An open-source IRC API!
Replies: 8
Views: 6703

Re: PlayBoy - An open-source IRC API!

This can easily be used for multiplayer! I will definitely download this library.
by Chroteus
Mon Feb 10, 2014 2:31 pm
Forum: Support and Development
Topic: Mouse sensitivity [SOLVED]
Replies: 10
Views: 6658

Re: Mouse sensitivity

Thanks for your contributions, but the mouse either was "slipping away" or was just stuck to my screen's right edge. Daniel, the mouse didn't slow down but just became choppy. After all, that's the point of delta time. To make entities move independent of framerate. Anyway, you guys gave m...
by Chroteus
Mon Feb 10, 2014 1:38 pm
Forum: Support and Development
Topic: Mouse sensitivity [SOLVED]
Replies: 10
Views: 6658

Re: Mouse sensitivity

To illustrate my point better, I'll upload the love file. My goal is to decrease sensitivity as you zoom-in.
by Chroteus
Mon Feb 10, 2014 1:09 pm
Forum: Support and Development
Topic: Mouse sensitivity [SOLVED]
Replies: 10
Views: 6658

Mouse sensitivity [SOLVED]

Considering love2d has no love.mouse.setSensitivity() function, can I somehow change the sensitivity using love.mouse.set[X,Y]() functions?
by Chroteus
Thu Jan 23, 2014 1:46 pm
Forum: Support and Development
Topic: The wrong enemy disappears when I shoot it
Replies: 5
Views: 3446

Re: The wrong enemy disappears when I shoot it

That Line 71... That was unexpected to see such stuff in a source code of a game. :rofl:
by Chroteus
Thu Jan 23, 2014 1:30 pm
Forum: Support and Development
Topic: Pairs iterating from backwards? [SOLVED]
Replies: 5
Views: 5232

Re: Pairs iterating from backwards?

Thanks for the code, bzsteve. Kikito, initially I wanted to do it this way but then I decided not to in case I'll need to access specific country's variable. Anyway, marking thread as solved. EDIT: I decided to go with the first approach I was thinking. If I'll want to do something with a country, I...
by Chroteus
Wed Jan 22, 2014 11:49 am
Forum: Support and Development
Topic: Pairs iterating from backwards? [SOLVED]
Replies: 5
Views: 5232

Re: Pairs iterating from backwards?

I see. Thanks for the information. I'll try to come up with something else then.
by Chroteus
Wed Jan 22, 2014 11:32 am
Forum: Support and Development
Topic: engine doesn't like invisible cursor
Replies: 7
Views: 3602

Re: engine doesn't like invisible cursor

If you're going to have a custom cursor, I might recommend you calling

Code: Select all

love.mouse.setGrabbed(true)
in love.load().
by Chroteus
Wed Jan 22, 2014 11:28 am
Forum: Support and Development
Topic: Pairs iterating from backwards? [SOLVED]
Replies: 5
Views: 5232

Pairs iterating from backwards? [SOLVED]

Hello Lövers :3 Long time no see. I'm currently making a strategy game and have a little problem I couldn't find an answer to. Here's the relevant code: require "class.country" countries = { -- Country(color, name, attack, defense) Ukraine = Country({255,255,0, 64}, "Ukraine", 10...
by Chroteus
Sat Dec 14, 2013 7:52 pm
Forum: Support and Development
Topic: Making a player.
Replies: 9
Views: 3596

Re: Making a player.

player = love.graphics.newImage("textures/char.png") Here's your problem. First you define player as a table, and then as an image. Define image with player.image, not player variable. And in draw function, draw player.image, instead of player. So, your game should look like this: functio...