Search found 29 matches
- Wed Mar 12, 2014 7:33 pm
- Forum: Support and Development
- Topic: Repeating background - Quad or SpriteBatch?
- Replies: 2
- Views: 1902
Re: Repeating background - Quad or SpriteBatch?
Interesting case. I have never thought of that. I agree, that wrapping an image and having multiple tiles in one image file is impossible. The former means that you create a quad that is bigger than the image file and the latter means you create one that is smaller. That won't work at the same time...
- Mon Mar 10, 2014 11:28 pm
- Forum: Support and Development
- Topic: Incremental Jumping
- Replies: 4
- Views: 1920
Re: Incremental Jumping
The best way? Not sure. Give the same problem to different programmers and even if the goal is the same, the execution is likely to vary. A timer is probably one of the simplest ways to do it - maybe I'm not savyy enough to think of other ways though. My suggestion has little to do with the jetpack...
- Mon Mar 10, 2014 11:19 pm
- Forum: Support and Development
- Topic: Repeating background - Quad or SpriteBatch?
- Replies: 2
- Views: 1902
Repeating background - Quad or SpriteBatch?
Hi everybody! I'm trying to render a background made of a repeated tile (let's say 100x100px) in a great square (let's say 3000x3000px) that is the ground where the player walks. I've got four types of tiles, but I display just one at a time! For example, for a while there is a sandy ground, then a ...
- Wed Mar 05, 2014 10:44 pm
- Forum: Support and Development
- Topic: [SOLVED] Using intersection of stencils
- Replies: 4
- Views: 1338
Re: Using intersection of stencils
Oh thanks, I didn't remembered there was such a function!micha wrote:You can draw a circular sector with love.graphics.arc. And if you need a more complicated shape you can always make a polygon of the shape and use this as a stencil.
- Wed Mar 05, 2014 10:22 pm
- Forum: Support and Development
- Topic: [SOLVED] Using intersection of stencils
- Replies: 4
- Views: 1338
Re: Using intersection of stencils
Did you try setting a stencil while drawing a stencil? Do you mean something like this? triangle = function() love.graphics.polygon("fill", xc, yc, 0, 600, 300, 0) end groundCircle = function() love.graphics.setStencil(triangle) love.graphics.circle("fill", xc, yc, r, 100) love....
- Wed Mar 05, 2014 10:17 pm
- Forum: Support and Development
- Topic: [SOLVED] Using intersection of stencils
- Replies: 4
- Views: 1338
[SOLVED] Using intersection of stencils
Hi everybody! I'm trying to draw a tiled ground, but I want it to be a circle of radius r. So, I first drew a square with sides of 2*r of length, and then I applied a stencil of a circle of radius r with the same center of the square, and everything worked very well. My problem is this: what can I d...
- Sun Mar 02, 2014 10:22 pm
- Forum: Support and Development
- Topic: Incremental Jumping
- Replies: 4
- Views: 1920
Re: Incremental Jumping
Thanks for the answer! So it's as simple as this? I thought you needed more drastic change on that line equation!
Anyway, seems better... But can I ask a further question? Is that the best way to achieve an "incremental jumping"?
Anyway, seems better... But can I ask a further question? Is that the best way to achieve an "incremental jumping"?
- Sun Mar 02, 2014 1:03 am
- Forum: Support and Development
- Topic: Incremental Jumping
- Replies: 4
- Views: 1920
Incremental Jumping
Hi everybody! I'm developing a platformer and I need to let the player to jump at three stages, so that it performs a low-, mid- and high-jump. I've followed the platformer jumping tutorial that addresses my problem, in fact there is the "jetpack" system that works kinda well, and I can tw...
- Sat Mar 01, 2014 3:51 pm
- Forum: Ports
- Topic: LÖVELINESS a LÖVE Chrome Extension
- Replies: 126
- Views: 98969
Re: LÖVELINESS a LÖVE Chrome Extension
Thank you! This project is wonderful, and very useful!