Search found 175 matches

by Tjakka5
Sat Jun 10, 2017 12:51 pm
Forum: Games and Creations
Topic: Cactus game.
Replies: 37
Views: 2531

Re: Cactus game.

Kaktus spel
by Tjakka5
Fri Jun 09, 2017 12:18 pm
Forum: Support and Development
Topic: How to install a module which isn't specifically for LÖVE?
Replies: 4
Views: 245

Re: How to install a module which isn't specifically for LÖVE?

Looking into the source (and docs) it seems to be 'dump.tostring'. Note that the 's' is not capital.
You could also potentially look into executing your code async with threads.
by Tjakka5
Thu Jun 08, 2017 7:24 pm
Forum: Support and Development
Topic: Smart AI under gravity
Replies: 4
Views: 265

Re: Smart AI under gravity

The moveSpeed value is indeed the speed at which the object's move in the direction they are facing. At line 85, 86 is where is calculated where the player will be in x seconds. Where x is the amount of time it would take the enemy to get to the player's current position. These 2 lines could be adap...
by Tjakka5
Wed Jun 07, 2017 4:14 pm
Forum: Support and Development
Topic: Smart AI under gravity
Replies: 4
Views: 265

Re: Smart AI under gravity

I have attached a demo which uses a form of position prediction.
It's not perfect, and there's a comment stating a few ways it could be improved, but it's a good start.

Hope it helps!
by Tjakka5
Sat Jun 03, 2017 10:48 am
Forum: General
Topic: Essential libraries for game making
Replies: 6
Views: 614

Re: Essential libraries for game making

Rather than debating if you need it or not, here's my list: Middleclass: Best class system in my opinion. Hump: I mainly use Vector, Gamestate, Timer and Camera. Flux: Tweening makes things look fancy, it's better than Hump's timer system in my opinion. Shine: Post processing shaders. I mainly use i...
by Tjakka5
Sun Apr 23, 2017 12:56 pm
Forum: Support and Development
Topic: [Help Requested] Making a mesh follow a Bezier Curve
Replies: 3
Views: 376

Re: [Help Requested] Making a mesh follow a Bezier Curve

Ulydev has created a trail library that works in 0.10.x, but it can be somewhat wonky at times.
https://github.com/Ulydev/trail

Maybe it can help you.
by Tjakka5
Sun Apr 16, 2017 1:10 pm
Forum: Support and Development
Topic: Cant switch back to a previous gamestate with hump
Replies: 9
Views: 639

Re: Cant switch back to a previous gamestate with hump

Sir_Silver is correct; however, that will result a recursive require. (Outercore tries to load core, core tries to load outercore, repeat) Since require keeps anything loaded in package.loaded, it won't do any extra work, so nothing (bad) will happen, this isn't c that you need to write include gua...
by Tjakka5
Sun Apr 16, 2017 10:35 am
Forum: Support and Development
Topic: Cant switch back to a previous gamestate with hump
Replies: 9
Views: 639

Re: Cant switch back to a previous gamestate with hump

Sir_Silver is correct; however, that will result a recursive require. (Outercore tries to load core, core tries to load outercore, repeat) The way to fix this is by loading them in in core:init Core: local outercore function core:init() outercore = require "states.outercore" end Outercore: local cor...
by Tjakka5
Fri Mar 31, 2017 1:02 pm
Forum: Libraries and Tools
Topic: ImGui LÖVE module
Replies: 141
Views: 15061

Re: ImGui LÖVE module

Hi!

Im trying to build Imgui for Ubuntu 14.04 LTS, but Im having some difficulty.
imgui.png
imgui.png (26.17 KiB) Viewed 715 times
Any idea on what I'm doing wrong?
by Tjakka5
Fri Mar 24, 2017 12:56 pm
Forum: Support and Development
Topic: Calling other languages from love2d?
Replies: 17
Views: 1373

Re: Calling other languages from love2d?

The link you provided only lists differences, not shortcomings.