Seems reasonable since this de facto is what we're doing during debug anyhow.
kikito: You can also use shape:getType() to get rid of the function testing. This could also be used to make a seamless extension of the love.graphics.draw function, checking if what we send is a shape or not.
Search found 215 matches
- Thu Jan 14, 2010 8:48 pm
- Forum: Support and Development
- Topic: drawable shapes
- Replies: 4
- Views: 4221
- Sun Jan 10, 2010 3:50 pm
- Forum: Support and Development
- Topic: Camera in 0.6.0
- Replies: 18
- Views: 12122
Re: Camera in 0.6.0
Someone did code an interpreter for basic SVG and talked about it on IRC, but I do not remember who it was. I definitely think we should have one. That would be insanely cool. Anyone who knows who this individual was? SVG is built on XML though so it should be easy for anyone skilled and motivated ...
- Sun Jan 10, 2010 11:17 am
- Forum: Support and Development
- Topic: Does setBackgroundColor affect the whole screen or is it ...
- Replies: 11
- Views: 3829
Re: Does setBackgroundColor affect the whole screen or is it ...
It is also noteworthy that only the area indicated by the scissor is cleared each frame. You can also add alpha to the background color for some interesting effects.
- Sun Jan 10, 2010 11:14 am
- Forum: Support and Development
- Topic: Camera in 0.6.0
- Replies: 18
- Views: 12122
Re: Camera in 0.6.0
Someone did code an interpreter for basic SVG and talked about it on IRC, but I do not remember who it was. I definitely think we should have one.
- Sat Jan 09, 2010 6:48 pm
- Forum: Support and Development
- Topic: Camera in 0.6.0
- Replies: 18
- Views: 12122
Re: Camera in 0.6.0
Igor: it still doesn't do anything. that is for a mouse-based camera, right? I'm not using that. For future support, I think lateInit() should be there anyhow but you're right, it does nothing for your project. I've attached an updated version for Camera. It is not complete; there is a misplacement...
- Sat Jan 09, 2010 5:26 pm
- Forum: Libraries and Tools
- Topic: Physics demo with GetRestitution typo fix
- Replies: 10
- Views: 4825
Re: Physics demo with GetRestitution typo fix
Hmm... how about instead overloading newShape and setting the metatable appropriately before returning the created object. Also, if getRestitution is defined, and therefore presumably fixed, it should not replace it with getRestituion. Regarding the license discussion. The point of LPCL is that the ...
- Wed Jan 06, 2010 5:35 pm
- Forum: Support and Development
- Topic: Camera in 0.6.0
- Replies: 18
- Views: 12122
Re: Camera in 0.6.0
Sorry, Camera is not compliant with LÖVE 0.6.0. I will update it as soon as possible.
- Wed Jan 06, 2010 5:34 pm
- Forum: Support and Development
- Topic: Drawq, am I missing something?
- Replies: 3
- Views: 3389
Re: Drawq, am I missing something?
I'm trying to use love.graphics.drawq to draw specific tiles from my tileset. Attached is my approach... that doesn't work. I'm not understanding the problem, it _SHOULD_ work. :'( drawqtesting.zip Your tiles are of size 32, not 16. the parameters for newQuad are x, y, width, height. You need to fi...
- Wed Jan 06, 2010 11:01 am
- Forum: Games and Creations
- Topic: Proto-RTS
- Replies: 69
- Views: 43111
Re: Proto-RTS
Oh, I think the map generation produces a lot nicer results now and it is a bit faster. (Although the screenshot is pretty bland) There's a bug in the generation that is causing the diagonal ridges: #worldTable - x should be #worldTable - ecks, and you have to use y instead of x actually since you p...
- Tue Jan 05, 2010 4:35 pm
- Forum: Games and Creations
- Topic: Proto-RTS
- Replies: 69
- Views: 43111
Re: Proto-RTS
AI, procedural generation, and game-changing philosophies, awesome! Sprites are all placeholders, and currently its only a world generation cellular automata and isometric viewer. What do you mean by cellular auatomatons for world generation? I, here, interpret it as though a cell. automaton defines...