Fabio Alessandrelli
93509019a9
Update WebRTC minimal to 4.0-beta4.
2022-11-19 18:49:36 +01:00
David Snopek
a425dccaa5
Update the multiplayer_bomber demo to work with Godot 4.0-beta3
2022-10-17 15:21:50 -05:00
Fabio Alessandrelli
da12c09942
[Net] Update WebSocket multiplayer demo.
...
Updated to Godot 4.
Added combo (default) scene showing dedicated multiplayer branches
(i.e. running both server and clients in the same SceneTree).
2022-09-29 21:13:55 +02:00
Fabio Alessandrelli
dd2ba9a5ba
[Net] Update & refactor WebSocket Chat demo.
...
Uses new unified StreamPeer, dropped the multiplayer part (in favor of
the dedicated WebSocket demo), add reference WebSocketClient and
WebSocketServer signal-based implementations that can be used as drop-in
nodes in any project. Might be worth maintaning it as a separate addon.
2022-09-29 19:16:41 +02:00
Aaron Franke
e77b85fba3
Merge pull request #730 from godotengine/master
...
Merge recent changes from master into the 4.0-dev branch
2022-05-02 09:19:08 -05:00
Hugo Locurcio
935e9bbc44
Tweak Multiplayer Pong demo icons to be different from singleplayer
...
This makes for easier visual grepping after importing all demos
in the project manager.
2022-04-20 00:52:58 +02:00
Fabio Alessandrelli
8902903099
Port Multiplayer bomber to replication system.
2022-04-04 11:13:12 +02:00
Aaron Franke
cb52878006
Use StringName literals with Input methods
2022-03-27 19:19:09 -05:00
Aaron Franke
bbe50fc9da
Convert demos to Godot 4 using regular expressions in a script
2022-03-26 16:09:10 -05:00
Aaron Franke
410d783126
Merge pull request #690 from godotengine/master
...
Merge the `master` branch into the `4.0-dev` branch
2022-03-26 15:19:30 -05:00
Aaron Franke
149cfcb995
Merge pull request #656 from Calinou/switch-more-demos-to-gles2
...
Switch 2D Platformer and Multiplayer Bomber demos to GLES2
2022-02-13 13:43:44 -06:00
Jon Bonazza
d047c2de5b
feat: update websocket-minimal to gdscript2.0
...
Update the networking/websocket-minimal project to use gdscript 2.0.
2021-12-07 10:28:40 -08:00
Hugo Locurcio
eba852bbde
Switch 2D Platformer and Multiplayer Bomber demos to GLES2
...
This allows those demos to run on a greater range of devices.
Particles2D nodes were converted to CPUParticles2D for compatibility
with GLES2.
Physics-Based 2D Platformer demo now uses the same stretch mode
as 2D Platformer for consistency.
2021-11-17 19:39:39 +01:00
Aaron Franke
b7e0a470c7
Update demos to Godot 3.4
2021-11-05 11:48:47 -05:00
Hugo Locurcio
d1f25ca4aa
Use `remotesync` instead of the deprecated `sync` in networking demos
...
The `sync` keyword has been deprecated since Godot 3.1.
2021-08-29 12:22:37 +02:00
Aaron Franke
7d64830cfe
Ensure most demos have descriptions and screenshots
2021-08-16 21:13:06 -05:00
Aaron Franke
f71816ed31
Minor tweaks to Pong and Dodge the Creeps
2021-07-11 13:08:01 -04:00
Aaron Franke
7e129db12e
Use "not" instead of the exclamation mark in GDScript files
...
Also add String casts
2021-07-04 03:46:21 -04:00
Aaron Franke
6875a21545
Replace built-in scripts and delete strange "e" scripts
2021-06-21 12:33:42 -04:00
Aaron Franke
814909538f
Update projects to Godot 3.3
2021-04-21 19:17:12 -04:00
Aaron Franke
40aec7c068
Update README for the new 3.2 branch
2021-04-14 13:46:19 -04:00
Aaron Franke
2ee9b47f6c
Use ETC instead of ETC2 for all GLES2 demos
2021-03-29 18:30:14 -04:00
Aaron Franke
d989bf6209
Use fewer ternary operators and decrease volume of Platformer 2D
2021-03-28 22:03:03 -04:00
Aaron Franke
4913cd868a
Misc fixes and tweaks
2021-03-03 02:59:17 -05:00
Aaron Franke
20a515153f
Add links to the Asset Library after release 3.2-5bd2bbf
2020-11-28 23:21:06 -05:00
Hugo Locurcio
6fd3e4d525
Add instructions for port forwarding in the high-level multiplayer demos
...
The instructions will only show when the player is hosting a server.
This also includes a button to get your public IP address.
This partially addresses #535 .
2020-11-13 16:17:14 +01:00
Duroxxigar
3f8567f920
Created C# networked Pong
2020-10-20 23:18:57 -04:00
Aaron Franke
918a289ee2
Format files using updated file_format.sh
2020-10-01 14:23:54 -04:00
Hugo Locurcio
fe6103256a
Allow hiDPI in all demos that support multiple resolutions
...
This is required to benefit from crisp display on hiDPI monitors.
This also fixes issues related to fullscreen and input handling
when using an hiDPI display on Windows.
2020-10-01 00:56:12 +02:00
Aaron Franke
d4bf89d364
Link to the asset library from the README of each demo
2020-09-10 15:37:10 -04:00
Fabio Alessandrelli
4fe1930aab
Avoid freeing network peer during signal emission.
...
Always keep a reference to the last used peer even when removing it
from tree.
2020-08-23 20:12:27 +02:00
Aaron Franke
fcc7d5c723
Optimize PNG images using oxipng
2020-08-16 17:48:38 -05:00
Aaron Franke
50fb2071a0
Improve icon.png for projects using default icon
2020-08-15 17:25:12 -05:00
Aaron Franke
8dff86d370
Add README files to categories
2020-07-03 20:45:51 -04:00
Aaron Franke
006309bd6f
Many tweaks thanks to IAmActuallyCthulhu
...
Also change apostrophes to double quotes and update C# projects
2020-06-28 13:19:13 -04:00
Aaron Franke
c13e56662f
Clean up unused and outdated environment files
2020-06-27 20:58:19 -04:00
Aaron Franke
35d44b5d85
Remove trailing space characters in the formatting script
2020-06-21 23:00:13 -04:00
Aaron Franke
7e09d2fec7
Commit files changed by the formatting script
2020-03-19 20:30:40 -04:00
Aaron Franke
f9e7456b70
Add descriptions to all projects with README files
...
These show up in the project manager when hovering over projects.
2020-03-16 20:50:53 -04:00
Aaron Franke
fea5db8ed2
Add README files to loading and multiplayer demos
2020-03-09 05:06:17 -04:00
Aaron Franke
aea4010bc8
Convert most demos to GLES 2
...
Also fix Viewport error in 3D scaling demo, add an icon to Multiplayer Bomber, and rename BPM sync files.
2020-03-04 20:59:12 -05:00
Aaron Franke
b310877037
Update other networking demos, with style fixes
2020-02-20 15:13:21 -05:00
Aaron Franke
984a731502
Update multiplayer bomber demo
2020-02-20 15:13:21 -05:00
Aaron Franke
4f5f0ec1a9
Update all Pong demos to Godot 3.1.2 and conform to style guides
2020-02-01 03:15:27 -05:00
Hugo Locurcio
a45b84a5ad
Handle multiple resolutions in most demos
...
This makes demos render correctly on hiDPI displays,
while also demonstrating how to handle multiple resolutions.
The 3D in 2D demo now uses "3D No-Effects" for the 3D viewport,
which is faster to render. Thanks to this, 4× MSAA is now enabled
for a better result.
The background loading demo now uses mipmaps for better-looking images.
The material testers demo now samples mouse input in a
resolution-independent manner when panning.
Default clear colors were also changed in some projects for visual
consistency with the project's theme.
2020-01-28 19:08:03 +01:00
Fabio Alessandrelli
359ef78ee0
Add WebSocket high level multiplayer demo.
2019-07-28 15:25:36 +02:00
Fabio Alessandrelli
e9f02ff05f
Add Websocket chat demo
2019-07-28 14:20:57 +02:00
Fabio Alessandrelli
949a9428eb
Add websocket minimal demo
2019-07-28 14:13:19 +02:00
Fabio Alessandrelli
38bfaba92d
Use p2p in multiplayer bomber player exchange.
...
We used to broadcast player info on connect and have the server relay it
to other clients.
With this approach, each peer (including server) sends its own info once
to other peers as soon as they connects.
When a new player connects, it is notified of all the already connected
peers by the `network_peer_connected` signal.
Any already connected peer is also notified of the newly connected peer
by the same signal.
2019-07-10 18:29:44 +02:00
Fabio Alessandrelli
2a57c64c30
Add webrtc signaling example
2019-06-14 06:15:22 +02:00