m
(→‎Mistake?: new section)
Line 34: Line 34:
 
--<scratchsig>110Percent</scratchsig> 14:02, 13 June 2015 (UTC)
 
--<scratchsig>110Percent</scratchsig> 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? <scratchsig>Furious-</scratchsig> 14:48, 14 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? <scratchsig>Furious-</scratchsig> 14:48, 14 June 2015 (UTC)
 +
 +
== Mistake? ==
 +
 +
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?

Revision as of 14:11, 2 July 2016

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)

Mistake?

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?

Cookies help us deliver our services. By using our services, you agree to our use of cookies.