Search found 81 matches
- Tue Apr 23, 2013 11:14 am
- Forum: Support and Development
- Topic: Arrows small problem :(
- Replies: 8
- Views: 1873
Arrows small problem :(
Hey lovers! I have a little problem with arrows that sadly i cant figure out how to resolve it. Please take a look at arrows.lua class and maybe give me a little help.I know i am not reseting the position of arrows every time when i am shooting a new arrow so i tried using tables but i faild...maybe...
- Mon Apr 22, 2013 1:11 pm
- Forum: Libraries and Tools
- Topic: Super small demo
- Replies: 6
- Views: 3003
Re: Super small demo
Nice
- Sun Apr 14, 2013 7:40 am
- Forum: Support and Development
- Topic: [SLOVED]Tables and Strings
- Replies: 3
- Views: 2338
Re: Tables and Strings
Yes i think like this ,i am going to try implement the random speak , thxkikito wrote:You mean like this?
Code: Select all
love.graphics.print(speech[1], x, y) -- speech[2] has "Good morning!"
- Sat Apr 13, 2013 9:08 pm
- Forum: Support and Development
- Topic: [SLOVED]Tables and Strings
- Replies: 3
- Views: 2338
[SLOVED]Tables and Strings
Hey lovers! I want my villigers to speak and I came across this problem: local speech1 = { "Hello sir", "Good morning!" } Now i want to draw the ,,Hello sir,, string but i dont know how!I have tried to use love.graphics.print(" "..table.concat(speech1 , ","),x...
- Sat Apr 13, 2013 10:40 am
- Forum: Support and Development
- Topic: Delete this post
- Replies: 5
- Views: 3460
Re: How I use sprites?
If you want to load an image(sprite) you could do this: myImg = love.graphics.newImage("folder/nameofpic.png") Now your image is load in your computer memory lets display it : Go in love.draw() function and there type this: love.graphics.draw(myImg,x,y) , myImg = image to draw , x = pos on...
- Wed Apr 10, 2013 7:20 pm
- Forum: Support and Development
- Topic: How do i use random?SOLVE
- Replies: 4
- Views: 2688
Re: How do i use random?SOLVE
Thx,good to know!Nixola wrote:LÖVE 0.8.0 automatically does that right before calling love.load, so you don't need to do this as long as you don't call math.random before love.load
- Wed Apr 10, 2013 5:33 pm
- Forum: Support and Development
- Topic: How do i use random?SOLVE
- Replies: 4
- Views: 2688
Re: How do i use random?
It gives me the same number over and over again,293 even if i restart the appJackim wrote:what's the issue? it seems to be working fine.
- Wed Apr 10, 2013 5:32 pm
- Forum: Libraries and Tools
- Topic: Help Test LÖVE Studio
- Replies: 9
- Views: 3869
Re: Help Test LÖVE Studio
"If you start a new project in an empty directory, do you still get a rubber piggy, or does this only happen when you try to run an existing project?"
Yes.Is this because i choose a custom directory for the installation?
Yes.Is this because i choose a custom directory for the installation?
- Wed Apr 10, 2013 5:29 pm
- Forum: Support and Development
- Topic: How do i use random?SOLVE
- Replies: 4
- Views: 2688
How do i use random?SOLVE
Hey lovers how do i use random function? I initialized it using these lines of code : math.random(os.time()) SOLVE IT : i forgot to add randomseed , ups math.random() math.random() math.random() smt = math.random(600) print(smt) Everytime when i run the app it gives me the same number 293,why? I rea...
- Wed Apr 10, 2013 4:20 pm
- Forum: Games and Creations
- Topic: Sound Stealth
- Replies: 5
- Views: 5109
Re: Sound Stealth
I love the idea.Keep working on it!