Another thing to note about .6 is that your print() calls will place the stdout.txt file on a different folder than the one where the love.exe is... however I don't know where that is.
Does anyone know this? I'm using windows atm, but it would be nice to know the file location on win, lin & mac.
Search found 3098 matches
- Wed Dec 16, 2009 10:21 pm
- Forum: Support and Development
- Topic: Making the switch to .6?
- Replies: 11
- Views: 6725
- Wed Dec 16, 2009 12:30 pm
- Forum: General
- Topic: PÄSSION ~ Mixins and subclasses questions
- Replies: 5
- Views: 4358
Re: PÄSSION ~ Mixins and subclasses questions
Hmm your code works, but it has a weakness. You are using self.name_type on Mammal. However, this member variable is being set by Dog and Bat, but not by Mammal. This is easy to control in your example, but is not a good practice in general; with more complicated classes you will end up forgetting t...
- Wed Dec 16, 2009 9:33 am
- Forum: General
- Topic: PÄSSION ~ Mixins and subclasses questions
- Replies: 5
- Views: 4358
Re: PÄSSION ~ Mixins and subclasses questions
Ok, here are some comments: You don't need to store the class name on your instances like this: function X:initialize() self.name_type = name_type end ... print('I am a ' .. self.name_type .. '.') Instead, you can use the class.name: function X:initialize() end print('I am a ' .. self.class.name .. ...
- Tue Dec 15, 2009 10:59 pm
- Forum: Support and Development
- Topic: Somebody help
- Replies: 9
- Views: 5558
Re: Somebody help
Also, if your game isn't very big, you may want to upload it as an attachment. It would make testing easier.
- Tue Dec 15, 2009 10:56 pm
- Forum: Libraries and Tools
- Topic: PÄSSION: object-oriented LÖVE
- Replies: 90
- Views: 50087
Re: PÄSSION: object-oriented LÖVE
Eumm ... what? ... fixed already? These youngsters are too fast for me. (... Where did I put my teeth?) Thanks for fixing that for me ...again! Note taken about testing code before putting it on the wiki. I've learned the lesson and keep it in mind for my next update. However, I don't agree with you...
- Sun Dec 13, 2009 5:53 pm
- Forum: General
- Topic: LOVEFEST 12/09
- Replies: 88
- Views: 25961
Re: LOVEFEST 12/09
Fair enough. Count me as "interested", then.
- Sun Dec 13, 2009 4:28 pm
- Forum: General
- Topic: LOVEFEST 12/09
- Replies: 88
- Views: 25961
Re: LOVEFEST 12/09
Ok, I've never done something similar, but I'd be interested.
So how do we propose a subject for the first lovefest? Should we use this thread for that?
So how do we propose a subject for the first lovefest? Should we use this thread for that?
- Sun Dec 13, 2009 4:16 pm
- Forum: Libraries and Tools
- Topic: PÄSSION: object-oriented LÖVE
- Replies: 90
- Views: 50087
Re: PÄSSION: object-oriented LÖVE
Hi, sorry for not replaying - I've been out and without internet access.
My shame is only surpassed by my gratefulness. Thanks Robin & Pliskin09 for fixing my sample code - you guys are great.
My shame is only surpassed by my gratefulness. Thanks Robin & Pliskin09 for fixing my sample code - you guys are great.
- Fri Dec 11, 2009 2:30 pm
- Forum: Libraries and Tools
- Topic: PÄSSION: object-oriented LÖVE
- Replies: 90
- Views: 50087
Re: PÄSSION: object-oriented LÖVE
Hi amshali, I'm afraid that only 0.6 is supported. I suppose you could try "transforming" the current example into 0.5 by doing the following: Changing love.load, love.draw and love.update to just draw, load and update Changing "line" to love.draw_line But I don't recommend doing...
- Sun Dec 06, 2009 4:38 pm
- Forum: Support and Development
- Topic: How best to try out Passion?
- Replies: 5
- Views: 3307
Re: How best to try out Passion?
Hi bradford, If you meant PÄSSION , it has now been working for some time with the 0.6 builds - Anything from the builds page should make it run for you. Just take note that I haven't tested it on linux yet.. and I'm making changes! The object-oriented part, MiddleClass , is far more stable (if it h...