Search found 170 matches

by Qcode
Fri Dec 14, 2012 12:05 am
Forum: Libraries and Tools
Topic: Pixel art with GLSL cel shade lighting concept
Replies: 67
Views: 128844

Re: Pixel art with GLSL cel shade lighting concept

I couldn't believe I didn't see this thing earlier, this stuff is amazing! I'm not going to open this and look at code because graphics code (Shaders especially) scares me, but great job! Looks like you put a lot of time into this.
by Qcode
Thu Dec 13, 2012 2:42 am
Forum: Support and Development
Topic: The "Zilarrezko needs help" post
Replies: 17
Views: 6922

Re: The "Zilarrezko needs help" post

Well you can make the thing look pretty later, but a simple way to get text inputted is shown right on the love.keypressed() page on the wiki. function love.keypressed(key, unicode) -- ignore non-printable characters (see http://www.ascii-code.com/) if unicode > 31 and unicode < 127 then player.name...
by Qcode
Wed Dec 12, 2012 8:15 pm
Forum: General
Topic: Ludum Dare 25 joinings
Replies: 34
Views: 14418

Re: Ludum Dare 25 joinings

I might participate in the jam. Depends if my friends are going to help me with it or not.
by Qcode
Tue Dec 04, 2012 11:35 pm
Forum: General
Topic: Your coding music?
Replies: 28
Views: 12751

Re: Your coding music?

Straight No Chaser.
An a capella group that mostly covers other songs, but makes them more awesome. Look them up, they're pretty good.
by Qcode
Mon Dec 03, 2012 11:15 pm
Forum: Games and Creations
Topic: PlatformGuy! V0.4
Replies: 63
Views: 28946

Re: PlatformGuy! V0.4

WolfNinja2 wrote: EDIT: I tried the for loop you suggested, does not work, says expected userdata.
I'm sorry, make that

Code: Select all

for i = 1, P_bullets do
     g.draw(B_pic, i*32, 26, math.rad(-90), 4, 4)
end
by Qcode
Mon Dec 03, 2012 3:48 am
Forum: Games and Creations
Topic: PlatformGuy! V0.4
Replies: 63
Views: 28946

Re: PlatformGuy! V0.4

The animation plays in mid air which is kind of weird. I found the secret, and I DIDN'T USE THE CODE TO HELP. But here are some comments on your code. You forgot to set the gamestate back to level 1 so we instantly start on level 4. That also showed me you're using separate gamestates for each diffe...
by Qcode
Sun Dec 02, 2012 6:36 am
Forum: Support and Development
Topic: Slow Game (Windows only?)
Replies: 3
Views: 1726

Re: Slow Game (Windows only?)

I am "his friend" and we've figured out the problem. We had background tiles, and for each of those tiles we made an object and made it passive rather than just having it stored in our map table. So for background tiles we were calling calculatemtd every frame, and that really ate up FPS. ...
by Qcode
Sat Nov 24, 2012 9:26 pm
Forum: Support and Development
Topic: Removing Specific Subtables?
Replies: 14
Views: 10563

Re: Removing Specific Subtables?

Don't know what you're talking about now. For me when you shoot the enemies they get removed. Is that not the intended effect, if so, what is?
by Qcode
Sat Nov 24, 2012 8:51 pm
Forum: Support and Development
Topic: Removing Specific Subtables?
Replies: 14
Views: 10563

Re: Removing Specific Subtables?

Sorry for being a nuisance ;/ It's always best to ask questions and understand the topic we're trying to teach you about, even if it does take lots of questions. That way you can learn how to do it yourself rather than coming back here all the time. The code I was posting did what Dattorz said, but...
by Qcode
Sat Nov 24, 2012 6:53 am
Forum: Support and Development
Topic: Removing Specific Subtables?
Replies: 14
Views: 10563

Re: Removing Specific Subtables?

I'd do the remove function like this:

Code: Select all

for i = #enemy, 1, -1 do
     if enemy[i].remove then
          table.remove(enemy, i)
     end
end
Is that what you're looking for?