Discuss Scratch

marknoah52268
Scratcher
3 posts

How do you make a First Person Shooter game???

I need help on making a First Person Shooter game. All i need help with is the basic code and i'll go from there. If you can help me please do.
when green flag clicked
forever
say [How do you do this!!!!]
end
crisostimo
Scratcher
500+ posts

How do you make a First Person Shooter game???

Scratch is not really a good platform for an FPS. It's better for learning coding concepts then using those in the next platform you want to learn.
marknoah52268
Scratcher
3 posts

How do you make a First Person Shooter game???

crisostimo wrote:

Scratch is not really a good platform for an FPS. It's better for learning coding concepts then using those in the next platform you want to learn.
I know but still there has to be a way because @griffpatch did it in his 3d laser tag
when green flag clicked
forever
play sound [ RAGE]
end
crisostimo
Scratcher
500+ posts

How do you make a First Person Shooter game???

I would say that if you are able to look inside griffpatch's 3D laser tag project and understand all the things his scripts are doing, you're probably in good shape to give it a try too.

My advice would be to start with something a bit less complex and work your way up.
marknoah52268
Scratcher
3 posts

How do you make a First Person Shooter game???

crisostimo wrote:

I would say that if you are able to look inside griffpatch's 3D laser tag project and understand all the things his scripts are doing, you're probably in good shape to give it a try too.

My advice would be to start with something a bit less complex and work your way up.
Ok but that really doesn't answer the question
when green flag clicked
repeat until <not confussed>
change [confused] effect by (25)
end
S_Tutorials
Scratcher
13 posts

How do you make a First Person Shooter game???

Griffpatch's 3d Laser Tag uses a method of 3d called ray casting. The scratch wiki has a good article about it, which is easy to understand: link However, the code is better explained here: link, but it might be harder to understand.

Keep in mind that scratch is relatively slow compared to most programming languages and game engines. So, it is not suited for 3d games, and the options are limited. Drawing high quality ‘full 3d’ graphics with textures at real - time is impossible on scratch.

This is why most 3d programs on scratch use methods like ray casting, which is a technique used in older games. It uses a 2d map to render the 3d graphics, so it is not actually full 3d, (You cannot actually rotate in all directions, and all the walls are similar in shape) but it gives the illusion of 3d graphics, while being fast enough to run on scratch.

Griffpatch's 3d game is a slightly advanced version of a ray caster, but reading the links should help you understand how the 3d works.

Last edited by S_Tutorials (April 1, 2018 13:51:05)

Powered by DjangoBB