Search found 15 matches

by 4vZEROv
Thu Mar 07, 2019 12:32 am
Forum: General
Topic: For design pattern material recommendations....
Replies: 1
Views: 446

Re: For design pattern material recommendations....

https://github.com/adnzzzzZ/blog is good with plenty of advices on how to structure your game code by a guy that actually released a good game
by 4vZEROv
Fri Mar 01, 2019 5:18 pm
Forum: General
Topic: Stencil testing within stencil testing
Replies: 2
Views: 569

Re: Stencil testing within stencil testing

Why would you do that ?
by 4vZEROv
Wed Feb 27, 2019 5:56 pm
Forum: Support and Development
Topic: Canvas + camera shake
Replies: 25
Views: 2569

Re: Canvas + camera shake

The problem is that you are drawing 2 layers : https://i.imgur.com/t8EVE4b.png - 1 with your image - 1 with your lights and dark background And then you try to move them at the same time. ONe way to correct that would be to separate the lights from the transparent background and then draw: -image fi...
by 4vZEROv
Fri Feb 22, 2019 9:37 pm
Forum: Support and Development
Topic: Scenes/Views/Activities question [Answered]
Replies: 27
Views: 4738

Re: Scenes/Views/Activities question [Answered]

If I understand correctly what you are saying, if it bother you to have multiple files but as the same time you want to keep your code clear, you could just write a "compiler" that output a single file from multiple files (just use require() functions to guide you). But I don't understand what your ...
by 4vZEROv
Fri Feb 22, 2019 1:22 pm
Forum: Support and Development
Topic: Hard time combining pixel art scaling and hump camera
Replies: 4
Views: 1293

Re: Hard time combining pixel art scaling and hump camera

I use this with a modified copy of hump.camera to have crisp pixels function love.load() _GAME = {} _GAME.SCALE = 3 _GAME.CANVAS = lg.newCanvas(lg.getWidth(), lg.getHeight()) end function love.draw() lg.setCanvas(_GAME.CANVAS) lg.clear() lg.push() lg.scale(1/_GAME.SCALE) camera:draw(draw_game) lg.po...
by 4vZEROv
Wed Feb 13, 2019 10:44 pm
Forum: General
Topic: Proposal for a new Love2d IDE
Replies: 8
Views: 1970

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: 719

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: 6
Views: 2046

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: 15252

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: 1407

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...