This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-04-30 06:43:53

rontoking
Scratcher
Registered: 2011-03-12
Posts: 100+

Online Game in Scratch

Can someone givee me a step by step tutorial how to make an online game in scratch?


Minecraft fan?
http://scratch.mit.edu/projects/rontoking/2496386

Offline

 

#2 2012-04-30 15:59:23

rontoking
Scratcher
Registered: 2011-03-12
Posts: 100+

Re: Online Game in Scratch

bump


Minecraft fan?
http://scratch.mit.edu/projects/rontoking/2496386

Offline

 

#3 2012-04-30 16:47:30

ManaUser
Scratcher
Registered: 2009-03-11
Posts: 100+

Re: Online Game in Scratch

When you say "online" do you mean multiplayer? Because that isn't currently possible.


http://i.imgur.com/SPYSM.gif http://i.imgur.com/t9k1Z.gif http://i.imgur.com/OwYVa.gif http://i.imgur.com/0qlZq.gif

Offline

 

#4 2012-04-30 16:57:22

Prestige
Scratcher
Registered: 2008-12-15
Posts: 100+

Re: Online Game in Scratch

Have a look at 'mesh' on the scratch wiki  smile


"Don't insult someone until you've walked a mile in their shoes. That way, if they don't like what you have to say, you'll be a mile away and still have their shoes  smile  "

Offline

 

#5 2012-04-30 17:21:19

rontoking
Scratcher
Registered: 2011-03-12
Posts: 100+

Re: Online Game in Scratch

I did but I don't understand it very much.I did enable mesh but I don't understand how to make example an MMO where my friend plays 1 character and I play another,how do I make it so that when my friend presses a button his character does something and when I press a button mine does.Can you give me an example on how to do something like this please?  smile


Minecraft fan?
http://scratch.mit.edu/projects/rontoking/2496386

Offline

 

#6 2012-04-30 18:23:05

Prestige
Scratcher
Registered: 2008-12-15
Posts: 100+

Re: Online Game in Scratch

First of all, anything you want to do will be a lot harder (in general) as a mesh game. I would get to grips with the basic of mesh games before attempting something like an MMO. Try and make a 2 player pong game over mesh, for example. Just learn from the ground up as you did first of all with scratch. Once you have the basics, you'll have a much better understanding on how to make it - thats my only advice!  smile


"Don't insult someone until you've walked a mile in their shoes. That way, if they don't like what you have to say, you'll be a mile away and still have their shoes  smile  "

Offline

 

#7 2012-05-01 04:32:25

rontoking
Scratcher
Registered: 2011-03-12
Posts: 100+

Re: Online Game in Scratch

I don't get it.I know everyone receives broadcasts(at least I think they do) when connected but in this mesh pong game
http://scratch.mit.edu/projects/jamopop/1247555
there is only a broadcast "I pressed space".Is there like another project where the other person connected has a broadcast "other pressed space"?I can't seem to find that anywhere on the project so where's the script that broadcasts "other pressed space"?


Minecraft fan?
http://scratch.mit.edu/projects/rontoking/2496386

Offline

 

#8 2012-05-01 04:45:04

rontoking
Scratcher
Registered: 2011-03-12
Posts: 100+

Re: Online Game in Scratch

Nevermind sorry xD!There's another pong game.I get it now!


Minecraft fan?
http://scratch.mit.edu/projects/rontoking/2496386

Offline

 

#9 2012-05-01 10:30:37

AOEmaster
Scratcher
Registered: 2012-04-21
Posts: 18

Re: Online Game in Scratch

I know I'm a new scratcher on HERE, but I've been using scratch for a year now.

[scratchblocks]
when gf clicked
forever
set x to < (scrollx)  +  [480]  *  [0] >
set y to < (scrolly)  +  [180]  *  [0] >


Once you do that just add as many terains as you wish for your game, Hope it helps!  lol

Offline

 

#10 2012-05-01 10:38:19

AOEmaster
Scratcher
Registered: 2012-04-21
Posts: 18

Re: Online Game in Scratch

[scratchblocks]
when gf clicked
forever
set x to < (scrollx)  +  [480]  *  [0] >
set y to < (scrolly)  +  [180]  *  [0] >
end

My mistake!  tongue

Offline

 

#11 2012-05-02 04:41:18

rontoking
Scratcher
Registered: 2011-03-12
Posts: 100+

Re: Online Game in Scratch

Thanks!If I don't make an MMORPG at least I'll make an RPG!Of course I'll give you credit  big_smile


Minecraft fan?
http://scratch.mit.edu/projects/rontoking/2496386

Offline

 

#12 2012-05-02 07:48:45

zammer990
Scratcher
Registered: 2012-01-22
Posts: 500+

Re: Online Game in Scratch

AOEmaster wrote:

when gf clicked
forever
set x to < (scrollx)  +  [480]  *  [0] >
set y to < (scrolly)  +  [180]  *  [0] >
end
My mistake!  tongue

A: you don't need the end if its only one C block
B: this is a scroller script, not a mesh one


http://i45.tinypic.com/2ynq7nn.jpg Play now!

Offline

 

#13 2012-05-02 09:48:13

AOEmaster
Scratcher
Registered: 2012-04-21
Posts: 18

Re: Online Game in Scratch

Yes, it is a scroller script, but it is used for RPGs.
Also go on youtube and type "How to make a two axis scrolling game with scratch".
MY way is much simpler.
And also, with backgrounds you want put the following: after you have your "set x to10
go back to the "set y to" with your backgrounds, start putting in 1, 2, 3, 4, 5, 6, 7, 8, 9, 10.

Offline

 

#14 2012-05-02 12:20:25

zammer990
Scratcher
Registered: 2012-01-22
Posts: 500+

Re: Online Game in Scratch

AOEmaster wrote:

MY way is much simpler.

Erm, that's the normal way of doing scrollers...


http://i45.tinypic.com/2ynq7nn.jpg Play now!

Offline

 

#15 2012-05-03 12:45:38

AOEmaster
Scratcher
Registered: 2012-04-21
Posts: 18

Re: Online Game in Scratch

Oh, ok. Hey do you know how to make a Fps

Offline

 

Board footer