Search found 533 matches
- Sat Nov 30, 2013 3:41 pm
- Forum: General
- Topic: what OS are you using?
- Replies: 35
- Views: 13014
Re: what OS are you using?
First of all, you should start with 12.04 because it doesn't require a re-install every 6 months. 13.10 is nice if you want beta-like cutting edge features, but the *.10 releases can sometimes end up unstable, which doesn't reflect well on Linux. I'll try that :) Next, on your speed, make sure your...
- Fri Nov 29, 2013 6:27 pm
- Forum: General
- Topic: Your Top 5 Best Videogames Of All Time
- Replies: 50
- Views: 22294
Re: Your Top 5 Best Videogames Of All Time
haha yeah, beeest games ever made ...NightKawata wrote:i have a new list
1. bubsy 3D
2. et
3. big rigs: over the road racing
4. sonic 06
5. plumbers don't wear ties
honorable mention:
*superman 64
- Fri Nov 29, 2013 2:13 pm
- Forum: General
- Topic: what OS are you using?
- Replies: 35
- Views: 13014
Re: what OS are you using?
I use Windows 7 to work on projects. I would like to use Ubuntu 13.10 but when using a linux os the performance of LÖVE games and other games is much
slower for some reason
slower for some reason
- Thu Nov 28, 2013 8:37 pm
- Forum: Support and Development
- Topic: Classes, instances ect. Need help.
- Replies: 11
- Views: 4059
Re: Classes, instances ect. Need help.
Hi again, basically you do most things right. Your problem is that you messed up... ... with the enemy naming: In enemy.lua you wrote something like function enemy:update(dt) if e.x and e.y then blablabla instead of using the instance of your class. You have to use the "self" keyword insid...
- Thu Nov 28, 2013 2:19 pm
- Forum: Support and Development
- Topic: Accessing a local class instance
- Replies: 12
- Views: 3260
Re: Accessing a local class instance
[edited] Thanks for all your replies. @roland: Basically that's the way I do it. Only problem I see with your idea is the world instance. If I create an class out of the world.lua and then want to access a instance of it inside another file, I can't because I created it local in my game.lua, so it i...
- Wed Nov 27, 2013 9:34 pm
- Forum: Support and Development
- Topic: Accessing a local class instance
- Replies: 12
- Views: 3260
Re: Accessing a local class instance
I found another way to handle instances local. Only disadvantage, I need to define a name for each entity I want to access this way. the idea build up on the way I handle entities. I have a "World" where I add each entity via World:add(entity). Then the entity automatically get updated and...
- Wed Nov 27, 2013 6:30 pm
- Forum: Support and Development
- Topic: Accessing a local class instance
- Replies: 12
- Views: 3260
Re: Accessing a local class instance
Thanks for the advise, Robin.
- Wed Nov 27, 2013 5:50 pm
- Forum: Support and Development
- Topic: Accessing a local class instance
- Replies: 12
- Views: 3260
Re: Accessing a local class instance
cool, so it is possible to keep it local, thanks Plu. Is it a common way to do things like that? Because it looks a bit strange and impractical anyway. Look like my question turns into a "code design" question. :/ lets say I create a multiplayer game(local) and want to have a Player class ...
- Wed Nov 27, 2013 5:12 pm
- Forum: Support and Development
- Topic: Accessing a local class instance
- Replies: 12
- Views: 3260
Accessing a local class instance
Currently I try to enhance my coding style. Guessing I got a base class: -- Enemy.lua local Enemy = {} Enemy.__index = Enemy function Enemy:new() local self = {} setmetatable( self, Enemy ) return self end return Enemy Now inside my Main.lua I create a instance of it like this: -- Main.lua local Ene...
- Tue Nov 26, 2013 4:01 pm
- Forum: General
- Topic: What's everyone working on? (tigsource inspired)
- Replies: 1791
- Views: 1495094
Re: What's everyone working on? (tigsource inspired)
Wow, amazing stuff.