svētdiena, 2021. gada 24. oktobris

HOW TO START MAKING BROWSER VIDEO GAME WITH PREMADE GAME CODE? (STARTING POINT FAST, NOT FOR COMPUTER ILLITERATES)

https://drive.google.com/file/d/1Pd3KgXuSVoOFuxyliYjS3RoYb6mvnM28/view?usp=sharing -- THIS IS GAME CLIENT, IT SHOULD BE HOSTED AS ANY WEBSITE, WITH SERVER SETTINGS WHERE (CORS) IS ENABLED. (Apache2 module). To use this, You should be able to install any webserver (python, apache2, nginx etc). SO LINUX KNOWLEDGE IS A MUST MOST LIKELY. 



 THE ORIGINAL GAME CLIENT CODE CAN BE DOWNLOADED HERE - https://github.com/lv88h/Quick_3D_MMORPG 


 ALSO, THERE GAME SERVER CODE, WHICH CAN BE DOWNLOADED HERE (SAME LINK)- https://github.com/lv88h/Quick_3D_MMORPG 



 IN ORDER TO MAKE SERVER WORK, YOU SHOULD BE ABLE TO INSTALL NODE.JS and start the server on 3000 port, by typing in terminal node index.mjs.



 You should be able to close the ports and kill server application afterwards.

sudo netstat -ltup   | open ports
sudo ufw allow 3000/tcp  | open port
lsof -i tcp:3000 | find process on the port
kill -9 PID | kill the process

 More about the way to develop game: Since, this is game based on 3d game engine for web browsers called three.js, You will have to be able to program in javascript, which will be the main point. For example, opening /src/scenerycontroller.js and editing constants that I made to add 3d objects in ordinary coordinates, is a must. 


That's only beginning, since I haven't developed physics to these objects or any other step. Second, once You get basic coding done for physics, You will need a lot of 3d object files in .fbx and .glb files, which can be found in /resources/ folder. 


What You will need to know is 3d design using software like Blender or others. There are animations, which are defined in code and also found in these 3d files, so this is basically, biggest step in this kind of game making. 


 If You have way better way to develop a browser game, or 3d game in general, please contact me @ r.mazitis@gmail.com.