Discuss Scratch

alucardssoul
Scratcher
6 posts

An easier way to make a platformer

You could have a few new options (if chosen when making the project making it easier to make platformers) and have new scratch blocks to go with it eg:
set start of level () to x: () y: ()
set Level () end to [ v]

The new way you could create floors, walls and ceilings would be by selecting the new “solid block” option.
You could also create characters that way but just add the code you would normally add.
apart from that the scratch editor would be exactly the same as it would normally be.

Last edited by alucardssoul (Feb. 2, 2014 12:35:20)

Sonickyle
Scratcher
1000+ posts

An easier way to make a platformer

Creating platforming games with levels is easy.
set [level v] to [x] //When a condition is met.

forever

if <(level) = [1]> then
... //Whatever you want the project to do.
end
if <(level) = [2]> then
...
end
end
AonymousGuy
Scratcher
1000+ posts

An easier way to make a platformer

Well wait so if I were making an animation and ran this block:
set start of level to x: (0) y: (0)
What exact code would it run?

The reason this really wouldn't work is because it is basically impossible for a computer to detect what scripts it would have to run for your specific project.

For example, I could make a platformer with this reset script:
if <touching color [#AED]?> then
broadcast [dead v]
end

While your script could be like this:
if <touching [Sprite1 v]?> then
set [DEAD v] to [1]
wait (0.1) secs
set [DEAD v] to [0]
end
And the “set start of level” block would have to be able to detect this script and hundreds of others.
BGD_12345
Scratcher
11 posts

An easier way to make a platformer

Any other ways? I’m really desperate to make an easy platformed.
Blaze349
Scratcher
1000+ posts

An easier way to make a platformer

alucardssoul wrote:

You could have a few new options (if chosen when making the project making it easier to make platformers) and have new scratch blocks to go with it eg:
set start of level () to x: () y: ()
set Level () end to [ v]

The new way you could create floors, walls and ceilings would be by selecting the new “solid block” option.
You could also create characters that way but just add the code you would normally add.
apart from that the scratch editor would be exactly the same as it would normally be.
If you want something to make your platformers with ‘easier’ then try this.
Failord
Scratcher
1000+ posts

An easier way to make a platformer

I think the point of Scratch is to learn how to do this stuff- including finding ways to “solidify” objects.

Really, if you think about it, things like this would eventually just replace the current system of blocks, and Scratch would no longer teach you how to code, but rather simply give you easy shortcuts to do a limited sphere of things. What I'm trying to say is that you can use the current base for essentially ANYTHING you want to code, since you're given a broad variety of essentials. Specialized things like this would hinder learning more than help.
Zparx
Scratcher
500+ posts

An easier way to make a platformer

For the (probably not) LAST TIME;

Scratch is not and will never be aimed at one particular genre of interactivity. The goal is for a dynamic range of project styles by crafting scripts that utilize each block in a GENERAL way. That being said; the possibility to create those sort of specific projects (platformers/animations) was meant to be done so with the tools readily available to each genre in an EQUAL way. Making a block for specific genres/projects would throw everything off entirely. Besides, the block you mentioned is already possible to create using the “make a block” function.

Last edited by Zparx (May 22, 2014 19:38:29)

Sonickyle
Scratcher
1000+ posts

An easier way to make a platformer

Also, people who suggest these kind of blocks make them appear so cryptic about what the block does/
savaka
Scratcher
1000+ posts

An easier way to make a platformer

Scratch is a programming interface, not a game maker. It will mot have “built-ins.”

Powered by DjangoBB