Search found 166 matches

by Helvecta
Sun Mar 16, 2014 6:04 pm
Forum: Support and Development
Topic: Best way to localize text?
Replies: 5
Views: 883

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) Making an independent ...
by Helvecta
Sat Mar 15, 2014 9:12 pm
Forum: Support and Development
Topic: Problem with Collision
Replies: 5
Views: 1961

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! :oops:

I hope this helps!

(Oh, I changed/added a few variables in there while I was working, I hope you don't mind)
by Helvecta
Sat Mar 15, 2014 3:58 am
Forum: Games and Creations
Topic: Zuli
Replies: 6
Views: 3071

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! :awesome:
by Helvecta
Fri Mar 14, 2014 2:18 am
Forum: Support and Development
Topic: love.graphics.pring & font settings
Replies: 5
Views: 1365

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...
by Helvecta
Thu Mar 13, 2014 10:00 pm
Forum: Support and Development
Topic: love.graphics.pring & font settings
Replies: 5
Views: 1365

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...
by Helvecta
Fri Mar 07, 2014 6:46 am
Forum: Support and Development
Topic: [Solved] Require and local functions
Replies: 2
Views: 1157

Re: Require and local functions

-- :ultrashocked: WH..

Well that was simple. I'm just gonna, go over here and reevaluate my abilities as a programmer now.

Thanks for the help!
by Helvecta
Fri Mar 07, 2014 4:15 am
Forum: Support and Development
Topic: [Solved] Require and local functions
Replies: 2
Views: 1157

[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 = {...
by Helvecta
Thu Mar 06, 2014 2:59 am
Forum: Libraries and Tools
Topic: Lume & Lurker : Utility functions and auto-hotswapping
Replies: 58
Views: 16392

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! :D
by Helvecta
Tue Mar 04, 2014 10:24 pm
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1709
Views: 603657

Re: What's everyone working on? (tigsource inspired)

NightKawata wrote:Image

Want more stuff? Check out the official NEO NEKUZEN devblog.
(nekuzen.net needs a new server!)
AW SHIT, BOSS GRAPHICS.

(I've been following this for a while. Good luck with it, it's looking nice!)
by Helvecta
Mon Mar 03, 2014 7:50 pm
Forum: Support and Development
Topic: Problems with "dynamic" bodies - love.physics
Replies: 6
Views: 1167

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 the map O...