Search found 879 matches

by Karai17
Sat Jun 22, 2019 5:38 pm
Forum: Support and Development
Topic: Having problems with an AABB Collision Function
Replies: 3
Views: 3812

Re: Having problems with an AABB Collision Function

function love.update(dt) if not CheckCollision(player.x, player.y, player.w, player.h, blockx, blocky, blockw, blockh) then if love.keyboard.isDown("a", "left") then textx = textx + player.spd * dt blockx = blockx + player.spd * dt end if love.keyboard.isDown("d", "right") then textx = textx - play...
by Karai17
Sat Jun 22, 2019 5:26 pm
Forum: General
Topic: Bump.lua - collision not working
Replies: 9
Views: 3739

Re: Bump.lua - collision not working

Have you looked at the tutorial that is in the github repo?

https://github.com/karai17/Simple-Tiled ... -to-sti.md
by Karai17
Sat Jun 15, 2019 9:12 am
Forum: Support and Development
Topic: [SOLVED] enet cannot create any server
Replies: 14
Views: 5164

Re: enet cannot create any server

might just be a unix thing.
by Karai17
Sat Jun 15, 2019 8:06 am
Forum: Support and Development
Topic: [SOLVED] enet cannot create any server
Replies: 14
Views: 5164

Re: enet cannot create any server

I have never in my life been unable to connect to a server i bound to 127.0.0.1 or localhost.
by Karai17
Thu Jun 13, 2019 7:05 pm
Forum: Libraries and Tools
Topic: Encompass + LÖVE: Statically typed ECS development
Replies: 5
Views: 2592

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

My games are non trivial and usually land under 10 systems, so perhaps your definition of what constitutes a system is different. I'm not trying to downplay your work, I'm just trying to understand the benefit. It seems to me that while you are moving towards functional programming, you may be holdi...
by Karai17
Thu Jun 13, 2019 6:34 pm
Forum: Libraries and Tools
Topic: Encompass + LÖVE: Statically typed ECS development
Replies: 5
Views: 2592

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

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

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

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.