Search found 166 matches
- Sun Mar 16, 2014 6:04 pm
- Forum: Support and Development
- Topic: Best way to localize text?
- Replies: 5
- Views: 3066
Re: Best way to localize text?
It may be better to make a completely independent file holding all the strings, or at least to put the strings in a local table like this: function langset_english() local set = { "Hello", "Goodbye", ... } end (Keeping it this local depends on what exactly you're doing though) Ma...
- Sat Mar 15, 2014 9:12 pm
- Forum: Support and Development
- Topic: Problem with Collision
- Replies: 5
- Views: 4516
Re: Problem with Collision
Hey JHB, I fixed up the love for you, the collision should run smoothly now. I'd go into detail about what I fixed, but I'm in a bit of a hurry, sorry!
I hope this helps!
(Oh, I changed/added a few variables in there while I was working, I hope you don't mind)
I hope this helps!
(Oh, I changed/added a few variables in there while I was working, I hope you don't mind)
- Sat Mar 15, 2014 3:58 am
- Forum: Games and Creations
- Topic: Zuli
- Replies: 6
- Views: 6779
Re: Zuli
I AM (spoiler!) SUCCEEDED FREE THEIR PEOPLE!!
Nice game, I like it; not a lot of people get to say they have made a complete game, with menus, credits, gameplay, multiple enemies and bosses. You should be proud! Congrats on your game!
Nice game, I like it; not a lot of people get to say they have made a complete game, with menus, credits, gameplay, multiple enemies and bosses. You should be proud! Congrats on your game!
- Fri Mar 14, 2014 2:18 am
- Forum: Support and Development
- Topic: love.graphics.pring & font settings
- Replies: 5
- Views: 2601
Re: love.graphics.pring & font settings
EDIT: DaedalusYoung has the nitty gritty explanation down Yeah TrueType fonts are a lot like glyph fonts from images (at least, I'm pretty sure); someone creates the font character by character and is responsible for aligning the left of the letter where the designated left side is. As far as the ve...
- Thu Mar 13, 2014 10:00 pm
- Forum: Support and Development
- Topic: love.graphics.pring & font settings
- Replies: 5
- Views: 2601
Re: love.graphics.pring & font settings
My guess is that the font is to blame for this problem. The first thing that popped into my mind was that you should try a monospaced font, which worked to align the font horizontally with exactly where you want to print it. If you add half of the font's descent you can negate the pesky vertical ali...
- Fri Mar 07, 2014 6:46 am
- Forum: Support and Development
- Topic: [Solved] Require and local functions
- Replies: 2
- Views: 2527
Re: Require and local functions
-- WH..
Well that was simple. I'm just gonna, go over here and reevaluate my abilities as a programmer now.
Thanks for the help!
Well that was simple. I'm just gonna, go over here and reevaluate my abilities as a programmer now.
Thanks for the help!
- Fri Mar 07, 2014 4:15 am
- Forum: Support and Development
- Topic: [Solved] Require and local functions
- Replies: 2
- Views: 2527
[Solved] Require and local functions
I'm having a little trouble figuring out how to store local functions on files that are required. I'm not sure how to word this, so I wrote some scripts to explain what I mean (also attached as a .zip): main.lua function love.load() foobar = require 'foobar' foobar.foo() end foobar.lua local foo = {...
- Thu Mar 06, 2014 2:59 am
- Forum: Libraries and Tools
- Topic: Lume & Lurker : Utility functions and auto-hotswapping
- Replies: 58
- Views: 34119
Re: Lume : A Collection of functions geared towards gamedev
hotswapping, where have you been all of my life.
Thanks for sharing with us Rxi, very nice!
Thanks for sharing with us Rxi, very nice!
- Tue Mar 04, 2014 10:24 pm
- Forum: General
- Topic: What's everyone working on? (tigsource inspired)
- Replies: 1791
- Views: 1489099
Re: What's everyone working on? (tigsource inspired)
AW SHIT, BOSS GRAPHICS.NightKawata wrote:
Want more stuff? Check out the official NEO NEKUZEN devblog.
(nekuzen.net needs a new server!)
(I've been following this for a while. Good luck with it, it's looking nice!)
- Mon Mar 03, 2014 7:50 pm
- Forum: Support and Development
- Topic: Problems with "dynamic" bodies - love.physics
- Replies: 6
- Views: 2456
Re: Problems with "dynamic" bodies - love.physics
To break it down further, when you define bodies and shapes and stuff inside love.draw, you're effectively making a huge pile of invisible brown boxes, creating this "circle" effect. WhatCHA should do is define all that in love.load, like placing this at the end of load.load: -- go through...