basic questions
Posted: Wed Feb 23, 2011 10:26 am
Hello all!
I'm new here. I just started to play around with the engine and I'm truly amazed - big thanks to the authors for making love2d!
First of all - STATEMENT-I'm not a programer. I rather consider myself an art person My last programing experience was a very simple 2d rpg game that I wrote 10 years ago in vicual c++. I hardly remember anything about programing except the basics of basics, so dont be suprised by the questions I'm going to ask
question:
1. I put every object that I draw into love.draw callback. It doesnt seem to be good idea since most of the objects don't have to be refresh very often, for example buttons (in example top part of window.
2. I load background image which is displayed as white color instead of actual image, can't figure out what is wrong since i load it and draw it exactly the same way as it is I do for sprites and they are displayed corecty. load img in love.load,draw in love.draw:
love.graphics.draw(img_back,0,0)
3. One of the game character is going to have earthquake spell. I'm going to visualize it by "shaking" the view. Is there quick and easy way to do it?
many thanks for help and once again - thumbs up for all love2d contributors
virtualfi
PS: why the hell everybody has "obey" word in their avatars???
I'm new here. I just started to play around with the engine and I'm truly amazed - big thanks to the authors for making love2d!
First of all - STATEMENT-I'm not a programer. I rather consider myself an art person My last programing experience was a very simple 2d rpg game that I wrote 10 years ago in vicual c++. I hardly remember anything about programing except the basics of basics, so dont be suprised by the questions I'm going to ask
question:
1. I put every object that I draw into love.draw callback. It doesnt seem to be good idea since most of the objects don't have to be refresh very often, for example buttons (in example top part of window.
2. I load background image which is displayed as white color instead of actual image, can't figure out what is wrong since i load it and draw it exactly the same way as it is I do for sprites and they are displayed corecty. load img in love.load,draw in love.draw:
love.graphics.draw(img_back,0,0)
3. One of the game character is going to have earthquake spell. I'm going to visualize it by "shaking" the view. Is there quick and easy way to do it?
many thanks for help and once again - thumbs up for all love2d contributors
virtualfi
PS: why the hell everybody has "obey" word in their avatars???