Search found 407 matches

by DaedalusYoung
Thu Aug 15, 2013 1:28 pm
Forum: General
Topic: [POLL] Do you like "then,do,end" or "{ }"?
Replies: 37
Views: 17261

Re: [POLL] Do you like "then,do,end" or "{ }"?

That looks awful, tbh. Why would I want to do that? Can't you just do each call separately?
by DaedalusYoung
Tue Aug 13, 2013 8:39 am
Forum: General
Topic: Most frustrating moment?
Replies: 45
Views: 18009

Re: Most frustrating moment?

I recently came across this frustrating moment. What's wrong with this code: if not Source:isPaused and not Source:isStopped then -- Source is playing end Yeah, took me a while to find that, and I was also very puzzled why it did work when I tried it in my debug loop. Another one, I couldn't figure ...
by DaedalusYoung
Sun Aug 11, 2013 2:50 pm
Forum: Support and Development
Topic: Character with animation
Replies: 27
Views: 17429

Re: Character with animation

It can be a good exercise in coding, and gives you a better idea how animations work. When I made my first project, I wrote my own animation code and it's fine. AnAL probably is too powerful for what I needed and would only have made the .love file bigger. Also, I like using my own coding 'conventio...
by DaedalusYoung
Sun Aug 11, 2013 1:35 am
Forum: General
Topic: Graphics Editor of Choice?
Replies: 42
Views: 24623

Re: Graphics Editor of Choice?

Another reason to stick with GIMP :P
by DaedalusYoung
Sun Aug 11, 2013 12:25 am
Forum: General
Topic: Graphics Editor of Choice?
Replies: 42
Views: 24623

Re: Graphics Editor of Choice?

Well, I can see Photoshop has Pantone colours and a certification you can get for it, but GIMP is easier to use and uses much less disk space: [link] . So really, for advanced professional usage, you'd need Photoshop, but if you're not directly working with a printer to absolutely get the precise co...
by DaedalusYoung
Sun Aug 11, 2013 12:20 am
Forum: Support and Development
Topic: Character with animation
Replies: 27
Views: 17429

Re: Character with animation

I see no problem in creating one's own animation code. All you do is change exactly which image you draw to the screen over time. Time is easy to keep track of, and based on that, it's easy to alternate the image.
by DaedalusYoung
Sat Aug 10, 2013 11:56 pm
Forum: General
Topic: Graphics Editor of Choice?
Replies: 42
Views: 24623

Re: Graphics Editor of Choice?

I've seen what Photoshop can do. If I get a chance, I might edit in a photo that my brother made for me in Photoshop. Basically, I hated Mario games. Because of this, my brother drew the photo using a Wacom tablet he got for Christmas to draw me a picture of Sonic squishing Mario. It was amazing. I...
by DaedalusYoung
Sat Aug 10, 2013 11:51 pm
Forum: Support and Development
Topic: Character with animation
Replies: 27
Views: 17429

Re: Character with animation

Because speed has no value. Add it in love.load(), for example like so:

Code: Select all

speed = 100
Otherwise, it will have no value (it will be nil). How would you calculate no value * 1? You can't, and neither can Lua.
by DaedalusYoung
Sat Aug 10, 2013 10:31 pm
Forum: Support and Development
Topic: Character with animation
Replies: 27
Views: 17429

Re: Character with animation

Because you're attempting to feed a table into love.graphics.draw() . Try this: function love.load() animation = {} animation[1] = love.graphics.newImage('Untitled.png') animation[2] = love.graphics.newImage('Untitled2.png') animation[3] = love.graphics.newImage('Untitled3.png') counter = 0 frame = ...
by DaedalusYoung
Sat Aug 10, 2013 10:25 pm
Forum: General
Topic: What do you do while you code?
Replies: 35
Views: 12518

Re: What do you do while you code?

Sometimes I put music on, mainly if there's something else that's distracting me. Usually, I think about how I'm going to code something, then I just do random things, go on Facebook, watch something on YouTube. If I really can't seem to get something to work, I have to walk away from it, go do some...