Search found 96 matches

by Codex
Mon Dec 31, 2012 2:17 am
Forum: Support and Development
Topic: My .love file
Replies: 4
Views: 830

Re: My .love file

If you are using notepad ++, there is something you can do where you press one of the f(num) keys to execute the file to love. It's buried in the forum somewhere here, might take me a while to find it.
by Codex
Mon Dec 31, 2012 2:12 am
Forum: Support and Development
Topic: Black screen when I run the game.
Replies: 7
Views: 2521

Re: Black screen when I run the game.

Your love.draw() should look like this: function love.draw() local x = love.mouse.getX() local y = love.mouse.getY() love.graphics.setColor(0, 0, 0, 255) love.graphics.line(x, 0, x,love.graphics.getHeight()) love.graphics.line(0, y,love.graphics.getWidth(),y) if gamestate == "menu" then lo...
by Codex
Mon Dec 24, 2012 2:39 am
Forum: Support and Development
Topic: AnAl question for enemies
Replies: 6
Views: 999

Re: AnAl question for enemies

I would love to help, but I've never used Anal before. I suggest you try printing out debugging info though and trying to pinpoint the problem if you haven't already. Also, I suspect a lot of the love community is busy with Christmas holidays so you likely won't get a better answer until after the 2...
by Codex
Mon Dec 17, 2012 5:53 pm
Forum: Games and Creations
Topic: Hangman
Replies: 19
Views: 5610

Re: Hangman

GijsB wrote:Siriously? Is this a request for a Hangman game..?
Actually, that would be a good idea for a tutorial on the wiki. Someone should get on this! :awesome:
by Codex
Wed Dec 12, 2012 6:35 am
Forum: Libraries and Tools
Topic: Shadowcasting (sorta like raycasting but better!)
Replies: 7
Views: 2126

Re: Shadowcasting (sorta like raycasting but better!)

Uploaded two new demos with Line of sight. Both Modes work correctly, except Mode 2 has a small problem. It has to do with love.keypressed. So it goes like this, function love.keypressed(key) if key == q -- our key to rotate our FoV <stuff that changes the map> rotate_left = true -- This causes our ...
by Codex
Sat Dec 08, 2012 8:06 pm
Forum: General
Topic: Simulation Games
Replies: 2
Views: 944

Re: Simulation Games

I don't know if it's the best way, but a quick and easy way is to just store the menu values in a table. If player is scrolling over menu selection set the table value to true. ie. menu_table = {button1 = false, button2 = false, button3 = true}

Hope that helps.
by Codex
Thu Dec 06, 2012 10:52 pm
Forum: Libraries and Tools
Topic: Shadowcasting (sorta like raycasting but better!)
Replies: 7
Views: 2126

Re: Shadowcasting (sorta like raycasting but better!)

said... >snip< So if I understand correctly from the method you describe, it sounds like your playing connect the dots. :P Also your explanation about opaqueness just gave me a great idea involving raycasting. Normal methods do something along the lines of, ------->[wall] once ray hits wall it ends...
by Codex
Thu Dec 06, 2012 10:24 pm
Forum: Libraries and Tools
Topic: Who wants to Speed Run with me?
Replies: 8
Views: 1368

Re: Who wants to Speed Run with me?

I would be game for this, except I don't feel like my coding skills are up to par and I'm busy working on SQ atm.

Good luck and I can't wait to see what you manage to come up with! :awesome:
by Codex
Thu Dec 06, 2012 6:54 am
Forum: Support and Development
Topic: Love3D
Replies: 35
Views: 4324

Re: Love3D

900 FPS on the last demo. I might dabble in 3D in a year or two, so I'm looking forward to seeing what you can come up with in the meantime!
by Codex
Thu Dec 06, 2012 6:44 am
Forum: Games and Creations
Topic: PlatformGuy! V0.4
Replies: 63
Views: 14573

Re: PlatformGuy! V0.4

WolfNinja2 wrote:
Puzzlem00n wrote: So, what does everyone think should be in 0.5?
Here's a tougie - procedural generated levels.

:joker: