101 Commits

Author SHA1 Message Date
Peter Lindgren
4e22e5f6c3 Update WebRTC example code for Godot 4 (#7882)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-11-11 05:26:32 +01:00
Paul PINA-GHERARDI
f6baf555b9 Document requirement of having client + server RPCs in High-level multiplayer (#7932)
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-11-11 05:25:59 +01:00
skyace65
e266f5668f Fix Build issue 2023-10-09 01:21:50 +02:00
Jordyfel
3406de0b8c Patch lobby example implementation. 2023-10-09 00:27:39 +02:00
Max Hilbrunner
9ac473d060 Merge pull request #7675 from Jordyfel/patch-1 2023-08-01 05:35:19 +02:00
spaceyjase
3f7f643748 Update http_request_class.rst (#7619)
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2023-08-01 05:16:30 +02:00
Max Hilbrunner
666b55ca77 Update HTTP docs for Godot 4 2023-04-21 04:30:54 +02:00
NickCheng0921
245e8f920b Update high_level_multiplayer.rst
Old documentation used set_network_master instead of new method set_multiplayer_authority. Making this small update since rest of documentation for this page looks correct, but it took me a while to figure out why the old method wasn't working.
2023-03-24 18:40:15 -05:00
Martin Majewski
bc925e0c80 Made a sentence easier to read and included a reference to class_String (#7034)
* Excluded user created Python venv folder

* Added monospace format to code and added ref to String doc
2023-03-23 02:28:05 +01:00
Jacob Steffler
d24d85acc1 Fix a grammar mistake by adding an apostrophe 2023-03-16 19:51:08 -05:00
Patrick
1d609842dd GDExtension docs
Renames from GDNative to GDExtension


Add Pictures/Gifs and clarified compatability


Remove GDNative language bindings from GDExtension docs


Update SConstruct and AddingProperties section


updated with suggestions


Added property hint example + updated to API naming changes


Fixed redirect.csv
2023-02-26 16:44:45 +01:00
Yuri Sizov
978a13bb0a Mark potentially outdated pages with a WIP warning 2023-02-26 14:21:15 +01:00
Yuri Sizov
9473b6c9e3 Enable error reporting on the CI and address the remaining errors 2023-02-24 17:35:32 +01:00
Raul Santos
b319da3f07 Update some C# examples for 4.0 (#6693)
* Update some C# examples

- Rename members that have been renamed in Godot's C# API for 4.0.
- Change `delta` parameter type to `double`.
- Ensure parameters match base declaration.
- Other minor code fixes.

---------

Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
2023-02-04 17:03:03 +01:00
BlueStag
135ad68cab Use 4.0 method of connecting to and emitting signals (#6311)
Change docs to use the new method of connecting and emitting signals
2023-01-22 22:01:34 -05:00
Dramion
c869897350 Fix missing signal connection in code sample in Making HTTP requests (#6620) 2023-01-17 02:46:49 +01:00
Hana
9e90766a92 update c# class examples 2023-01-12 19:38:20 +01:00
Hugo Locurcio
509804650e Update all instances of instance() to instantiate() 2022-11-29 16:59:09 +01:00
Max Hilbrunner
99d3d0be12 Renames / fixes for Godot 4 2022-10-17 00:35:07 +02:00
Hugo Locurcio
d917648102 Remove mentions of VisualScript in the documentation
VisualScript has been removed in 4.0.alpha15 and later.
2022-09-01 01:44:54 +02:00
Raul Santos
3b36a94d35 Update C# signal documentation
Updates C# signal documentation and code examples to the new API in 4.0
2022-08-26 15:59:43 +02:00
David Snopek
838d03cd50 Attempt to clarify reliable vs unreliable RPCs 2022-08-02 08:49:31 -05:00
Nathan Anderson
aca8507c92 Mention WebRTC support on HTML5 in High-level multiplayer (#5937)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-07-16 18:36:29 +02:00
Fabio Alessandrelli
fd0d712814 [Net] Change server in the websocket demo.
The old server (echo.websocket.org) is no longer active.
The new server (libwebsockets.org) is the demo server of another popular
websocket library (LWS) which we also previously used.
2022-04-29 13:44:48 +02:00
Will Stott
1ac9f5ec31 Update the websockets tutorial for Godot 4's new signal connect syntax. (#5776) 2022-04-29 12:26:29 +02:00
Henodude
deb89f665d Fix the syntax for the Android permission requirement on network tutorials (#5433) 2021-12-06 18:13:15 +01:00
Lucida Dragon
062aa06eec Fix typo in WebSocket tutorial (#5296) 2021-10-04 01:40:12 +02:00
Aaron Franke
5c7f653347 Optimize PNG and SVG images using oxipng and svgcleaner (#5254) 2021-09-14 17:50:17 +02:00
luzpaz
d9bc787dd9 Fix various typos (#5215)
Fix various typos

Found via `codespell -q 3 -S ./LICENSE.txt -L doubleclick,findn,lod,inout,nd,raison,te`
2021-09-02 17:02:23 +03:00
Hugo Locurcio
17c5fe0e35 Document the permission requirement on Android on network tutorials 2021-08-11 18:15:28 +02:00
Marcin Sędłak-Jakubowski
bd19917ea0 Draft: Remove "simple", "simply", "easy", and "just" from the docs (#4496)
* Various style edits

* Edit out "simple" when possible

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
2021-07-11 14:38:53 +02:00
Rodrigo Ceccato de Freitas
32bb9315e0 Fix small typo 2021-06-12 18:26:37 -03:00
Rémi Verschelde
044b6a74f8 Cleanup uses of double spaces between words or after punctuation 2021-06-07 10:44:02 +02:00
Rémi Verschelde
2d710ef15e Merge pull request #4462 from TechnoPorg/master
Add C# code examples for HTTPClient and HTTPRequest
2021-03-19 13:19:24 +01:00
Divided by Zer0
36c9302533 Adjust HTTPClient example code to not break in HTML5 exports (#4738)
Fixes godotengine/godot#46857

Added supported wait periods after poll() for HTML5
This prevents warning about multiple polls in the same frame
and prevent hanging the game when fetching the body chunks
2021-03-11 12:14:44 +01:00
TechnoPorg
8d78a46f0d Add C# code examples for HTTPClient and HTTPRequest
Ported the existing GDScript code examples to C# for both HTTPClient and HTTPRequest.
2021-01-19 15:17:51 -07:00
Hugo Locurcio
7b168d6d78 Add a Hosting considerations section to High-level multiplayer
This covers topics such as internal vs public IP addresses
and port forwarding.
2020-11-09 20:40:14 +01:00
Meriipu
f4aeaac2e2 high-level networking: remove bad practice; bomber demo more explicit
Removed an instance of a bad practice (letting the clients pass their
own rpc caller id to the server and having the server trust it), as
well as making the server the only one able to unpause the game.

The first of the two is a fairly harmful habit to teach, especially
in a first introduction.

Also made the bomber demo way more explicit (and verbose) by avoiding
as many ambiguous pronouns as possible, instead being quite explicit
about which nodes or methods are being referred to at any time, and
also some intermingled motivations/reminders for why these steps are
being taken.
2020-06-25 10:44:17 +02:00
Max Hilbrunner
c302e96507 Update tutorials/networking/high_level_multiplayer.rst 2020-05-20 11:24:29 +02:00
Hugo Locurcio
ec77f48d5e Add documentation about exporting for dedicated servers
This also documents how to build dedicated server binaries.
The part about compiling will need to be updated for Godot 4.0
once the server platform is usable again.

This also removes prompts before commands so that they can be
copy-pasted by triple-clicking without selecting the prompt.
2020-05-19 21:52:23 +02:00
Hugo Locurcio
4f6fdbc710 Fix various spacing and capitalization issues 2020-05-18 09:54:32 +02:00
Hugo Locurcio
d494d19dac Remove trailing whitespace and irregular whitespace 2020-05-17 00:26:19 +02:00
vetu11
b04225c997 fix-3511 2020-05-10 10:52:11 +02:00
Hugo Locurcio
726fe7ca1f Use network_peer as a property instead of using the setter method 2020-05-02 01:12:09 +02:00
Hugo Locurcio
30230b2971 Clarify that NetworkedMultiplayerPeer cannot be extended via GDScript
See #3460.
2020-04-28 09:39:20 +02:00
Yuri Sizov
135b33b768 Replace British spelling and fix various typos 2020-04-27 12:18:52 +03:00
Hugo Locurcio
046215542d Fix some typos and grammar mistakes found using LanguageTool 2020-04-16 23:07:05 +02:00
nolike
8e7c82904f Links to Gaffer On Games blog (#3388)
Gaffer has relaunched his blog. No need to keep links to web archive anymore. 
I propose substitute links to updated blog.
2020-04-15 21:23:54 +02:00
Yuri Sizov
4acf7a6563 Fix syntax highlighting for various languages (#3387) 2020-04-15 16:33:20 +02:00
Yuri Sizov
075acc61b0 Replace Pool*Arrays with Packed*Arrays in tutorials and references 2020-03-17 11:15:34 +03:00