Search found 103 matches

by Jimanzium
Fri Jul 25, 2014 4:01 pm
Forum: General
Topic: Is LOVE good enough?
Replies: 23
Views: 12577

Re: Is LOVE good enough?

For those interested in Somni's art you can check out their game that has been greenlit on Steam http://steamcommunity.com/sharedfiles/filedetails/?id=256762548 I don't know how much of it is done by them or if they just did the art, also this thread is two years old Edit: It also has a devlog here ...
by Jimanzium
Wed Jul 23, 2014 1:59 pm
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1791
Views: 1512096

Re: What's everyone working on? (tigsource inspired)

Poncho400x400.png
Poncho400x400.png (5.98 KiB) Viewed 3630 times
by Jimanzium
Wed Jul 16, 2014 10:31 am
Forum: Support and Development
Topic: Offsetting where a projectile is fired from
Replies: 4
Views: 2508

Re: Offsetting where a projectile is fired from

Hello, this is quite easy to do. local turretLength = 45 function shoot() -- stuff local spawnX = playerX + math.cos(angle) * turretLength local spawnY = playerY + math.sin(angle) * turretLength end And for limiting frame rate function love.update(dt) if dt < 1/30 then love.timer.sleep(1/30 - dt) en...
by Jimanzium
Tue Jul 15, 2014 5:50 pm
Forum: Support and Development
Topic: Need Help Collision Code
Replies: 7
Views: 4256

Re: Need Help Collision Code

I woke in my sleep when I realised this. I did spend a bit of time on it to no avail, your collision is a bit weird and I didn't look at everything you were doing. I also noticed the odd behaviour, the player jittering could be down to using oldx and x but I'm not sure. Anyway, no problem, I might l...
by Jimanzium
Tue Jul 15, 2014 5:42 pm
Forum: Support and Development
Topic: Audio
Replies: 6
Views: 3378

Re: Audio

Ah, missed that, edited code with the line "currentSong = currentSong % #bgm".
by Jimanzium
Tue Jul 15, 2014 5:39 pm
Forum: Support and Development
Topic: Costume and Bullet Help
Replies: 9
Views: 6115

Re: Costume and Bullet Help

I got your back

Moved the player.animreset(key) stuff to be in player.update(dt)
by Jimanzium
Mon Jul 14, 2014 6:55 pm
Forum: Support and Development
Topic: Audio
Replies: 6
Views: 3378

Re: Audio

This is untested but does what Plu said. function love.load() bgm = { [1] = love.audio.newSource("song1") [2] = love.audio.newSource("song2") [3] = love.audio.newSource("song3") [4] = love.audio.newSource("song4") } currentSong = 1 love.audio.play(bgm[1]) end ...
by Jimanzium
Mon Jul 14, 2014 6:45 pm
Forum: Support and Development
Topic: Costume and Bullet Help
Replies: 9
Views: 6115

Re: Costume and Bullet Help

Indeed, change "local changeTime = 1" to "local changeTime = 0.5"
by Jimanzium
Mon Jul 14, 2014 12:01 pm
Forum: Support and Development
Topic: Need Help Collision Code
Replies: 7
Views: 4256

Re: Need Help Collision Code

Ok, I got everything that wasn't working working by making a few small changes: if player.y + player.picHeight > v.y and player.y < v.y + v.picHeight then -- Prevents teleporting to the top of the platform -- stuff player.x = v.x - player.picWidth - 1 -- Prevents moving into stuff whilst falling --s...
by Jimanzium
Sun Jul 13, 2014 5:50 pm
Forum: Support and Development
Topic: Help - Platformer Collision
Replies: 3
Views: 3039

Re: Help - Platformer Collision

Hi, I haven't used Hardon-collider myself but if all you want is a "small platformer-game" I don't think you're really going to need it. Hardon will most likely over complicate it. Sorry I can't help much but if anything this'll atleast bump your post and I have attached a platformer examp...