Search found 8 matches

by Admicos
Mon Dec 15, 2014 6:17 pm
Forum: Support and Development
Topic: Common game translations
Replies: 93
Views: 69987

Re: Common game translations

Translated video (skipped a bunch of things i don't know), now translating audio.


(btw why there's 2 "Advanced settings" or similar things. Could'nt there just a General category or someting like that to have multiplied strings?)

EDIT: Stopping at Input. Gonna do some other stuff.
by Admicos
Mon Dec 15, 2014 11:36 am
Forum: Support and Development
Topic: Common game translations
Replies: 93
Views: 69987

Re: Common game translations

Did alot of stuff. Skipped video part becuase it was too long for me :D

And i guess somebody alerady translated Territory and Date. (I can't find any names other than mine in contributors place)
by Admicos
Mon Dec 15, 2014 10:26 am
Forum: Support and Development
Topic: Common game translations
Replies: 93
Views: 69987

Re: Common game translations

Adding some Turkish strings.

Happy to contribute!


(Sorry, my English is bad. Probably because im still learning.)
by Admicos
Sun Dec 14, 2014 2:51 pm
Forum: Support and Development
Topic: [SOLVED] Reading from a configuration file.
Replies: 9
Views: 5420

Re: Reading from a configuration file.

Take a look at how the framework itself handles a config file. A simple .lua file returning a table is ideal for what you're looking for. myConfig.lua local myConfTable = { abc = "some string", num = 1234, } return myConfTable main.lua cfg = require("myConfig") print(cfg.abc,cfg...
by Admicos
Sun Dec 14, 2014 7:48 am
Forum: Support and Development
Topic: [SOLVED] Reading from a configuration file.
Replies: 9
Views: 5420

Re: Reading from a configuration file.

...when i do this: for word in string.gmatch(cfg, "%a:") do print(word) end it prints ONLY the last word before the colon. Do i need to use another pattern? That's because the pattern you're describing is actually a letter and a colon . So this should print all the letters before a colon ...
by Admicos
Sat Dec 13, 2014 9:19 pm
Forum: Support and Development
Topic: [SOLVED] Reading from a configuration file.
Replies: 9
Views: 5420

Re: Reading from a configuration file.

Ok did a bit of research on gmatch.

But when i do this:

Code: Select all

for word in string.gmatch(cfg, "%a:") do
	 print(word)
end
it prints ONLY the last word before the colon. Do i need to use another pattern?

BTW. Yes i use Arch Linux ;)
by Admicos
Sat Dec 13, 2014 8:44 pm
Forum: Support and Development
Topic: [SOLVED] Reading from a configuration file.
Replies: 9
Views: 5420

[SOLVED] Reading from a configuration file.

Hello. I Want to read a configuration file i made to use it on my game.

File syntax is something like:

Code: Select all

#Comment

hello: world
number: 10
(I Can change it.)
by Admicos
Sun Nov 23, 2014 1:44 pm
Forum: Games and Creations
Topic: [My First Game] Pong!
Replies: 1
Views: 1821

[My First Game] Pong!

Hello Everyone! I'm Admicos. I'm a beginner for making games. Anyway. For my first game, i made a pong clone. The physics are little bit weird. But still. It's a beginner project. Controls: W-S for player 1 Up-Down for player 2 A Screenshot: https://love2d.org/imgmirrur/CDawRQD.png Downloads: Downlo...