Discuss Scratch

nwolf2012
Scratcher
20 posts

How to make a multiplayer sandbox building game like minecraft

I'd like to make a multiplayer 2D Minecraft where you can also play singleplayer and in multiplayer, you choose who's game to join.
Example:
generate world
join server
disconnect from server
say [Woof!:P] in chat
timetravelernick
Scratcher
86 posts

How to make a multiplayer sandbox building game like minecraft

Well I cant tell you the exact scripts but single player would be some type of generating world with stamps or maybe clones. Then you would need a player sprite with detection to the environment. You would need clones for all of the mobs and some sort of random ai patterns for them such as a timer for when they should move. You would also need a brightness system where it would darken blocks that have no source of light near them. This is for generating worlds for mutliplayer and single player. Making a sever is extremely difficult. Very few people have done it. You would need a host for the sever and some cloud lists. To make a cloud list you need a cloud variable and some other block “magic”. What you are trying to do is very complicated so yeah. You should try something more basic before working with multiplayer games.
sonicboom1236
Scratcher
100+ posts

How to make a multiplayer sandbox building game like minecraft

I can help youu need to copy the main sprite then give them different controls but severs ask griffpatch about that
sillyman2008
Scratcher
33 posts

How to make a multiplayer sandbox building game like minecraft

i have one but it's not sandbox it might have some of the scripts you need This is It!
sillyman2008
Scratcher
33 posts

How to make a multiplayer sandbox building game like minecraft

define generate world
lots of graphic stuff so idk maybe some pen and lots of sprites and clone blocks

define say (string) in chat
add (string) to [chat]

define disconnect from server
show

define join server
lots of graphic stuff so idk maybe some pen and lots of sprites and clone blocks
-+
so have fun trying that!

Last edited by sillyman2008 (Oct. 4, 2014 17:45:30)

Jemmerl
Scratcher
100+ posts

How to make a multiplayer sandbox building game like minecraft

check out this game i made! it shows how to make a generated world:
http://scratch.mit.edu/projects/27186672/
tntey
Scratcher
100+ posts

How to make a multiplayer sandbox building game like minecraft

Lots of cloud variables
MinecraftParty77
Scratcher
100+ posts

How to make a multiplayer sandbox building game like minecraft

Multiplayer games are a very difficult thing to do. I've tried, and failed many times. I still haven't successfully made one. If you want the game to create and host servers, that is VERY hard to do. I'm not even sure if its possible. But, you can make it so a game has slots. Once a slot is free, another person can enter. You would just have to figure out how to make it detect if a person is come or gone. I hope I helped.
laxpro7960
Scratcher
8 posts

How to make a multiplayer sandbox building game like minecraft

i don't get it
laxpro7960
Scratcher
8 posts

How to make a multiplayer sandbox building game like minecraft

nwolf2012 how did you make a white square in say woof:p in chat?
CatsUnited
Scratcher
1000+ posts

How to make a multiplayer sandbox building game like minecraft

laxpro7960 wrote:

i don't get it
Please don't necropost.
viking1234567890
Scratcher
34 posts

How to make a multiplayer sandbox building game like minecraft

sonicboom1236 wrote:

I can help you need to copy the main sprite then give them different controls but severs ask griffpatch about that

nice comment
wayyyy
Scratcher
500+ posts

How to make a multiplayer sandbox building game like minecraft

Griffpatch did just that with his multiplayer terraria game http://scratch.mit.edu/projects/46587498/
nwolf2012
Scratcher
20 posts

How to make a multiplayer sandbox building game like minecraft

CatsUnited wrote:

laxpro7960 wrote:

i don't get it
Please don't necropost.
Just your usual 11 year old programmer, quickscoper and brony. | GOTTA GU FEST
Moving on from Scratch? Learn a C derivative or Java. (Or Python )
Rarity FTW | Click here to log out.
BTW FTW stands for “For The Win”, not you-know-what backwards.
My sig, hosted on the World Wide Web (lol so 1995)
Best website ever, made by technoboy10
; <<– Tunnel Snakes Semicolons Rule!

@brandingdavid told me that java is so confusing. But python is OK; it's like a programming language I already know called php.
Its_ok329
Scratcher
43 posts

How to make a multiplayer sandbox building game like minecraft

I know how to make chat!!
when green flag clicked
forever
if <key [which ever key you want to press for chat v] pressed?> then
ask [] and wait
say (answer) for (2) secs
end
end
Darkbooger15
Scratcher
14 posts

How to make a multiplayer sandbox building game like minecraft

I need help with making the blocks and basic terrain and the character so you don't go through the walls.

could someone help me please?
when green flag clicked

say [Help meah!]

Last edited by Darkbooger15 (April 25, 2015 16:24:16)

nwolf2012
Scratcher
20 posts

How to make a multiplayer sandbox building game like minecraft

laxpro7960 wrote:

nwolf2012 how did you make a white square in say woof:p in chat?
Here
iamunknown2
Scratcher
1000+ posts

How to make a multiplayer sandbox building game like minecraft

nwolf2012 wrote:

I'd like to make a multiplayer 2D Minecraft where you can also play singleplayer and in multiplayer, you choose who's game to join.
Example:
generate world
join server
disconnect from server
say [Woof!:P] in chat
That's a bit too ambitious…
You see, you can only use cloud integers (you can only store numbers on the cloud, text won't work).

To generate a world, the way to do it would be to:
1. Create random seed
2. Use seed to create map
3. Store entire map in cloud variable (Sorry, no lists! BTW, you would need to prepare for more than one player).
And no, there are no built-in blocks which can do that directly.
iamunknown2
Scratcher
1000+ posts

How to make a multiplayer sandbox building game like minecraft

Its_ok329 wrote:

I know how to make chat!!
when green flag clicked
forever
if <key [which ever key you want to press for chat v] pressed?> then
ask [] and wait
say (answer) for (2) secs
end
end
ONLINE multiplayer chat…
Plus, the Scratch Team discourages that, unless you want to frustrate yourself by creating a safe chat (chat with pre-determined words).
Tessa1
Scratcher
1 post

How to make a multiplayer sandbox building game like minecraft

I want to know how to make a multiplayer game like Pixeltown. But I don't know how to use cloud data to do that. #HELPME

Powered by DjangoBB