Search found 1557 matches

by Roland_Yonaba
Wed Aug 17, 2016 3:03 pm
Forum: General
Topic: Twitter
Replies: 9
Views: 1901

Re: Twitter

Nice initiative! Keep it up!
by Roland_Yonaba
Tue Aug 02, 2016 8:45 am
Forum: Libraries and Tools
Topic: trail - points/meshes made easy
Replies: 1
Views: 1182

Re: trail - points/meshes made easy

That is cool!
by Roland_Yonaba
Mon Aug 01, 2016 4:54 pm
Forum: Support and Development
Topic: Troubles with Lua class and OOP
Replies: 8
Views: 2188

Re: Troubles with Lua class and OOP

I'm still gettin an error if someone give me an example of how should be done i would really appreciate it Hi Japple, The way you have defined you code in Player.lua is quite fine. You defined it in a way it is self-contained within the scope of the file itself, which is a very good practive you sh...
by Roland_Yonaba
Tue Jul 19, 2016 3:17 pm
Forum: Libraries and Tools
Topic: [v3.0]Traveler. A* pathfinder|WIP|undergoing documentation
Replies: 8
Views: 2371

Re: [v2.0]Traveler. A* pathfinder| Now more Faster!

Hi Arch, seems like you put some efforts in that! Keep it up. QUickly peeking at the code, I noticed something I would suggest to improve. The function "traveler.Utilities.doesTableContain" can be written in a way it early exits from the for loop as soon as the item being searched is found. Just cha...
by Roland_Yonaba
Mon Jul 18, 2016 4:23 pm
Forum: General
Topic: blogs.love2d.org - The Official LÖVE Blogs!
Replies: 94
Views: 151722

Re: blogs.love2d.org - The Official LÖVE Blogs!

Ow, why, I learnt something new!
Thanks, Zorg!
by Roland_Yonaba
Mon Jul 18, 2016 2:52 pm
Forum: General
Topic: blogs.love2d.org - The Official LÖVE Blogs!
Replies: 94
Views: 151722

Re: blogs.love2d.org - The Official LÖVE Blogs!

I recently got a message on the forums asking me about the way LÖVE does garbage collection on its objects, and I figured they probably aren't the only ones interested, so here's an expanded answer. Read more, on the blogs: http://blogs.love2d.org/content/garbage-collection-l%C3%B6ve In paragraph t...
by Roland_Yonaba
Thu Jul 14, 2016 8:54 am
Forum: General
Topic: What's your Lua/Love setup ?
Replies: 26
Views: 7826

What's your Lua/Love setup ?

I recently moved to a new computer and I would like to try a new Lua setup. And I want it to be optimal. Ideally, I will be more focused on writing Lua scripts/libraries and be able to switch between Lua 5.1, 5.2 ou 5.3. And sometimes, work on LÖVE games, run some LÖVE games... I would love the main...
by Roland_Yonaba
Sun Jun 19, 2016 10:54 pm
Forum: Support and Development
Topic: Diagonal pathfinding
Replies: 15
Views: 3374

Re: Diagonal pathfinding

EDIT: @Roland_Yonaba thanks for linking to Jumper. I was looking for a pathfinding library before I wrote zStar, but couldn't find one that met my needs. If I had found Jumper, I may not have written zStar. (Assuming it runs as fast as zStar that is.) Feel free to run some tests. Also, note that Ju...
by Roland_Yonaba
Sun Jun 19, 2016 3:02 pm
Forum: Support and Development
Topic: Diagonal pathfinding
Replies: 15
Views: 3374

Re: Diagonal pathfinding

There is also Jumper. It offers a lot of flexibility, so I guess it might help.
by Roland_Yonaba
Tue Apr 05, 2016 7:52 am
Forum: General
Topic: Mini Functions Repository
Replies: 46
Views: 9811

Re: Mini Functions Repository

Clamp function A shorter version : local function clamp(value, min, max) return math.min(max, math.max(value, min)) end Or in case you need to assign the value within the function : local function clamp(value, min, max) value = math.min(max, math.max(value, min)) return value end This cheatsheet wo...