Search found 1154 matches

by davisdude
Fri Jun 07, 2013 2:22 pm
Forum: Support and Development
Topic: Getting a error with my draw code.
Replies: 6
Views: 2617

Re: Getting a error with my draw code.

Also, note that you put a comma at the end of the tile table.
sample_map = {
{1,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
}
That may also be causing the problem, or it may have just been a mis-type. :crazy:
by davisdude
Thu Jun 06, 2013 7:02 pm
Forum: Support and Development
Topic: Entities tutorial?
Replies: 15
Views: 7201

Re: Entities tutorial?

That's just my version of entities. I'm not sure if that's really what they are, but it's easy for me to understand, so that's what I use.
by davisdude
Thu Jun 06, 2013 1:17 am
Forum: Support and Development
Topic: Entities tutorial?
Replies: 15
Views: 7201

Re: Entities tutorial?

I don't know if this exactly what you wanted, but here you go: You can make a 'class' sort of thing. I'm not very good at explaining so here's a basic example of a rectangle 'class' builder: rectangle.lua: rectangle = {} --creates a table called rectangle to store all of your variables rectangle.__i...
by davisdude
Wed Jun 05, 2013 11:20 pm
Forum: Games and Creations
Topic: Red uprising 1917
Replies: 5
Views: 2209

Re: Red uprising 1917

You misspelled 'single player' on the menu. Also, you may want to consider making a different picture if they're killed.
Good game! Nice music!
by davisdude
Wed Jun 05, 2013 10:37 pm
Forum: Games and Creations
Topic: The Owls Massacre [v0.003]
Replies: 14
Views: 10061

Re: The Owls Massacre [v0.001]

Great game! I think it's a good start. What I like: The owl shoot lasers ! Simple, fun game play. What needs improvement: Maybe a bit faster laser regeneration? Feet moving on bikers. The hit box for the bikers is a bit off (it hits a bit in front of them, at least for me.) Mostly simple fixes (such...
by davisdude
Wed Jun 05, 2013 10:30 pm
Forum: Support and Development
Topic: [Solved]Disappearing Shapes Problem
Replies: 0
Views: 1151

[Solved]Disappearing Shapes Problem

Okay, so I'm doing something with triangle/rectangle/circle collision. A very basic Hardagon Collider-esque thing. I figured I'd start on the triangles because I already knew circle-circle, rectangle-rectangle, and circle-rectangle (see post here if you're curious: http://www.love2d.org/forums/viewt...
by davisdude
Mon May 27, 2013 3:30 pm
Forum: Support and Development
Topic: Tile-Based Movement
Replies: 8
Views: 3533

Re: Tile-Based Movement

To whom it may concern: I figured out what was messing it up. The for-loop was throwing everything out of whack. So I changed my code so that in love.update I found the x and y, and in keyreleased I actually did the moving. No loop problems because the loop was moved to update. Thanks to all for you...
by davisdude
Mon May 27, 2013 1:45 pm
Forum: Support and Development
Topic: Tile-Based Movement
Replies: 8
Views: 3533

Re: Tile-Based Movement

I've tried both of these and neither one quite seems to work. The latter entirely deletes the row and the first makes and entire column beneath the player air tiles. Not sure if I implemented the code wrong, but... It's odd: I can replace the player block, and I can make it make the block beneath it...
by davisdude
Mon May 27, 2013 12:10 am
Forum: Support and Development
Topic: Tile-Based Movement
Replies: 8
Views: 3533

Re: Tile-Based Movement

I have now encountered a new problem: The downward movement doesn't work. I'm now sure why. Maybe you guys could help.

Edit: Figured out the problem: While on the last one, since adding to an existing table, it would work. When adding vertically, however, it couldn't create a new table.
by davisdude
Sun May 26, 2013 8:56 pm
Forum: Support and Development
Topic: Tile-Based Movement
Replies: 8
Views: 3533

Re: Tile-Based Movement

Thanks. :awesome: