Search found 10 matches

by 4vZEROv
Wed Feb 13, 2019 10:44 pm
Forum: General
Topic: Proposal for a new Love2d IDE
Replies: 4
Views: 152

Re: Proposal for a new Love2d IDE

The "documentation made easy to navigate part" sound good. Other than that I don't really see any feature that can't be implemented otherwise. Good luck anyway
by 4vZEROv
Sat Feb 09, 2019 3:16 pm
Forum: General
Topic: need explanations on how rotation transforms works
Replies: 1
Views: 156

Re: need explanations on how rotation transforms works

local rect = {x = 100, y = 100, w = 200, h = 200} rect.center_x = rect.x + rect.w/2 rect.center_y = rect.y + rect.h/2 rect.angle = 0.1 function love.update(dt) if love.keyboard.isDown("left") then rect.angle = rect.angle + 0.01 end if love.keyboard.isDown("right") then rect.angle = rect.angle - 0.0...
by 4vZEROv
Sat Feb 09, 2019 2:56 pm
Forum: Games and Creations
Topic: is it possible to make a rpg like Mother?
Replies: 5
Views: 506

Re: is it possible to make a rpg like Mother?

Löve as fast as Gamemaker (in fact a lot more) so everything you can do with one you can do with the other.
by 4vZEROv
Sun Feb 03, 2019 1:59 pm
Forum: Libraries and Tools
Topic: Möan.lua - A simple messagebox system.
Replies: 35
Views: 10117

Re: Möan.lua - A simple messagebox system.

Nice rework :)
I found some things you could work :
- playSound() and parseSpeed() are global
- indentation timer is framerate dependant
by 4vZEROv
Thu Jan 17, 2019 8:08 pm
Forum: General
Topic: Free starting guide Lua
Replies: 6
Views: 1030

Re: Free starting guide Lua

https://nsa40.casimages.com/img/2019/01/17//190117091114821698.png https://nsa40.casimages.com/img/2019/01/17//190117091114821698.png https://nsa40.casimages.com/img/2019/01/17//190117091114821698.png https://nsa40.casimages.com/img/2019/01/17//190117091114821698.png https://nsa40.casimages.com/img...
by 4vZEROv
Tue Jan 08, 2019 6:22 pm
Forum: Libraries and Tools
Topic: Breezefield: a lightweight windfield alternative (love.physics wrapper)
Replies: 9
Views: 1832

Re: Breezefield: a lightweight windfield alternative (love.physics wrapper)

do as you want with the code, i have a repo for it that i'll update to implement queries etc : https://github.com/4v0v/LOVE_PHYSICS What i don't like is more or less only code structure: -too much useless comments -too much loc -separate files -separate mlib library for only 2 functions Also fixture...
by 4vZEROv
Mon Jan 07, 2019 11:29 pm
Forum: Libraries and Tools
Topic: [11.2] Litte Menu Engine
Replies: 6
Views: 2409

Re: [11.1] Litte Menu Engine

You don't have to declare local i / local k , v when you do

for i = 0, 10 do ... end
&
for k,v in pairs(tbl) do ... end
by 4vZEROv
Mon Jan 07, 2019 1:40 pm
Forum: Libraries and Tools
Topic: Breezefield: a lightweight windfield alternative (love.physics wrapper)
Replies: 9
Views: 1832

Re: Breezefield: a lightweight windfield alternative (love.physics wrapper)

I've rewritten your and the windfield library to match my style more (didn't implement queries yet). local lp, lg = love.physics, love.graphics local function _set_funcs(obj1, obj2) for k, v in pairs(obj2.__index) do if k~="__gc" and k~="__eq" and k~="__index" and k~="__tostring" and k~="isDestroyed...
by 4vZEROv
Wed Jan 02, 2019 8:51 pm
Forum: Support and Development
Topic: Get all keys of KeyConstant ?
Replies: 13
Views: 671

Re: Get all keys of KeyConstant ?

Don't know if this will help but here is my love.run where I handle inputs to do if pressed("key") then ... end in love.update : function love.run() local dt = 0 local _INPUT = {current_state = {}, previous_state = {}} function pressed(key) return _INPUT.current_state[key] and not _INPUT.previous_st...