Search found 16 matches

by egorcod
Sun Apr 22, 2018 2:21 pm
Forum: Support and Development
Topic: Physics - rotate Body around point
Replies: 3
Views: 525

Re: Physics - rotate Body around point

Sorry, I'm wrong with link. The right link is Body:setAngle. No, I don't need setAngularVelocity, because I need to rotate Body immediately. I just need to immediately rotate Body around some point.
by egorcod
Sun Apr 22, 2018 1:59 pm
Forum: Support and Development
Topic: Precision issue with lg.getColor()
Replies: 10
Views: 1219

Re: Precision issue with lg.getColor()

You can use simple patch: local lg = love.graphics local oldSetColor = lg.setColor local oldGetColor = lg.getColor local oldReset = lg.reset local def = {1, 1, 1, 1} local color = def lg.setColor = function(...) color = {...} oldSetColor(...) end lg.getColor = function() return unpack(color) end lg....
by egorcod
Sun Apr 22, 2018 12:41 pm
Forum: Support and Development
Topic: Physics - rotate Body around point
Replies: 3
Views: 525

Physics - rotate Body around point

Hello! Can I rotate Body around some point, it's center for example? I found Body:setAngle but it isn't what I exactly want, because it rotates Body around (0; 0).
by egorcod
Mon Apr 16, 2018 2:23 pm
Forum: Libraries and Tools
Topic: Hlp - collection of useful libraries for game development
Replies: 4
Views: 3952

Thanks :)
by egorcod
Sun Apr 15, 2018 3:13 pm
Forum: Libraries and Tools
Topic: Hlp - collection of useful libraries for game development
Replies: 4
Views: 3952

Hlp - collection of useful libraries for game development

Hello! I created a collection of some useful libraries. They are: 1. Finder This library can find game servers in local network through UDP broadcast. Example: local finder = require('finder') love.window.close() print('1 - server, other - client') if tonumber(io.read(1)) == 1 then print('server') l...
by egorcod
Sun Apr 15, 2018 2:39 pm
Forum: Support and Development
Topic: Strange pixel blur
Replies: 2
Views: 444

Strange pixel blur

Hello! I have a little robot texture: http://image.ibb.co/cGnErn/splash_robot.png I have code to draw it: love.load = function() image = love.graphics.newImage('robot.png') image:setFilter("nearest", "nearest") end love.draw = function() return love.graphics.draw(image, 0, 0, 0, 20, 20) end But when...
by egorcod
Fri Jan 26, 2018 2:54 pm
Forum: Support and Development
Topic: Zeroconf
Replies: 1
Views: 408

Zeroconf

Hello. I'm trying to create local multiplayer game. Is there some library for working with zeroconf or another thing?
by egorcod
Fri Aug 18, 2017 4:41 pm
Forum: General
Topic: Empty blue screen
Replies: 2
Views: 744

Empty blue screen

Hello.

I tried to start my game on my netbook with installed Windows 7, and got just blue window:Image

Can I fix it?

Thanks.
by egorcod
Sun Aug 13, 2017 9:19 am
Forum: Support and Development
Topic: Containers
Replies: 3
Views: 817

Re: Containers

by egorcod
Sun Aug 13, 2017 9:07 am
Forum: Support and Development
Topic: Containers
Replies: 3
Views: 817

Containers

Hello!

Can I create a container with bunnies and rotate it, like in PIXI.js?

Thanks.