Page 39 of 180
Re: What's everyone working on? (tigsource inspired)
Posted: Sun Sep 23, 2012 7:25 pm
by Larsii30
:'DD
Well, sounds like this is one of those games I really could enjoy
Good luck !
Re: What's everyone working on? (tigsource inspired)
Posted: Sun Sep 23, 2012 9:46 pm
by Roland_Yonaba
Chèvre wrote:Hi there,
So much impressive stuff from everyone!
Here's a screenshot of my first foray into LÖVE. (It's supposed to be pixel-doubled but I shrunk it so it doesn't take up too much space.)
Wow. Gorgeous style.
Did you make the arts by yourself ?
Re: What's everyone working on? (tigsource inspired)
Posted: Mon Sep 24, 2012 11:17 am
by BlackBulletIV
Roland_Yonaba wrote:Great. Keep up the good job.
KingRecycle wrote:
I wanted to use string interpolation but all that did was made me confused and I wasn't sure how I would set the position of things and it was overall confusing
Well, try my
Allen. Or at least, rip the function you need (see
line 263)
Code: Select all
function _.substitute(str,value) return (str:gsub('%${*([%w]+)}*',value)) end
--Example
print(_.subtitute('value = ${value}',100))
You could also put that function in the string table:
Code: Select all
function string:substitute(value) return self:gsub('%${*([%w]+)}*', value) end
And use it as such:
Code: Select all
("foo ${value}"):substitute(3)
str = "x = ${value}"
x:substitute(4)
But, unless I'm missing something, would string.format do the job?
Edit: 1111 posts!
Re: What's everyone working on? (tigsource inspired)
Posted: Mon Sep 24, 2012 11:47 am
by Roland_Yonaba
BlackBulletIV wrote:
But, unless I'm missing something, would string.format do the job?
Oh, yes, it does. This function is just useful to capture specific patterns ($var or ${var}) an replace them with the provided value.
BlackBulletIV wrote:
Edit: 1111 posts!
Happy 1111th post to you.
Think i'll reach that by 2111. Yes, I intend to live 'till this year. So far, so good.
Re: What's everyone working on? (tigsource inspired)
Posted: Mon Sep 24, 2012 1:42 pm
by Robin
Roland_Yonaba wrote:Happy 1111th post to you.
Think i'll reach that by 2111.
According to Wolfram Alpha, you can expect to reach that post count November next year. So I think you'll live to see that.
Re: What's everyone working on? (tigsource inspired)
Posted: Mon Sep 24, 2012 2:45 pm
by Chèvre
Larsii30 wrote:Good luck !
Thanks! Hopefully you can play it soon
Roland_Yonaba wrote:Wow. Gorgeous style.
Did you make the arts by yourself ?
Thank you!
Yes, I did. Picking the right colors was actually the trickiest part! I used
grafx2, which is IMO the finest pixel art tool around.
Re: What's everyone working on? (tigsource inspired)
Posted: Mon Sep 24, 2012 4:43 pm
by Roland_Yonaba
Robin wrote:So I think you'll live to see that.
Well, we never know.
My people may need me in the meantime.
Re: What's everyone working on? (tigsource inspired)
Posted: Mon Sep 24, 2012 7:42 pm
by AntonioModer
Half tile
- Capture-1.png (139.64 KiB) Viewed 1843 times
Re: What's everyone working on? (tigsource inspired)
Posted: Tue Sep 25, 2012 6:32 am
by BlackBulletIV
Roland_Yonaba wrote:Happy 1111th post to you.
Thank you.
Re: What's everyone working on? (tigsource inspired)
Posted: Tue Sep 25, 2012 10:52 am
by SiENcE