Search found 61 matches

by SudoCode
Mon May 28, 2012 10:36 pm
Forum: Support and Development
Topic: Updating all members of one class?
Replies: 1
Views: 332

Updating all members of one class?

I need to update all members of one class to apply gravity to them using MiddleClass. Other than using a for loop to get each member's ID and Y value and then running another for loop to update the Y value of each ID, I'm not really sure how to do this, and that doesn't seem very efficient. Any help...
by SudoCode
Wed May 16, 2012 11:38 pm
Forum: Libraries and Tools
Topic: FEZ. Frankenstein Entity Zystem.
Replies: 26
Views: 7562

Re: Lua Entity System

LËSbian?
by SudoCode
Wed May 16, 2012 5:13 pm
Forum: General
Topic: 0.8.0 Physics
Replies: 6
Views: 1034

Re: 0.8.0 Physics

Obligatory "don't use love.physics if you just need standard jumping and collision".
by SudoCode
Wed May 16, 2012 3:50 pm
Forum: Support and Development
Topic: Need some help with OOP and clean coding
Replies: 6
Views: 1167

Re: Need some help with OOP and clean coding

Your sprint dosent work because of floor() your movment is 1 btw here is a tips for draw range: Map:autoDrawRange(-(Player.x-(love.graphics.getWidth( )/2)), -(Player.y-(love.graphics.getHeight( )/2)), 1, -50) The problem with removing math.ceil and math.floor from the movement is now tiles have rou...
by SudoCode
Wed May 16, 2012 5:23 am
Forum: Support and Development
Topic: Need some help with OOP and clean coding
Replies: 6
Views: 1167

Need some help with OOP and clean coding

I'm pretty new to OOP but I understand the basic concepts. I'm just wondering if I'm using objects in an optimal manner in terms of making my code modular and easy to modify or add to. If anyone could take a look through it and give me a few pointers it would be appreciated. Also, increasing the spe...
by SudoCode
Wed May 16, 2012 5:12 am
Forum: Support and Development
Topic: new project help
Replies: 2
Views: 300

Re: new project help

If you remove the if statement from hero:draw() it works fine.
by SudoCode
Wed May 16, 2012 1:51 am
Forum: nLÖVE
Topic: nDöts - Döts optimized for nLÖVE
Replies: 9
Views: 23436

Re: nDöts - Döts optimized for nLÖVE

motion blur. What's with the motion blur argument? I don't see why a high temporal resolution is necessary to create some kind of blurring effect. It may give you a more accurate blur, but nobody will notice because it's blurred. Yes, I don't like motion blur. It's stupid in real life and it's stup...
by SudoCode
Tue May 15, 2012 11:34 pm
Forum: nLÖVE
Topic: nDöts - Döts optimized for nLÖVE
Replies: 9
Views: 23436

Re: nDöts - Döts optimized for nLÖVE

Also, what is the minimum amount of FPS appropriate to see movement as fluid? Why are movies played at 25 FPS but the reccomended amount of FPS for video amateur is 60? Is the aberration absolutely that important? Can our eyes ascertain the difference? Human eyes don't see in terms of fps, your rod...
by SudoCode
Tue May 15, 2012 1:19 am
Forum: Support and Development
Topic: Problem with Beholder
Replies: 2
Views: 562

Problem with Beholder

I'm trying to do basic movement with beholder, but I'm having trouble. function updatePlayer(dt) function love.keypressed(key) beholder.trigger("KEYPRESS", key) end beholder.observe("KEYPRESS", "w", movePlayerUp(dt)) beholder.observe("KEYPRESS", "s", movePlayerDown(dt)) beholder.observe("KEYPRESS", ...