Search found 3091 matches

by kikito
Tue Jan 02, 2018 2:36 pm
Forum: Libraries and Tools
Topic: [library] inspect.lua - print tables and debug beautifully
Replies: 21
Views: 7662

Re: [library] inspect.lua - print tables and debug beautifully

Hi, inspect already works on metatables. What are you trying to do?
by kikito
Wed Dec 20, 2017 11:06 pm
Forum: General
Topic: Mixins, Composition, and Inheritance Guidelines
Replies: 8
Views: 1737

Re: Mixins, Composition, and Inheritance Guidelines

The difference between Entity-Component-System and OOP is the place where it is decided which code is run. In OOP that decision tree starts in the object instance and goes "up" from there: to its class definition first, and from there to superclasses and mixins. It's a tree of decisions which starts...
by kikito
Sun Nov 19, 2017 7:20 pm
Forum: General
Topic: Mixins, Composition, and Inheritance Guidelines
Replies: 8
Views: 1737

Re: Mixins, Composition, and Inheritance Guidelines

I'm trying to nail down a concrete guideline for myself (and maybe others) in this post that is easy to follow. Ah, I understand you. I have a name for the feeling. I call it The Struggle . I have this friend. He's younger than me. Designer. We have worked together in some projects. He's a very fin...
by kikito
Wed Sep 20, 2017 8:56 am
Forum: Support and Development
Topic: [HELP] Gamera Won't Center Camera on Player
Replies: 2
Views: 963

Re: [HELP] Gamera Won't Center Camera on Player

Hi there, it is working as expected, and following the player. It is not very noticeable because you have no background at all. It is much easier to see if you add some static background: local draw_f = function (l,t,w,h) hero.sprite:draw(hero.x,hero.y) love.graphics.rectangle('line', 100, 100, 100,...
by kikito
Fri Sep 01, 2017 9:39 am
Forum: Libraries and Tools
Topic: [library] bump.lua v3.1.4 - Collision Detection
Replies: 227
Views: 53804

Re: [library] bump.lua v3.1.4 - Collision Detection

thanks for your help, I appreciate it. You were a bit lucky :D Lots of other things fight for my limited free time, and reviewing other peoples's code takes a lot of it, so I can't do it often. But I know it helps individuals. And those ifs really jumped at me. Just so you know, this technique of "...
by kikito
Fri Sep 01, 2017 12:09 am
Forum: Libraries and Tools
Topic: [library] bump.lua v3.1.4 - Collision Detection
Replies: 227
Views: 53804

Re: [library] bump.lua v3.1.4 - Collision Detection

To solve it I just let the resolveCollision method return the new x and y position and I use them as newx and newy instead of wx, wy. It works but I hate the way it is done... I would love to hear some better ideas from you guys.. Well the only thing I can say is that the code seems a bit "involved...
by kikito
Wed Aug 30, 2017 6:36 pm
Forum: Libraries and Tools
Topic: [library] bump.lua v3.1.4 - Collision Detection
Replies: 227
Views: 53804

Re: [library] bump.lua v3.1.4 - Collision Detection

it seems like "cross" doesn't allow me to teleport using world:update, while setting the filter to any of the others result in the object to teleport where I want it to go That should not happen. world:update doesn't even look at filters . If you can, please provide a .love example showing this beh...
by kikito
Tue Aug 15, 2017 9:52 am
Forum: Libraries and Tools
Topic: [library] bump.lua v3.1.4 - Collision Detection
Replies: 227
Views: 53804

Re: [library] bump.lua v3.1.4 - Collision Detection

Hi everyone, It has taken me a while to post here, I was away from keyboard but I saw all the questions/answers on my mobile phone. @alberto_lara corner cases are *very* difficult to handle. I'm starting to think there's no way to 100% deal with them, given the constraints we have in LÖVE (floating ...
by kikito
Tue Jun 13, 2017 3:00 pm
Forum: Games and Creations
Topic: Cactus game.
Replies: 37
Views: 9481

Re: Cactus game.

🌵 🎮
by kikito
Wed May 31, 2017 8:57 pm
Forum: General
Topic: New to game dev
Replies: 6
Views: 2220

Re: New to game dev

Hi, welcome to the forums! Ask away!