Search found 86 matches

by whitebear
Sat Jun 13, 2009 5:19 pm
Forum: Support and Development
Topic: File System Problem, Cant write save game.
Replies: 22
Views: 17095

Re: File System Problem, Cant write save game.

Code: Select all

   mapfile = love.filesystem.newFile("filename.txt", love.file_write)
   love.filesystem.open(mapfile)
   love.filesystem.write(mapfile, "blah")
   love.filesystem.close(mapfile)
Worked just fine for me...
Loading works too.
by whitebear
Sat Jun 13, 2009 5:09 pm
Forum: Support and Development
Topic: Not Random Random
Replies: 21
Views: 10494

Re: Not Random Random

Well thank you. Helped a lot. although I don't understand the reason for load function in first place considering you can write all you want outside all the functions.

Also. Humans can't truly generate random number either. You can throw dice with skill. It's just Hard :D
by whitebear
Sat Jun 13, 2009 4:30 pm
Forum: Libraries and Tools
Topic: Highscores script.
Replies: 27
Views: 14112

Re: Highscores script.

Does Löve read compiled lua files? That would make it more secure. I would like to try this with my mySQL database but I do not fancy sharing the passwords in public internet.
by whitebear
Sat Jun 13, 2009 4:16 pm
Forum: Support and Development
Topic: Not Random Random
Replies: 21
Views: 10494

Not Random Random

Well noticed that the actual math.random() is not really random. I am creating simple strategy game where the map is random. But it's not. Every time I open the game the map looks exactly the same. Example Count = 1 --[Here starts the map generation and it gives each part an ID that can be called la...
by whitebear
Mon Apr 13, 2009 11:13 pm
Forum: Games and Creations
Topic: A Platformer With Love!
Replies: 76
Views: 40569

Re: A Platformer With Love!

Is the "wall" end of the level or am I missing something here?
by whitebear
Mon Apr 13, 2009 11:08 pm
Forum: Games and Creations
Topic: Militia Defense (2009-07-17)
Replies: 58
Views: 41549

Re: Militia Defense (2009-04-13)

Well to recreate the bug. Choose any unit and place it in spot where it can reach one of the road ends where the enemy spawns. Now after first round you notice that even though no enemies try to spawn still these units that can reach the road ends franticly try to shoot them. (with sniper's slow rel...
by whitebear
Sun Apr 12, 2009 4:25 pm
Forum: Games and Creations
Topic: Militia Defense (2009-07-17)
Replies: 58
Views: 41549

Re: Militia Defense (2009-03-12)

Bug... All units that reach the spawn points shoot at it... (no need for anyone to spawn)
by whitebear
Sat Apr 04, 2009 9:11 pm
Forum: Libraries and Tools
Topic: LUBE-demo
Replies: 17
Views: 9250

Re: LUBE-demo

I figured I can just keep it that client only sends input and recieves values they are allowed to know. There is no need to send them if they don't need them.
by whitebear
Tue Mar 31, 2009 6:52 pm
Forum: Libraries and Tools
Topic: LUBE-demo
Replies: 17
Views: 9250

Re: LUBE-demo

Does Lube have function to check if client is using exact copy of myultimate.love ? (to avoid cheating).
by whitebear
Sat Mar 28, 2009 10:56 am
Forum: Games and Creations
Topic: Cave Boy - Minimal Labyrinth Walking Toy
Replies: 21
Views: 9876

Re: Cave Boy - Minimal Labyrinth Walking Toy

Well I'ts still quite possible and has been done before. (not for love though)