Page 1 of 1
Is there sometthing like the pen on scratch in love 2d or lua?
Posted: Sun Jul 31, 2022 2:45 pm
by Blitzer1001
i am just curious since, i want to make a raycasting game
.
Re: Is there sometthing like the pen on scratch in love 2d or lua?
Posted: Sun Jul 31, 2022 3:00 pm
by BrotSagtMist
And for those of us who never heard of any of these:
Can you actually describe what it does?
Re: Is there sometthing like the pen on scratch in love 2d or lua?
Posted: Mon Aug 01, 2022 5:54 am
by zorg
I'm guessing it's this:
https://en.scratch-wiki.info/wiki/Pen
Logo's stateful drawing it seems like; it can be implemented but you can do raycasting in more sane ways than what a pre-schooler would be taught.
Re: Is there sometthing like the pen on scratch in love 2d or lua?
Posted: Mon Aug 01, 2022 11:56 am
by EngineerSmith
Sounds similar to turtle graphics. There's a library for love2d, not sure how up-to-date it is
https://github.com/arthurealike/turtle.lua
Re: Is there sometthing like the pen on scratch in love 2d or lua?
Posted: Mon Aug 01, 2022 12:23 pm
by BrotSagtMist
Reads like it simply drops the same picture a few times on a canvas.