Search found 482 matches

by substitute541
Wed Apr 09, 2014 4:01 am
Forum: General
Topic: Code Doodles!
Replies: 155
Views: 73899

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...
by substitute541
Tue Apr 08, 2014 3:00 am
Forum: Support and Development
Topic: Do you have any abandonated projects willing to share?
Replies: 5
Views: 768

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...
by substitute541
Sat Apr 05, 2014 7:30 am
Forum: General
Topic: Help with collisions and removing from tables...
Replies: 12
Views: 2618

Re: Help with collisions and removing from tables...

xFade wrote:What if I wasn't using a colon operator?
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.
by substitute541
Sat Apr 05, 2014 3:20 am
Forum: General
Topic: Help with collisions and removing from tables...
Replies: 12
Views: 2618

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:getHeight() > 50...
by substitute541
Sat Apr 05, 2014 2:07 am
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1704
Views: 511722

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

Making UI for a game and (hopefully) going to release it once it's complete.
Ragzouken wrote:<snip>
Pretty! :awesome:
by substitute541
Thu Apr 03, 2014 7:05 am
Forum: Games and Creations
Topic: Tower Defence (0.6.2)
Replies: 14
Views: 5287

Re: Tower Defence (24h Game Jam)

Murii wrote:The game is cool and complex but i only get 70FPS...
7 FPS?

70 FPS is fine for a graphics heavy game.
by substitute541
Thu Apr 03, 2014 1:31 am
Forum: Libraries and Tools
Topic: FPSGraph. A simple lightweight graphing utility
Replies: 2
Views: 2262

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...
by substitute541
Wed Apr 02, 2014 1:40 am
Forum: Support and Development
Topic: windows 7 lag image love 0.9... Solved
Replies: 6
Views: 954

Re: windows 7 lag image love 0.9...

It won't hurt to attach a .love file though.
by substitute541
Wed Apr 02, 2014 1:22 am
Forum: Libraries and Tools
Topic: FPSGraph. A simple lightweight graphing utility
Replies: 2
Views: 2262

FPSGraph. A simple lightweight graphing utility

Made out of my free time while taking a break from bigger projects.

A simple library that graphs both 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
by substitute541
Wed Apr 02, 2014 1:20 am
Forum: General
Topic: LÖVE 0.9.1 released
Replies: 39
Views: 54787

Re: LÖVE 0.9.1 released

It's already April 2 here so I think it doesn't count :3 .

Anyways, it's legit. Go download it!