web deployment help

J-G

Veteran
Member
Joined
Oct 4, 2019
Messages
616
Reaction score
145
First Language
English
Primarily Uses
RMMV
So how exactly do i go about deploying to a web server?
I tried one site but after i uploaded it says the index.html is not found in my project which is odd because its there.
Do i only zip the www folder? or the whole output folder?
What are some good places to try and upload the game?
 

Aesica

undefined
Veteran
Joined
May 12, 2018
Messages
1,604
Reaction score
1,511
First Language
English
Primarily Uses
RMMV
A lot of it is going to depend on how your server handles such things. I deployed this sample game directly to my own personal webserver via direct upload, nothing zipped, and it works fine.

For reference, I uploaded everything inside the www folder, but not the www folder itself.
 
  • Like
Reactions: J-G

Ghost314

Villager
Member
Joined
Aug 13, 2020
Messages
15
Reaction score
12
First Language
English
Primarily Uses
RMMZ
I was messing around with this just yesterday. If you happen to be on a windows operating system, there's an optional windows feature you can enable that will allow you to run a web server right on your own local machine.

If you follow the instructions here https://helpdeskgeek.com/windows-10/install-and-setup-a-website-in-iis-on-windows-10/ to enable the service, then you can copy/paste everything inside the www folder of your deployed project to c:/inetpub/wwwroot and play your game from a web browser by typing http://localhost into the address bar. Kind of neat.
 

J-G

Veteran
Member
Joined
Oct 4, 2019
Messages
616
Reaction score
145
First Language
English
Primarily Uses
RMMV
thats really helpful to know, how did you come about your own personal server if i may ask?

@Ghost314 Thanks i will definately try that. Since i wan't to test smoothness of play, so far it seems rather slow, but i blame my hotspot, sharing internet from my cell isn't the fastest for me haha
 

Speedvore

RPG Making since RM95!
Veteran
Joined
Oct 3, 2015
Messages
31
Reaction score
10
First Language
English
Primarily Uses
RMMZ
I haven't tried MZ yet, but I did upload an MV web game straight to itch.io (here), which is great if you don't have your own server. It was pretty straight-forward, similar to the process that Aesica mentioned, but with itch, you just need to zip the www folder. I'm sure it works the same for MZ games, too!
 
  • Like
Reactions: J-G

J-G

Veteran
Member
Joined
Oct 4, 2019
Messages
616
Reaction score
145
First Language
English
Primarily Uses
RMMV
Thanks, the more sources i have to upload the better. I appreciate that
 

Aesica

undefined
Veteran
Joined
May 12, 2018
Messages
1,604
Reaction score
1,511
First Language
English
Primarily Uses
RMMV
thats really helpful to know, how did you come about your own personal server if i may ask?
I pay for it via a web hosting company, and I use it for a lot of things but its mostly just my personal web content dumping ground. :D If you just want to test deployment though, @Ghost314 's solution is definitely the way to go since you can test it right from your PC without uploading anything.
 

J-G

Veteran
Member
Joined
Oct 4, 2019
Messages
616
Reaction score
145
First Language
English
Primarily Uses
RMMV
I pay for it via a web hosting company, and I use it for a lot of things but its mostly just my personal web content dumping ground. :D If you just want to test deployment though, @Ghost314 's solution is definitely the way to go since you can test it right from your PC without uploading anything.
Yeah I just tried it and on a website, for some reason it plays slow n lags a lot, seems even sv battlers used with plugin don't work even when file is there.
I'm guessing web deployment still needs fine tuning.
 

Aesica

undefined
Veteran
Joined
May 12, 2018
Messages
1,604
Reaction score
1,511
First Language
English
Primarily Uses
RMMV
Yeah I just tried it and on a website, for some reason it plays slow n lags a lot, seems even sv battlers used with plugin don't work even when file is there.
I'm guessing web deployment still needs fine tuning.
Did the link to my game lag for you as well? If not, can I see a link to yours, to see if I have the same issue? PM me if you'd rather not have the link all over the place.
 
  • Like
Reactions: J-G

J-G

Veteran
Member
Joined
Oct 4, 2019
Messages
616
Reaction score
145
First Language
English
Primarily Uses
RMMV
Is Android browser just not well suited for web? This is what the game looks like in Android browser. My wall tiles n roof tiles are gone lol
Other stages are just pitch black.
 

Attachments

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

While we prepare the official trailer, enjoy this kind-of-second teaser! ^^
-Ele
New Episodes of RPG Shenanigans Uploaded to Youtube!

Episode 5 - Surprise Party!
Youtube Link:
Episode 6 - Killer Gin
Youtube Link:
Episode 7 - Gaia's Melody: Echoed Melodies
(Coming soon!)

Episode 8 - Clarent Saga: Tactics
(Coming soon!)

Episode 9 - Star Shift
(Coming soon!)
When the Map Generator throws in the assets in the most dumbest way possible - your path is blocked :D

I went to sleep at 3 am because of my anxiety. Set up my alarm for 7 am so that I could have sasagues for breakfast and do morning routine before lessons starts at 8 am. I knew I wouldn't be able to sleep even after my lessons finished because I have to visit my grandparents today I was sad bc I was really tired. Thats when I realised. My lesson starts at 9 am. I could get one extra hour of sleep if I didnt forget it

Forum statistics

Threads
107,561
Messages
1,030,563
Members
139,672
Latest member
WDRS
Top