Commit Graph

32 Commits

Author SHA1 Message Date
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
Fabio Alessandrelli 0bbe5ef586 Add minimal connection demos 2019-06-14 04:14:53 +02:00
Hugo Locurcio 184b0fe5f8
Optimize all images using `oxipng -o6 --strip all --zopfli` 2019-06-11 16:40:50 +02:00
Rémi Verschelde a38b315064 Port audio, gui, mono, networking and viewport demos to Godot 3.1 2019-02-26 14:50:18 +01:00
Chris Bradfield 9d66e8f2ef Code cleanup 2018-03-13 22:35:55 -07:00
Rémi Verschelde e182dd799a Fix shadowing of "name" property + hidden rocks
Fixes #189.
2018-01-13 20:29:00 +01:00
sambler abb08c9d1a Automatic .import updates made by opening projects in the godot editor
These import changes allow the projects to be opened with the runtime.
2018-01-06 22:16:13 +01:00
Kyle Howard cec3be23e9 Fixed remaining occurances of rotation_deg
Fixed remaining files to change rotation_deg to rotation_degrees.
2017-12-06 12:04:55 -06:00
Rémi Verschelde f8ca6d0a4d Sync all demos with current master format 2017-10-30 12:38:39 +01:00
Rémi Verschelde b4e0537816
Merge pull request #68 from sbeca/pr-project-files
Update project.godot files to latest format
2017-10-29 16:45:55 +01:00
Scott Beca 96ae223e21 Fixes for rename from fixed to physics 2017-10-04 22:12:41 +11:00
Scott Beca 3f37e754c3 Update project.godot files to latest format 2017-09-30 21:22:16 +10:00
Rémi Verschelde 9365e97c0f Some more ProjectSettings fixes 2017-07-26 20:25:57 +02:00
Jakub Grzesik 2c012b4e59 basic fixes for project.godot files 2017-07-26 20:06:21 +02:00
Jakub Grzesik a282a85cb3 change PoolFloatArray to PoolRealArray in tscn files 2017-07-26 18:32:08 +02:00
Juan Linietsky da56d77d42 networking demos were notworking, not areworking, 2017-07-01 14:59:37 -03:00
Juan Linietsky 6ef185c192 begun porting demos, platformer is working (mostly) 2017-06-23 07:44:27 -03:00
Fabio Alessandrelli d22dd38557 Fix simple multiplayer demo for 3+ players
Properly send newly connected dudes to old players
2016-10-07 16:21:33 +02:00
Rémi Verschelde 3e16c84a2b simple multiplayer: Simplify some redundant calls 2016-09-18 09:16:55 +02:00
Rémi Verschelde c0e3b4161f simple multiplayer: Code style enhancements 2016-09-18 09:16:55 +02:00
Juan Linietsky bccc1cd127 Added a new platformer demo entirely made with visual script. 2016-08-31 17:57:08 -03:00
Juan Linietsky 00f5f054ad Added a pong multiplayer example 2016-08-21 10:05:52 -03:00
Juan Linietsky 4edf90374f Some fixed to networking demo 2016-08-19 18:42:14 -03:00
Juan Linietsky d9c91b93d9 Added a simple multiplayer test 2016-08-19 16:47:48 -03:00