Search found 69 matches

by CrackedP0t
Mon Feb 06, 2017 4:20 am
Forum: Support and Development
Topic: Emacs Setup?
Replies: 5
Views: 6775

Re: Emacs Setup?

Thanks. Do you know the syntax highlighting for the love2d itself? I found this minor mode a while back: https://github.com/ejmr/love-minor-mode. You can install it from MELPA, just enter love-minor-mode. Emacs protip: Whenever you're looking for a feature in emacs, try Googling `emacs (feature) mo...
by CrackedP0t
Sat Feb 04, 2017 10:02 pm
Forum: Support and Development
Topic: Emacs Setup?
Replies: 5
Views: 6775

Re: Emacs Setup?

I just use compile mode (M-x compile), and enter love . for the command. Then, in order to run your project, you can use M-x recompile or bind a key command to it in your .emacs.
by CrackedP0t
Sat Jan 07, 2017 9:18 pm
Forum: Libraries and Tools
Topic: wapi - async HTTP library
Replies: 3
Views: 3998

Re: wapi - async HTTP library

This is cool... but it would be even cooler if it used coroutines! For example: local wapi = require "webapi" function love.update(dt) wapi.update() end wapi.do(function() body, headers, code = wapi.request({ method = "GET", url = "http://jsonplaceholder.typicode.com/posts/1...
by CrackedP0t
Sat Jan 07, 2017 9:07 pm
Forum: General
Topic: Post-0.10.0 feature wishlist
Replies: 177
Views: 91061

Re: Post-0.10.0 feature wishlist

First, i would like to say that love2D is very well designed, it is well balanced between easy access and power of game creation. I don't use it since a long time, but the thing i miss the most is a basic GUI support to design my own game editor and tool. There's currently an issue about this on th...
by CrackedP0t
Thu Dec 29, 2016 4:27 am
Forum: General
Topic: Free game resources
Replies: 168
Views: 639726

Re: Free game resources

I found an amazing artist with >100 excellent JRPG-ish songs of all moods and types. Really, check them out. https://soundcloud.com/sei_peridot/sets ... nematerial
by CrackedP0t
Wed Nov 09, 2016 7:24 pm
Forum: Libraries and Tools
Topic: Scroll Tiled whith Love.Physics early Game !
Replies: 9
Views: 7245

Re: Scroll Tiled whith Love.Physics early Game !

Now that's what I call a necropost
by CrackedP0t
Fri Sep 09, 2016 1:38 am
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 914
Views: 729323

Re: Simple Tiled Implementation - STI v0.16.0.3

Hello! I am new to Lua and Love, and am attempting to follow the tutorial provided here: http://lua.space/gamedev/using-tiled-maps-in-love I've dropped the sti folder into the same directory as main.lua, and written the most basic of main.luas as suggested in the tutorial: -- Include Simple Tiled I...
by CrackedP0t
Thu Jun 23, 2016 4:22 am
Forum: Libraries and Tools
Topic: LuaNoise: libnoise bound to Lua
Replies: 0
Views: 2370

LuaNoise: libnoise bound to Lua

This is a Lua library written in C++ to expose the functionality of libnoise to Lua programs. It can be used with game engines like LÖVE, and probably Corona as well, or just with normal Lua or LuaJIT. libnoise is an incredibly powerful C++ library for creating and manipulating Perlin Noise, which c...
by CrackedP0t
Tue May 03, 2016 12:16 am
Forum: General
Topic: Mini Functions Repository
Replies: 48
Views: 41169

Re: Mini Functions Repository

leftpad, rightpad, luarocks, breaking the internet While hilarious, let me just set the record straight that string.format is what you want to use for your string padding. The format codes are a little weird at first and I always have to look them up myself: https://en.wikipedia.org/wiki/Printf_for...
by CrackedP0t
Tue May 03, 2016 12:13 am
Forum: General
Topic: Mini Functions Repository
Replies: 48
Views: 41169

Re: Mini Functions Repository

Here's a nice function that turns any value except for threads, functions, and (probably) userdata into Lua and human-readable strings: [...] s = s .. string.rep(indent, depth + 1) .. "[" .. stostring(k) .. "]" .. " = " .. stostring(v, depth + 1) .. ",\n" Wha...