Search found 3089 matches

by kikito
Tue Jan 22, 2019 12:28 pm
Forum: Libraries and Tools
Topic: [Library] anim8 - An animation library - v2.3.0 released
Replies: 69
Views: 26878

Re: [Library] anim8 - An animation library - v2.3.0 released

The "current frame" is not documented on purpose, because you should not tie your game logic to your animations. If you must know, it is `anim.position`. Let me explain why you should not use it. As an example, let's say that your 4-frame animation is a "shooting a gun" animation, with frame duratio...
by kikito
Mon Dec 24, 2018 1:02 am
Forum: Libraries and Tools
Topic: [library] bump.lua v3.1.4 - Collision Detection
Replies: 227
Views: 50950

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

I honestly lack the time to investigate this in depth. My recommendation would be to avoid this kind of tests on tile borders (or not do it and expect it to always work). Borders and corners are ... temperamental, especially when coupled with floating point numbers. If you find a way to make it work...
by kikito
Mon May 28, 2018 9:25 am
Forum: General
Topic: Today's downtime
Replies: 8
Views: 1450

Re: Today's downtime

Thanks a lot for fixing this, thelinx. Maintaining a website up is a task that often is taken for granted.
by kikito
Wed Apr 18, 2018 10:47 pm
Forum: Libraries and Tools
Topic: [library] gamera - A camera system for LÖVE - v1.0.1 is out
Replies: 63
Views: 24139

Re: [library] gamera - A camera system for LÖVE - v1.0.1 is out

Oh wait, shoot, it's gamera-demo.love that needs fixing, not gamera itself. No github page for that. Hi, I believe you can still send the PR. You must make it against the "demo" branch instead of "master" though (github should show a dropdown near the top of the page when you are creating the PR). ...
by kikito
Thu Jan 18, 2018 2:49 pm
Forum: Support and Development
Topic: 30log is not polymorphic?
Replies: 6
Views: 873

Re: 30log is not polymorphic?

I don't know the internals of 30log, but in middleclass you have to pass self to superclass constructors, not the class. I remember giving this a great deal of thought back in the day, and there was no other way. self is indeed "magical" inside constructors. I would be very surprised if 30log worked...
by kikito
Wed Jan 03, 2018 4:04 pm
Forum: Games and Creations
Topic: Conquest of Durgan Kal
Replies: 5
Views: 1299

Re: Conquest of Durgan Kal

The worst for now is the UI. It took me a couple tries just to start the game, a while to figure out how to equip weapons. I had been using my fists so when I realized how to equip the vine wip I was already almost dead. The player's slow horizontal movement makes me a bit nervous. Maybe because I r...
by kikito
Tue Jan 02, 2018 2:45 pm
Forum: Libraries and Tools
Topic: [Library] anim8 - An animation library - v2.3.0 released
Replies: 69
Views: 26878

Re: [Library] anim8 - An animation library - v2.3.0 released

You can make animations go faster or slower by altering the dt you pass them: -- if instead of anim:update(dt) you do: anim:update(dt * 2) -- anim will run twice as fast. anim:update(dt * 0.5) -- anim will run twice as slow. So you can store that coefficient in a variable and multiply it on the upda...
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: 7509

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

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