Develop a game with MelonJS

By Fernando DoglioCrazy technology house Original text: https://blog.bitsrc.io/writin... Forbidden without permission Game development does not need to be limited to users using Unity or unreal engine 4. JavaScript game development has been around for some time. In fact, the latest versions of the most popular browsers (such as Chrome, Firefox ...

Posted by phpnewbiy on Thu, 24 Oct 2019 21:29:28 -0700

3D model bevel generation based on HTML5 WebGL

Preface There are not only horizontal faces in 3D scene, but also countless faces in space. So we may place objects on any face. How to determine the faces in space? We know that a face in space can be made up of a point and a normal. The left side of the Demo is the panel. Drag the object from the panel to the 3D scene on the right. Of course ...

Posted by keithh0427 on Thu, 24 Oct 2019 19:50:24 -0700

About the drag effect of H5

Dragging process: dragstart: this event is triggered on the dragged element at the beginning of dragging. The listener needs to set the data required for dragging. This event is not triggered when dragging files from the operating system to the browser. Regenter: trigger on the element when draggi ...

Posted by PugJr on Thu, 24 Oct 2019 03:57:35 -0700

Advanced sharing in iOS development - new framework in iOS 13 - MetriKit

MetriKit is a new framework for collecting and processing batteries and performance metrics in iOS 13. This is WWDC working with XCTestMetrics and Xcode Metrics organizers this year as part of a concerted effort to bring new insights to developers about the performance of their applications in this area. Apple will automatically collect Metr ...

Posted by wilsonodk on Wed, 23 Oct 2019 23:44:18 -0700

Docker installs ELK and implements JSON format log analysis

What is ELK? ELK is a complete set of log collection and front-end display solution provided by elastic company. It is the acronym of three products, namely ElasticSearch, Logstash and Kibana. Among them, Logstash is responsible for processing logs, such as filtering logs, formatting logs, etc.; ElasticSearch has a strong text search ability, s ...

Posted by why not on Wed, 23 Oct 2019 23:35:06 -0700

Eureka get service list source code analysis

In previous articles: EurekaClient automatic assembly and startup process analysis In, we mentioned that there is a refresh thread and an operation to pull the registration information from the server in the DiscoveryClient like constructor. These are the two situations in which eureka obtains the service list: Full access: pull all services w ...

Posted by jrodd32 on Wed, 23 Oct 2019 19:42:13 -0700

Requests: HTTP library designed for human

brief introduction Requests is an elegant and easy-to-use HTTP library, built specifically for humans This article focuses on requests 2.x The authors of requests are Kenneth Reitz , to focus on requests3 Development, Kenneth Reitz has requests2 Hand over to PSF (Python Software Foundation) Administration PyPI address: https://pypi.org/project ...

Posted by Chrysanthus on Wed, 23 Oct 2019 14:05:41 -0700

editor.md: drag, cut, copy, paste, upload pictures, file plug-ins

editor.md is a Markdown editor with beautiful interface and powerful functions. But there is a lack of cutting and dragging upload in the aspect of image and file upload. There are so many shortcomings in each aspect. Here is a simple implementation. There is not much nonsense, just code directly. uploadImg.js function initPasteDragImg(Editor){ ...

Posted by busnut on Wed, 23 Oct 2019 10:55:38 -0700

Server code analysis of Go mass chat room project

The whole project uses MVC mode, CS architecture, transmission layer based on TCP protocol, application layer based on custom protocol, and developed with Go language. The project has strong expansibility. Server master function func main() { initPool("localhost:6379", 16, 0, 300*time.Second) ini ...

Posted by K3nnnn on Wed, 23 Oct 2019 09:28:51 -0700

Queue, interprocess communication, thread

Catalog Process mutex Multi process and rush to buy the remaining tickets at the same time Using locks to secure data queue Interprocess communication Producer and Consumer thread The concept of thread Two ways to create threads Method of thread ob ...

Posted by ondercsn on Tue, 22 Oct 2019 14:10:23 -0700