Search found 903 matches

by Karai17
Thu Jun 13, 2019 6:34 pm
Forum: Libraries and Tools
Topic: Encompass + LÖVE: Statically typed ECS development
Replies: 5
Views: 3775

Re: Encompass + LÖVE: Statically typed ECS development

80 systems seems a bit contrived. Also cross talk between systems is generally discouraged. If there is shared code between systems then that code probably shouldn't be in a system, but in a library or utility file. Systems are meant to independently process data and do little else.
by Karai17
Thu Jun 13, 2019 1:46 pm
Forum: Libraries and Tools
Topic: Encompass + LÖVE: Statically typed ECS development
Replies: 5
Views: 3775

Re: Encompass + LÖVE: Statically typed ECS development

Haxe is also a pretty good option for writing games in LOVE, that's what I use and it does the trick. I'm not exactly sure what the benefit of automatic system ordering provides. Generally speaking, you don't need to dynamically add or remove systems in your agme, just entities, so you'd likely just...
by Karai17
Thu Jun 13, 2019 1:39 pm
Forum: Support and Development
Topic: [SOLVED] enet cannot create any server
Replies: 14
Views: 6750

Re: enet cannot create any server

You're misunderstanding. The server does not care what the ip address is, only clients trying to connect care. the system hosting a server will always be localhost, thus you shoudl put localhost or 127.0.0.1 as the ip address, and then from the system trying to connect to the server, you'd use your ...
by Karai17
Wed Jun 12, 2019 2:16 am
Forum: Libraries and Tools
Topic: Find globals with LuaJIT (Linux, probably Mac too)
Replies: 12
Views: 7290

Re: Find globals with LuaJIT (Linux, probably Mac too)

It is absolutely optional, you can ignore the linter. The linter's job is to help you write idiomatic code. If you don't want to, then don't use a linter or just ignore the rules you don't care to follow. At no point does luacheck change your code, it only informs you of issues it finds.
by Karai17
Tue Jun 11, 2019 4:09 pm
Forum: General
Topic: STI Tutorial, Getting whole sprite sheet
Replies: 8
Views: 3897

Re: STI Tutorial, Getting whole sprite sheet

check the wiki to make sure you're using it correctly
by Karai17
Tue Jun 11, 2019 4:07 pm
Forum: Libraries and Tools
Topic: Find globals with LuaJIT (Linux, probably Mac too)
Replies: 12
Views: 7290

Re: Find globals with LuaJIT (Linux, probably Mac too)

the underscore method is idiomatic Lua so i think it's fine~
by Karai17
Tue Jun 11, 2019 5:38 am
Forum: Ports
Topic: LÖVR - a LÖVE-like engine for virtual reality
Replies: 31
Views: 66023

Re: LÖVR - a LÖVE-like engine for virtual reality

LOVR is written in C99 and LOVE is written in C++ so they aren't really compatible, no. On a different note, I've been using LOVR a lot recently with @shakesoda and we're working on an online multiplayer social game with it. We've made a fair bit of progress so far! Without trying to shill my own wa...
by Karai17
Tue Jun 11, 2019 5:09 am
Forum: Libraries and Tools
Topic: Find globals with LuaJIT (Linux, probably Mac too)
Replies: 12
Views: 7290

Re: Find globals with LuaJIT (Linux, probably Mac too)

I definitely like the _ idiom. If I am calling a function that has optional variables, I want it to be very obvious if I am not using them. A note about your example, in Lua you can just leave out trailing variables if you do not need to use them. function love.keypressed(_, scancode, _) could be wr...
by Karai17
Tue Jun 11, 2019 4:50 am
Forum: Libraries and Tools
Topic: What's your In-Code Documentation Tool?
Replies: 1
Views: 2457

Re: What's your In-Code Documentation Tool?

I think in general for Lua the usual choice is LDoc, which is the Lua documentation generator that uses the syntax denoted above. I use it for my libs.
by Karai17
Tue Jun 11, 2019 4:37 am
Forum: Games and Creations
Topic: Ballad of Thuriana: a Shining Force inspired Tactical RPG
Replies: 16
Views: 9273

Re: Ballad of Thuriana: a Shining Force inspired Tactical RPG

Whoa, this is super cool! I <3 the original Shining Force on Genesis, never played the sequels. Is the art original or did you find it somewhere? Definitely gonna keep an eye on this project. :)