Search found 8 matches
- Sat Dec 11, 2010 5:34 am
- Forum: Support and Development
- Topic: Collision Detection
- Replies: 2
- Views: 1338
Collision Detection
Can some one help me with my collision, I want it to check if the v width and height hits the ply width and height and remove the bunny? for i, v in pairs (bunnys) do if v.width - 30 < ply.width then table.remove(bunnys, i) else v.y = v.y + BunnySpeed end end I am unsure what I'd have to put on in t...
- Fri Dec 10, 2010 4:00 pm
- Forum: Support and Development
- Topic: Game making help.
- Replies: 12
- Views: 4971
Re: Game making help.
Well being a lua newb I find some of Zac's code interesting and helpful because he has showed me how I can use tables and for loops for different things.
Just a point different people learn differently and most programming books go on repetition and practice is the best way to learn.
Just a point different people learn differently and most programming books go on repetition and practice is the best way to learn.
- Sat Dec 04, 2010 2:18 am
- Forum: Support and Development
- Topic: Floating
- Replies: 17
- Views: 6074
Re: Floating
Thanks for that, Its helped me out alot, any chance you would know how make a floaty effect so its constantly moving, am guessing using a loop?
- Fri Dec 03, 2010 11:52 pm
- Forum: Support and Development
- Topic: Floating
- Replies: 17
- Views: 6074
Re: Floating
I get that but is text only static? or does text have to be images for em to move?
- Fri Dec 03, 2010 11:15 pm
- Forum: Support and Development
- Topic: Floating
- Replies: 17
- Views: 6074
Re: Floating
Sorry, but am coming from a (limited) C# and XNA background and never used a draw function.
Ok well Ill work on it follow some tutorials or somin thing, any way thanks.
Ok well Ill work on it follow some tutorials or somin thing, any way thanks.
- Fri Dec 03, 2010 10:47 pm
- Forum: Support and Development
- Topic: Floating
- Replies: 17
- Views: 6074
Re: Floating
I only made a variable for TextTitle because I tried to use it like a instance.. and the random colours is for me because Its only a example.. also " TitleFont = love.graphics.newFont("WTD.ttf", 64) -- creating a font every frame is extremely bad -- as if firefox would need to downloa...
- Fri Dec 03, 2010 10:14 pm
- Forum: Support and Development
- Topic: Floating
- Replies: 17
- Views: 6074
Re: Floating
Oh sorry, No I want so the text items like moves alittle bit so its say unstable 'floating' if you get me?
- Fri Dec 03, 2010 9:33 pm
- Forum: Support and Development
- Topic: Floating
- Replies: 17
- Views: 6074
Floating
Ok so coming from a c# background from college, I've tried LUA with love2d and so far successful results. But I've been adding all my code to main.lua and running that currently heres my code -- Rascalls Game Source Code - Main.lua -- function love.draw() Title() MenuItems() end function love.update...