Search found 17 matches

by maxtrautwein
Thu Apr 09, 2020 6:45 am
Forum: Support and Development
Topic: love.filesystem.write doesn't work
Replies: 4
Views: 1210

Re: love.filesystem.write doesn't work

Ok I managed somehow to make the saving feature works but I still can't see the file in Application Support. I don't know if it's an issue?
by maxtrautwein
Thu Apr 09, 2020 5:56 am
Forum: Support and Development
Topic: love.filesystem.write doesn't work
Replies: 4
Views: 1210

love.filesystem.write doesn't work

Hi ! I am trying to save some data on my game but love.filesystem.write doesn't seem to work at all... I am doing this love.filesystem.write('save','anything here') First I can't even see the LOVE folder in /Application support/ (and I already set an identity in conf.lua) So I don't understand how I...
by maxtrautwein
Fri Mar 20, 2020 9:47 am
Forum: General
Topic: Function to reload a file during runtime
Replies: 2
Views: 1946

Re: Function to reload a file during runtime

Thank for the reply!

It works, it was totally easy I don't why I thought I needed to do something else haha.

I just had to recall the function.
by maxtrautwein
Thu Mar 19, 2020 6:56 am
Forum: General
Topic: Function to reload a file during runtime
Replies: 2
Views: 1946

Function to reload a file during runtime

Hey! I need some help: I have a function that load a .csv file, and this file is constantly changing outside the lua/love application. So I want to be able to reload the file each time to see the changes by pressing the key 'X' for example. I've already tried LICK but to reload we have to save the ....
by maxtrautwein
Sun Aug 25, 2019 11:32 am
Forum: Support and Development
Topic: [bump] how to detect side collision
Replies: 6
Views: 1836

Re: [bump] how to detect side collision

Here is the entire code, sorry i don't know how to attach a file. You can focus on the 'playerf' functions. I don't know why but col.normal.y seems to work but col.normal.x doesn't work. io.stdout:setvbuf('no') love.graphics.setDefaultFilter("nearest") local bump = require('bump') local world = bump...
by maxtrautwein
Sun Aug 25, 2019 1:08 am
Forum: Support and Development
Topic: [bump] how to detect side collision
Replies: 6
Views: 1836

Re: [bump] how to detect side collision

everytime i expected a collision the value of col.normal.x stay at 0
by maxtrautwein
Sat Aug 24, 2019 4:50 pm
Forum: Support and Development
Topic: [bump] how to detect side collision
Replies: 6
Views: 1836

[bump] how to detect side collision

Hi, I use bump.lua, the collision library, and i have a small issue : I can detect when a collision is happening on the down side of my cube, the print is working -> player.x, player.y, cols, len = world:move(player, player.x, player.y + player.vy) for i = 1, len do local col = cols[i] if col.normal...
by maxtrautwein
Wed May 01, 2019 6:13 pm
Forum: General
Topic: LÖVE 11.2 released - including Android APK!
Replies: 46
Views: 280779

Re: LÖVE 11.2 released!

I also have some issue with the 11.2 on mac OS 10.14.3 with the fps.. Where can i get back the 11.1 version ??
update : just done the 10.14.4 update and it works fine now, great.
by maxtrautwein
Sat Apr 27, 2019 11:53 pm
Forum: Support and Development
Topic: [bump.lua] detect a collision only between 2 items
Replies: 6
Views: 1434

Re: [bump.lua] detect a collision only between 2 items

Ok now i understand! thank you very much for your time :))
by maxtrautwein
Sat Apr 27, 2019 11:07 pm
Forum: Support and Development
Topic: [bump.lua] detect a collision only between 2 items
Replies: 6
Views: 1434

Re: [bump.lua] detect a collision only between 2 items

function camera.filter(item,other) if other.is3 then return "cross" end end function camera.update(dt) local filter = camera.filter(player,camera.rect[3]) player.x, player.y, cols, len = world:move(player,player.x,player.y,filter) for i = 1, len do if cols[i].other.is3 then print('player collide wi...