Search found 59 matches
- Sun Jan 27, 2013 9:04 pm
- Forum: Support and Development
- Topic: [Solved] Problem with states and drawing buttons
- Replies: 6
- Views: 2381
Re: [Not solved] Problem with states and drawing
You never clear the button table so there's new buttons created every draw callback. that's also why the transparency is increased change the button_create() function calls to a load function and add a button_clear() function to remove all buttons no longer used. Explanation: buttons_create() add a ...
- Sun Jan 27, 2013 8:47 pm
- Forum: Libraries and Tools
- Topic: Simple grid walking (code example)
- Replies: 2
- Views: 1700
Simple grid walking (code example)
local x = 20 local y = 15 local xs = 0 local ys = 0 local xws = 0 local yws = 0 local speed = 4 local function round(r,b) if b < 0 then return math.floor(r) elseif b > 0 then return math.ceil(r) else return math.floor(r+0.5) end end function love.update(dt) xws,yws = 0,0 if love.keyboard.isDown(&qu...
- Tue Jan 15, 2013 4:32 pm
- Forum: Libraries and Tools
- Topic: Example: tile-based and non-tile-based collision detection
- Replies: 9
- Views: 6012
Re: Example: tile-based and non-tile-based collision detecti
why not attach .love file?norubal wrote:download(.love): http://www.mediafire.com/?684r56z5ap73drq
- Sat Jan 12, 2013 2:07 pm
- Forum: Games and Creations
- Topic: Othello
- Replies: 2
- Views: 1411
Re: Othello
SWEET!!!!!! Ah, it's just like I remember it. Thank you Thank you Thank you!!! :awesome: Good job too, btw. :) T h a n k you! Now I know how to change the size of the text. :awesome: ( I also realised you could change color if that wasn't clear enough. ) I am also going to upload this to my website...
- Fri Jan 11, 2013 11:17 pm
- Forum: Libraries and Tools
- Topic: Tic Tac Toe Board
- Replies: 4
- Views: 2498
Re: Tic Tac Toe Board
rendering a board is something like for i = 1, 2 do love.graphics.line(i * size_of_one_square,0,i * size_of_one_square,3 * size_of_one_square) love.graphics.line(0,i * size_of_one_square,3 * size_of_one_square,i * size_of_one_square) end to make that but if you're wondering how to render the marks a...
- Fri Jan 11, 2013 10:52 pm
- Forum: Games and Creations
- Topic: Othello
- Replies: 2
- Views: 1411
Othello
Since my previus game reminded people of othello HERE IT IS! It's just multiplayer so you will need a friend to play with. Changelog Changed game over window so it's not in the midde of the screen blocking your view. Made the text GAME OVER to be displayed in the winners color (grey if even) Removed...
- Sat Dec 29, 2012 7:30 pm
- Forum: Libraries and Tools
- Topic: Unnamed Dot Game Remake
- Replies: 10
- Views: 3735
Re: Unnamed Dot Game Remake
The first point (square, in this case) has to be near to the center -- Why? I didn't see a reason to do that when you're playing on a limited board that has rules for the limits. -- Because we don't have rules about limits and we like playing it as it's now, without adding them (so, I'm not asking ...
- Sat Dec 29, 2012 5:09 pm
- Forum: Libraries and Tools
- Topic: Unnamed Dot Game Remake
- Replies: 10
- Views: 3735
Re: Unnamed Dot Game Remake
I play a similar game with a friend, the changes are: The first point (square, in this case) has to be near to the center You can only choose a square if it isn't farther than 3 squares from another square When you capture some enemy squares, you put another square (it can be chained) The first poi...
- Tue Dec 25, 2012 11:43 pm
- Forum: Libraries and Tools
- Topic: Unnamed Dot Game Remake
- Replies: 10
- Views: 3735
Re: Unnamed Dot Game Remake
Yep, that's it! I know it by the title of Othello from playing it on the Atari 2600. Also, I really like the color palette -- visually interesting and plus the colors seem to help identify each player. Makes it very easy to read the game map. My only critique at this point would be... it needs soun...
- Tue Dec 25, 2012 4:36 pm
- Forum: Libraries and Tools
- Topic: Unnamed Dot Game Remake
- Replies: 10
- Views: 3735
Re: Unnamed Dot Game Remake
I play a similar game with a friend, the changes are: The first point (square, in this case) has to be near to the center You can only choose a square if it isn't farther than 3 squares from another square When you capture some enemy squares, you put another square (it can be chained) All of those ...