godotengine / godot-demo-projects

Demonstration and Template Projects
https://godotengine.org
MIT License
5.93k stars 1.65k forks source link

Error in Multiplayer Bomber #23

Closed songproducer closed 8 years ago

songproducer commented 8 years ago

Parser Error: Unexpected token: Identifier:remote

Line 57 in GameState.gd: remote func register_player(id, name):

mefihl commented 8 years ago

You use Godot 2.1 ? For new multiplayer code, you need use Godot 2.2 alpha.

akien-mga commented 8 years ago

Same as #21, use the 2.1 branch if you're using 2.1-stable, the master contains new demos that work only in 2.2.

songproducer commented 8 years ago

How can I get 2.2 alpha? Do I need to compile?

Calinou commented 8 years ago

How can I get 2.2 alpha? Do I need to compile?

Usually, yes, although you can also acquire a community-produced nightly build such as from here, if you do not want to compile the engine.

songproducer commented 8 years ago

Thanks Calinou that's a great resource!