Difference and not working?

So I followed this tutorial step by step and it didn't work. Then I used the link given at the top and that had coding that was different from in here, and that coding seemed to work. Maybe this should be updated or I did something wrong?
HappyParakeet (talk | contribs) 4:45, 13 February 2018 (UTC)

FYI, post new sections at the bottom of the talk page.
If what you say is correct, then the page needs to be updated, yes.
Kenny2scratch logo.jpg kenny2scratch  Talk  Contribs  Directory 
07:00, 14 February 2018 (UTC)

No example for Sprite-Based

The description doesnt include how to script a Sprite-Based raycaster.
Wolvesstar97 (talk | contribs) 19:00, 27 April 2012 (UTC)

I know, we never really finished it. I might do it today. :)
Hardmath123 (talk | contribs) 06:54, 28 April 2012 (UTC)

How do you like it so far?
Hardmath123 (talk | contribs) 09:20, 3 September 2011 (UTC)

Nice! Remember to link to other pages on the wiki.
Veggieman001 (talk | contribs) 16:08, 3 September 2011 (UTC)
Done. :P
Scimonster (talk | contribs) 17:50, 3 September 2011 (UTC)

Can I take over work on this article? I'm preparing to complete a full explanation, maybe finished by this weekend.
Cygene (talk | contribs) 21:02, 6 September 2011 (UTC)

It says in the 3rd paragraph, "a raycaster is usually single-frame, in order to prevent lag". What does that mean? I've made really good raycasters, but I have no idea what it means. Would the person who wrote that please explain to me what they meant.
Cygene (talk | contribs) 21:19, 6 September 2011 (UTC)
Also, can I add more examples, like S65's? (I don't think I should add mine, though)
Cygene (talk | contribs)
I'll put it in the article that you're working on it. We have a template for that. :)
Scimonster (talk | contribs) 04:16, 7 September 2011 (UTC)
Thanks :)
Cygene (talk | contribs) 10:35, 7 September 2011 (UTC)
Single-frame means no wait, wait until, broadcast, or looping blocks are used, to prevent having to enter turbo speed. These cause lag, intentionally, because a new Scratcher might get confused upon losing a sprite that 'flew off the screen' because of a haywire repeat.
Hardmath123 (talk | contribs) 11:34, 16 September 2011 (UTC)
I don't think that's what single-frame means. I'm pretty sure single frame means that all calculations are done, then the drawing is done (in one frame). I think what you mean is loop-unrolling. It should have been elaborated upon, I'll do it.
Cygene (talk | contribs) 11:51, 16 September 2011 (UTC)

Can anyone give me examples of several more raycasters? I really don't want to give the ones I made. :S I need at least one raycaster that's sprite based, one that's array-based, and one that's 1s1s. I already know of hardmath123's and S65's.
Cygene (talk | contribs) 20:22, 8 September 2011 (UTC)

Nope, I don't know raycasters. I'd say it's fine to use one of yours as an example, and long as you don't overdo it (just 1).
Scimonster (talk | contribs) 04:11, 9 September 2011 (UTC)

Needs Expansion

There is no (complete) tutorial on how to make an array based raycaster. I was working on a complete tutorial in my sandbox, so should I finish that then place it on this page, or on a tutorial page of it's own?
Userlogoaonymousguy.png AonymousGuy (talk | contribs | Scratch account) 15:20, 21 June 2014 (UTC)

Maybe place it on a tutorial page of it's own.
Swampert11 (talk | contribs) 15:37, 21 June 2014 (UTC)
Can it go on Raycaster Tutorial, or would it be incompatible with the existing page?
Scimonster (talk | contribs) 05:21, 22 June 2014 (UTC)
It can go here.
Swampert11 (talk | contribs) 17:18, 23 June 2014 (UTC)
Still nothing here. Will the wiki be making one?
110Percent (talk | contribs) 22:02, 6 November 2014 (UTC)
Well, actually, I just finished the List-Based Raycaster!!! :D
Furious- (talk | contribs) 17:52, 14 June 2015 (UTC)

List-Based Raycasting

P I'm working on the list based raycaster, but I'm having issues with wall detection... Can someone help me?
Furious- (talk | contribs) 19:51, 5 June 2015 (UTC)

How to use the coordinates with List-Based Raycasting?

I'm sorry, but I have no idea how to use the coordinate system, and the page doesn't say anything about it. Can anyone help me please? :l --
110Percent (talk | contribs) 14:02, 13 June 2015 (UTC)

The co-ordinate system? Oy, it's pretty complicated. Basically, the raycaster sends rays using the sin and cos functions. The rays keep moving until they hit a wall. Once it hits the wall, it adds a line to the screen. :D Kapeesh?
Furious- (talk | contribs) 14:48, 14 June 2015 (UTC)


According to a post by Scratch user @asivi in this discussion thread: https://scratch.mit.edu/discuss/topic/201264/ it appears there is a mistake, and after viewing it I agree that it is a mistake. May I change it?
-unsigned comment by Jokebookservice1 (talk | contribs)

By all means, please do. In the future, if something in an article looks wrong, go ahead and fix it. The worst that will happen is that we might revert it.
jvvg (talk | contribs) 14:13, 2 July 2016 (UTC)

Credit not given?

It seems that the code in the list-based tutorial is based of this raycasting tutorial in C++, or maybe the other way round, but no credit is given on either page. The code in the C++ tutorial is under a BSD license that requires credit.
Jonathan50 (talk | contribs) 00:59, 4 September 2016 (UTC)

Actually, the link was added here but later removed here?
Jonathan50 (talk | contribs) 03:23, 12 November 2017 (UTC)
Well, about 500 images or more violate CC-BY-SA, and some is copyvio. Maybe fair use, but they're not useful when we translate. See also CP Discussion --
Apple502j (talk | contribs) 03:35, 12 November 2017 (UTC)

No "Pre-Orgnization"

This article doesn't have a part where you first create the variables before you start. I'm a guy who likes to organize, so I notice these types of things. Thanks! :)
ScrappyFriend77 (talk | contribs) 02:43, 11 May 2017 (UTC)

You're welcome to go ahead and add it. You don't need to ask permission.
jvvg (talk | contribs) 20:38, 11 May 2017 (UTC)

pen shade

In the list-based raycaster article, it uses the pen shade block. However, the pen shade bock doesn't exist. What are the blocks actually supposed to be?
HiPeeps124816 (talk | contribs) 17:31, 11 April 2021 (UTC)

The tutorial was created back when the Pen Shade block did exist. https://en.scratch-wiki.info/wiki/Set_Pen_Shade_to_()_(block)
Jbthepig (talk | contribs) 16:53, 26 April 2021 (UTC)
Maybe the Set pen saturation block will work.
Coco7nut (talk | contribs) 10:10, 11 July 2021 (UTC)
I'm pretty sure Pen Brightness is basically the same as Pen Shade. It could probably be replaced with that.
Jackson49 (talk | contribs) 03:14, 11 July 2021 (UTC)
Fixed by me
PenguinLover1123 (talk | contribs) 16:15, 18 September 2021 (UTC)

Please finish the list-based raycaster tutorial

I know nothing about 3d wall detection in scratch
PenguinLover1123 (talk | contribs) 19:39, 27 July 2021 (UTC)

I think it's pretty easy to do, might try it
HiPeeps124816 (talk | contribs) 20:05, 12 February 2022 (UTC)
I'm considering doing it, I have a working method...
Jbthepig (talk | contribs) 21:11, 31 March 2022 (UTC)

Another form of raycasting

There is another form of raycasting that is completely made of numbers. It's very slow. If you don't include shading, it's actually simpler than list-based raycasting, but hitboxes will be very hard to implement. Should we add a tutorial? I made one without shading, and one with shading would be projects:444263092.
HiPeeps124816 (talk | contribs) 20:09, 12 February 2022 (UTC)

I'm not sure if it belongs on this page, though, check out this article.
Jbthepig (talk | contribs) 21:23, 31 March 2022 (UTC)