Search found 73 matches

by zalander
Thu Jul 27, 2023 1:11 pm
Forum: Games and Creations
Topic: Flappy bird but bad and slow
Replies: 11
Views: 12083

Re: Flappy bird but bad and slow

Hey guys i am almost done making crappy bird but i need a slowed down version of the flappy bird music so can anyone help me with that ?
https://zalander.itch.io/123029483948
by zalander
Sun Jun 18, 2023 8:35 am
Forum: Support and Development
Topic: File wont save [SLOVED]
Replies: 15
Views: 10823

Re: File wont save

ohhh i got it my code adds a "\b" that needs to be removed before saving the file thanks for the help guys !
:awesome:
by zalander
Sun Jun 18, 2023 8:33 am
Forum: Support and Development
Topic: File wont save [SLOVED]
Replies: 15
Views: 10823

Re: File wont save

zorg wrote: Sun Jun 18, 2023 4:09 am It should only be a filename, and not a full path though; otherwise most characters should be accepted as names anyway.
its just the file name not the full path
by zalander
Sat Jun 17, 2023 5:28 pm
Forum: Support and Development
Topic: File wont save [SLOVED]
Replies: 15
Views: 10823

Re: File wont save

I added this to the love.update function and it tells me that the file name is illegal or is insecure if love.keyboard.isDown("return") then local success, message = love.filesystem.write(game.file_n, game.txt) if success then print("File saved successfully!") else print("E...
by zalander
Sat Jun 17, 2023 8:45 am
Forum: Support and Development
Topic: File wont save [SLOVED]
Replies: 15
Views: 10823

Re: File wont save

Andlac028 wrote: Sat Jun 17, 2023 6:23 am What is the content of game.txt? Can you add also print for it?
game.txt contains a string
by zalander
Sat Jun 17, 2023 8:43 am
Forum: Support and Development
Topic: File wont save [SLOVED]
Replies: 15
Views: 10823

Re: File wont save

zorg wrote: Sat Jun 17, 2023 8:02 am The naming was a bit confusing, since i assumed the second parameter was the filename when it wasn't;
what's in game.file_n ?
game.file_n contains a string which is the file name
by zalander
Sat Jun 17, 2023 4:32 am
Forum: Support and Development
Topic: File wont save [SLOVED]
Replies: 15
Views: 10823

Re: File wont save

I added this to the love.update function and it tells me that the file name is illegal or is insecure if love.keyboard.isDown("return") then local success, message = love.filesystem.write(game.file_n, game.txt) if success then print("File saved successfully!") else print("Er...
by zalander
Sat Jun 17, 2023 4:10 am
Forum: Support and Development
Topic: File wont save [SLOVED]
Replies: 15
Views: 10823

Re: File wont save

zorg wrote: Fri Jun 16, 2023 6:18 pm Did you forget the quotes around "game.txt"? I assume you want that as a filename and not a variable.
No its a variable
by zalander
Fri Jun 16, 2023 5:55 pm
Forum: Support and Development
Topic: File wont save [SLOVED]
Replies: 15
Views: 10823

File wont save [SLOVED]

Hi there, I have been recently working on a project but i encountered a problem where my file wont save here is the code : function love.load() --load stuff end function love.update() -- things if love.keyboard.isDown("return") then if love.filesystem.getInfo(game.file_n) then love.filesys...
by zalander
Fri Jun 16, 2023 5:52 pm
Forum: General
Topic: Where are you from?
Replies: 29
Views: 21856

Re: Where are you from?

darkfrei wrote: Thu Jun 15, 2023 1:30 pm
zalander wrote: Thu Jun 15, 2023 11:35 am I just saw India and Asia are different options why ?
Because China.
oh k