Search found 42 matches
- Sun Oct 09, 2022 6:37 pm
- Forum: Support and Development
- Topic: how to draw text in a limited area of the screen
- Replies: 8
- Views: 3983
Re: how to draw text in a limited area of the screen
it works. Thanks
- Sun Oct 09, 2022 4:01 pm
- Forum: Support and Development
- Topic: how to draw text in a limited area of the screen
- Replies: 8
- Views: 3983
Re: how to draw text in a limited area of the screen
can i add parameters for StencilFunction?
- Sun Oct 09, 2022 3:43 pm
- Forum: Support and Development
- Topic: how to draw text in a limited area of the screen
- Replies: 8
- Views: 3983
- Sun Oct 09, 2022 3:32 pm
- Forum: Support and Development
- Topic: how to draw text in a limited area of the screen
- Replies: 8
- Views: 3983
Re: how to draw text in a limited area of the screen
Code: Select all
love.graphics.printf("This text is aligned center", s_width/2, s_height/2, 200,"center")
but that's not what I want. I want the text outside of its area to be cut off
am I doing something wrong with the printf?
- Sun Oct 09, 2022 1:48 pm
- Forum: Support and Development
- Topic: how to draw text in a limited area of the screen
- Replies: 8
- Views: 3983
how to draw text in a limited area of the screen
i want to limit the text to a given area the only method i found along with stencil local function myStencilFunction() love.graphics.rectangle("fill", 100, s_height/2, 95, 30) end function love.load() text_obj = love.graphics.newText( font, "This text is aligned center") end func...
- Mon Feb 14, 2022 6:25 pm
- Forum: General
- Topic: infinite 3d grid( editor grid )
- Replies: 6
- Views: 5035
Re: infinite 3d grid( editor grid )
one more option. unfortunately the zoom doesn't work well
control keys 1 and 2 - grid selection
mouse left key - grid drag
mouse wheel - zoom
control keys 1 and 2 - grid selection
mouse left key - grid drag
mouse wheel - zoom
- Sat Feb 12, 2022 12:31 pm
- Forum: General
- Topic: infinite 3d grid( editor grid )
- Replies: 6
- Views: 5035
Re: infinite 3d grid( editor grid )
infinity grid with shader. scale and move
scale works only towards the center of the grid. it doesn't look right with movement.
scale works only towards the center of the grid. it doesn't look right with movement.
- Thu Feb 10, 2022 6:54 am
- Forum: General
- Topic: infinite 3d grid( editor grid )
- Replies: 6
- Views: 5035
Re: infinite 3d grid( editor grid )
first I want show grid with draw line command
as in the gif link
as in the gif link
- Wed Feb 09, 2022 6:48 pm
- Forum: General
- Topic: infinite 3d grid( editor grid )
- Replies: 6
- Views: 5035
Re: infinite 3d grid( editor grid )
do I need to create a copy in the correct forum?
i showed all my code
the result should have been like this
https://love2d.org/imgmirrur/fAYhi.gif
i showed all my code
the result should have been like this
https://love2d.org/imgmirrur/fAYhi.gif
- Tue Feb 08, 2022 6:25 pm
- Forum: General
- Topic: infinite 3d grid( editor grid )
- Replies: 6
- Views: 5035
infinite 3d grid( editor grid )
someone tried to create infinite 3d grid with love? I used the example. https://stackoverflow.com/questions/28075743/how-do-i-compose-a-rotation-matrix-with-human-readable-angles-from-scratch/28084380#28084380 but something went wrong does anyone have experience with something like this ---@type lov...