Page 2 of 4
Re: Pop (v2) (simple mouse game)
Posted: Fri Mar 09, 2012 8:29 pm
by veethree
Nixola wrote:You're creating a font using the file 'fonts/8but.ttf', which is called '8bit.TTF'.
And I get an error at line 33, 'attempt to call method setColor (a nil value)' with LOVE 0.8.0
On what line is the font thing? I searched through all the files and it didn't find 8but anywhere, And i'm pretty sure i only define the fonts in one place, and it's all "8bit" there.
And this was written in 0.7.2, The setColor for particles was changed in 0.8.0. I updated the original post, There's now a version that should be compatible with 0.8.0.
Edit: Oh wait, 8but was a spelling mistake wasn't it? You meant the extension..(right?)
Re: Pop (v2) (simple mouse game)
Posted: Fri Mar 09, 2012 8:32 pm
by veethree
coffee wrote:wtf? (after renaming font)
why when I click outside a ball first time balls gone?
EDITED. Bomb???? what's that? Maybe you want it make more "bomb". Make screen flash. That way seems a bug
Yeah making something happen when the "bomb" is used is in the to-do list.
Re: Pop (v2) (simple mouse game)
Posted: Fri Mar 09, 2012 8:33 pm
by coffee
veethree wrote:Nixola wrote:You're creating a font using the file 'fonts/8but.ttf', which is called '8bit.TTF'.
And I get an error at line 33, 'attempt to call method setColor (a nil value)' with LOVE 0.8.0
On what line is the font thing? I searched through all the files and it didn't find 8but anywhere, And i'm pretty sure i only define the fonts in one place, and it's all "8bit" there.
And this was written in 0.7.2, The setColor for particles was changed in 0.8.0. I updated the original post, There's now a version that should be compatible with 0.8.0.
8bit.ttf in lua file. 8bit.TTF real name.
No color error here.
Re: Pop (v2) (simple mouse game)
Posted: Fri Mar 09, 2012 8:35 pm
by veethree
coffee wrote:veethree wrote:Nixola wrote:You're creating a font using the file 'fonts/8but.ttf', which is called '8bit.TTF'.
And I get an error at line 33, 'attempt to call method setColor (a nil value)' with LOVE 0.8.0
On what line is the font thing? I searched through all the files and it didn't find 8but anywhere, And i'm pretty sure i only define the fonts in one place, and it's all "8bit" there.
And this was written in 0.7.2, The setColor for particles was changed in 0.8.0. I updated the original post, There's now a version that should be compatible with 0.8.0.
8bit.ttf in lua file. 8bit.TTF real name.
No color error here.
The color error occurs in 0.8.0, I added a 0.8.0 compatible version in the original post.
They changed particlesystem:setColor to particlesystem:setColors.
Re: Pop (v2) (simple mouse game)
Posted: Fri Mar 09, 2012 8:50 pm
by Nixola
Making a typo while correcting a (kind of) typo is embarassing.
Re: Pop (v2) (simple mouse game)
Posted: Fri Mar 09, 2012 8:52 pm
by veethree
Nixola wrote:Making a typo while correcting a (kind of) typo is embarassing.
Haha. Is my (kind of) typo even important? I didn't seem to have any problems with the fonts before fixing that..
Re: Pop (v2) (simple mouse game)
Posted: Fri Mar 09, 2012 8:54 pm
by Nixola
I couldn't run Pop before renaming the font, on Windows XP
Re: Pop (v2) (simple mouse game)
Posted: Fri Mar 09, 2012 8:56 pm
by veethree
Nixola wrote:I couldn't run Pop before renaming the font, on Windows XP
Oh i see.
Re: Pop (v2) (simple mouse game)
Posted: Thu Mar 22, 2012 6:39 pm
by Codex
I finished with a final score of 311. Anyway, I wanted to add a suggestion for the background. Instead of switching the background image color directly from red to blue, have it blend or shade to that color instead so it looks more smoother.
Re: Pop (v2) (simple mouse game)
Posted: Thu Mar 29, 2012 3:14 pm
by veethree
Codex wrote:I finished with a final score of 311. Anyway, I wanted to add a suggestion for the background. Instead of switching the background image color directly from red to blue, have it blend or shade to that color instead so it looks more smoother.
That was actually one of the things i wanted to do at the time i made this, But i didn't know how. I'm pretty sure i know how to achieve that now so i might actually update this! Thanks for the suggestion.