Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Online Platformer Engine
- 21nely
-
15 posts
Online Platformer Engine
Okay, my game Halo Chronicals is being updated. My only issue is that it has an online mode. How do I make it so that I can get other people showing on your screen? (Yes, it's a center screen platformer. Need example? Mario.) PLEASE HELP!
- HardClaw57
-
500+ posts
Online Platformer Engine
It's extremely hard. Only the absolute best can even attempt it.
And it's going to be laggy. Very laggy.
And it's going to be laggy. Very laggy.
- 21nely
-
15 posts
Online Platformer Engine
First of all, THAT WAS FAST! And it is really crucial to the game, so I should find a way to simplify it… Welp, TIME TO GET TO WORK! It's extremely hard. Only the absolute best can even attempt it.
And it's going to be laggy. Very laggy.
- thelostgames
-
58 posts
Online Platformer Engine
yayyayyay
Last edited by thelostgames (Jan. 23, 2016 03:21:44)
- zp100
-
100+ posts
Online Platformer Engine
It's not really that hard, but it's a fair amount of work, and it is very laggy. It wouldn't work very well for a platformer. I could still show you the scripts, though, if you want.
- The_Codr
-
55 posts
Online Platformer Engine
Use cloud variables
For player one they would be player1x and player1y
For player two they would be player2x and player 2y
For player one they would be player1x and player1y
For player two they would be player2x and player 2y
- zp100
-
100+ posts
Online Platformer Engine
Please don't spam. Whwtyhgf hi.
Yes, that's what you would do, but, as said before, it would be VERY laggy. It can take up to a few seconds for cloud data to update, which is not good for an online game, especially a platformer. Use cloud variables
For player one they would be player1x and player1y
For player two they would be player2x and player 2y
Last edited by zp100 (Feb. 7, 2016 00:35:56)
- 21nely
-
15 posts
Online Platformer Engine
very laggy. It wouldn't work very well for a platformer. I could still show you the scripts, though, if you want.It's not really that hard, but it's a fair amount of work, and it is
Sure. Probably going to make a different project.
- deck26
-
1000+ posts
Online Platformer Engine
The idea isn't that difficult but the implementation, as has been suggested, is unlikely to work very well. Essentially each player has ‘real world’ x and y coordinates which tell you where they appear in ‘real world’ terms. Your local values of scrollX and scrollY have to be applied to those ‘real world’ coordinates to decide where/whether they appear in your screen coordinates.
- 21nely
-
15 posts
Online Platformer Engine
That would work, but my only problem is the lag. How can I fix that? The idea isn't that difficult but the implementation, as has been suggested, is unlikely to work very well. Essentially each player has ‘real world’ x and y coordinates which tell you where they appear in ‘real world’ terms. Your local values of scrollX and scrollY have to be applied to those ‘real world’ coordinates to decide where/whether they appear in your screen coordinates.
- zp100
-
100+ posts
Online Platformer Engine
Remove firewalls on your computer, close other webpages, and get a faster internet connection.That would work, but my only problem is the lag. How can I fix that? The idea isn't that difficult but the implementation, as has been suggested, is unlikely to work very well. Essentially each player has ‘real world’ x and y coordinates which tell you where they appear in ‘real world’ terms. Your local values of scrollX and scrollY have to be applied to those ‘real world’ coordinates to decide where/whether they appear in your screen coordinates.
Last edited by zp100 (Feb. 10, 2016 23:26:15)
- Discussion Forums
- » Help with Scripts
-
» Online Platformer Engine