Search found 482 matches
- Wed Apr 09, 2014 4:01 am
- Forum: General
- Topic: Code Doodles!
- Replies: 197
- Views: 312142
Re: Code Doodles!
Wooo, springy nodes! Springy Nodes.png By the way, ridiculous things WILL happen if you set the maxDist variable too high. Edit 1: Optimized code a bit. local screen = {} function love.load() screen.width = love.window.getWidth() screen.height = love.window.getHeight() nodeList = {} nodeRadius = 2 n...
- Tue Apr 08, 2014 3:00 am
- Forum: Support and Development
- Topic: Do you have any abandonated projects willing to share?
- Replies: 5
- Views: 1285
Re: Do you have any abandonated projects willing to share?
Random shooter [0.8.0] CircleShooter.love A WIP tank battle game that I made (before I found classes, so code is REALLY messy.) [0.8.0] TankBattle.love Love3D library [0.8.0] Love3D by Substitute541.zip Dungeon Explorer [0.8.0] Dungeon Explorer Pre-Alpha 0.8.love Feel free to dissect my code and use...
- Sat Apr 05, 2014 7:30 am
- Forum: General
- Topic: Help with collisions and removing from tables...
- Replies: 12
- Views: 6953
Re: Help with collisions and removing from tables...
Use a table for each coin object, and store those coins in a coins table. Then loop over (preferably backwards, if you plan to remove some coins) and update each coin.xFade wrote:What if I wasn't using a colon operator?
- Sat Apr 05, 2014 3:20 am
- Forum: General
- Topic: Help with collisions and removing from tables...
- Replies: 12
- Views: 6953
Re: Help with collisions and removing from tables...
When you are using the colon operator, it sets an argument known as "self", which references itself. So you can make the code simpler and do this: function Coin:update(dt) self.x = self.x -- v is coin self.y = self.y + .5 self.angle = self.angle + math.pi * dt if self.y + Coin.model:getHei...
- Sat Apr 05, 2014 2:07 am
- Forum: General
- Topic: What's everyone working on? (tigsource inspired)
- Replies: 1796
- Views: 1568475
Re: What's everyone working on? (tigsource inspired)
Making UI for a game and (hopefully) going to release it once it's complete.
Pretty!Ragzouken wrote:<snip>
- Thu Apr 03, 2014 7:05 am
- Forum: Games and Creations
- Topic: Tower Defence (0.6.2)
- Replies: 14
- Views: 12862
Re: Tower Defence (24h Game Jam)
7 FPS?Murii wrote:The game is cool and complex but i only get 70FPS...
70 FPS is fine for a graphics heavy game.
- Thu Apr 03, 2014 1:31 am
- Forum: Libraries and Tools
- Topic: FPSGraph. A simple lightweight graphing utility
- Replies: 2
- Views: 4629
Re: FPSGraph. A simple FPS and Memory graphing utility
I like it, just added it to my project. Couple of thoughts: 1) I sense some copy and paste, in your example you have dt in the draw method. It doesn't seem to need to be there. 2) Something happened in my code, and messed up the line width of your graph. Realized you never had a love.graphics.setLi...
- Wed Apr 02, 2014 1:40 am
- Forum: Support and Development
- Topic: windows 7 lag image love 0.9... Solved
- Replies: 6
- Views: 3114
Re: windows 7 lag image love 0.9...
It won't hurt to attach a .love file though.
- Wed Apr 02, 2014 1:22 am
- Forum: Libraries and Tools
- Topic: FPSGraph. A simple lightweight graphing utility
- Replies: 2
- Views: 4629
FPSGraph. A simple lightweight graphing utility
Made out of my free time while taking a break from bigger projects.
A simple library that graphsboth FPS and Memory any set of values you want to graph, including FPS and Memory. You can also have multiple graphs (used ordinary Lua tables instead of objects to make the lib smaller.)
Github repo
A simple library that graphs
Github repo
- Wed Apr 02, 2014 1:20 am
- Forum: General
- Topic: LÖVE 0.9.1 released
- Replies: 39
- Views: 73949
Re: LÖVE 0.9.1 released
It's already April 2 here so I think it doesn't count .
Anyways, it's legit. Go download it!
Anyways, it's legit. Go download it!