Search found 32 matches

by Duster
Sun Mar 01, 2015 6:07 am
Forum: General
Topic: [Beginner] I can't seem to grasp platformers
Replies: 21
Views: 8364

Re: [Beginner] I can't seem to grasp platformers

Last year when I was looking into love2d programming I was pretty sad at the lack of good tutorials on platformers. I remember reading one that was decent enough, but the author dropped it after only a couple steps Tile-based collision is pretty simple when you get down to it though, it's arbitrary ...
by Duster
Wed Feb 25, 2015 6:40 am
Forum: General
Topic: LÖVE 2D for everything.
Replies: 13
Views: 6050

Re: LÖVE 2D for everything.

Love IS pretty versatile, and there's certainly a lot you can do with it, but ehhh There are sometimes better tools for what you might want to do, so you wont have to be jumping through hoops or anything. Seeing as Love is focused on gamedev there are some limitations there, specifically in the limi...
by Duster
Mon Feb 16, 2015 2:32 pm
Forum: General
Topic: Programs to practice coding
Replies: 6
Views: 3803

Re: Programs to practice coding

Some are much more difficult than others, but this is a good list.
https://love2d.org/imgmirrur/a3IJgmu.png
by Duster
Wed Feb 11, 2015 11:40 pm
Forum: Support and Development
Topic: Help please lol
Replies: 14
Views: 5775

Re: Help please lol

player_move and player_draw don't exist, you're using player.move() and PLAYER_DRAW() instead. It was a typo. Can you guys please stop writing back useless things, i came on here for help not spell check. It was common sense that it was a typo so why not post something that could help me? That is t...
by Duster
Wed Feb 11, 2015 3:21 pm
Forum: Support and Development
Topic: Filling a concave polygon
Replies: 2
Views: 2079

Re: Filling a concave polygon

Neat, works perfectly. Thanks very much!
by Duster
Wed Feb 11, 2015 3:10 pm
Forum: Support and Development
Topic: Help please lol
Replies: 14
Views: 5775

Re: Help please lol

Delete line 35 in menu. Lmfao thank you so much i can't believe i did not see that i was seriously on this for like 20-30 minutes haha. Also i have one more problem, now when i click "Start" it gives me error saying "attempt to call global "player_move" (a nil value)" ...
by Duster
Wed Feb 11, 2015 2:59 pm
Forum: Support and Development
Topic: Filling a concave polygon
Replies: 2
Views: 2079

Filling a concave polygon

Is there any way I can do this? love.graphics.polygon's "fill" mode doesn't support them, so I can't use that or a stencil. I've tried meshes as well but no luck.
Assuming it also has an arbitrary amount of vertices, is it possible without headache?
by Duster
Mon Feb 09, 2015 8:20 am
Forum: Support and Development
Topic: Making the player move only in one direction
Replies: 3
Views: 1313

Re: Making the player move only in one direction

Use "elseif" instead. function player.movement(dt) if love.keyboard.isDown('w') then player.posY = player.posY - player.spd * dt elseif love.keyboard.isDown('a') then player.posX = player.posX - player.spd * dt elseif love.keyboard.isDown('s') then player.posY = player.posY + player.spd * ...
by Duster
Fri Feb 06, 2015 9:38 pm
Forum: Support and Development
Topic: Rhythm-based gameplay troubles
Replies: 9
Views: 2799

Re: Rhythm-based gameplay troubles

You can sync the gunshots to the beat by delaying the play request and only fulfilling it on the beat. I'd recommend putting a limit so the delay only happens if you get Excellent or Fantastic, and for Great/Decent/Miss it plays normally if math.abs(time-nearestbeat) < 0.045 then -- wait for time-ne...
by Duster
Fri Feb 06, 2015 8:10 pm
Forum: General
Topic: ZeroBrane and Windows 8
Replies: 7
Views: 5653

Re: ZeroBrane and Windows 8

What code are you trying to run, if you don't mind?