2014-01-01から1年間の記事一覧

Memo: How to build MySQL

Memorandum for myself. Install Lubuntu into Netbook(eeePC 1000H) via USB Universal USB Installer http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/ Lubuntu image http://lubuntu.net/ Get, build, and test MySQL Get source co…

Player character viewpoint support into 2D shooter game with WebGL

I supported Player character viewpoint using WebGL into touhou like shooting.https://github.com/takahirox/toho-like-jsPresss "Y" to change the viewpoint. You can use it in sole play, replay, and co-op play.

P2P online co-op shooter game with WebRTC

Introduction I've implemented a Touhou style shooter game. Its special feature is that you can enjoy P2P co-op play with your friend using WebRTC.I'll introduce you how to connect with your friend. Try and enjoy! How to connect and begin t…

Online co-op shooter game with WebRTC

Began to work on Chrome with P2P connection. It uses WebGL, WebSocket, and WebRTC. http://takahirox.github.io/toho-like-js/index2.html

WebRTC performance test on 2D shooter game

I'm making WebRTC performance test on 2D shooter game. Ask me how to use it if you're interested in it because its interface and functionality are not straightforward yet.http://takahirox.github.io/toho-like-js/webrtc_test.html I reused We…

JavaScript performance technique experiment 2

calling a bound function and bind() itself is slow test code. I ran it on Windows chrome. /* the prototype to compare with */ function A() { this.val = 1; }; A.prototype.func = function() { return this.val; }; /* B is callee and C is calle…

JavaScript performance technique experiment

Introduction I've been developing some JavaScript applications. Lately I faced with the performance problem. So, I began to read "High Performance JavaScript" and some useful websites, and decided to optimize the code with some JavaScript …

I'm implementing a NES emulator with JavaScript

I've been implementing a NES(Famicom in JP) emulator with JavaScript. Finally I achieved to display a pic after boot up. It stops after display the pic, but prolly you can actually play games on it soon.The code and the demonstration is he…

WebSocket adoption to the game.

Introduction As I wrote in the previous article, I began some experiments of the network use on the web browser game.First of all, I evaluated WebSocket performance which could be the easiest to use, to know what I can do with it.WebSocket…

Porting the 2D shooter game to WebGL.

Introduction In the previous article http://d.hatena.ne.jp/takahirox/20140518/1400388214 I found that WebGL can much improve the drawing performance.So I ported the 2D shooter game which I've been developing to WebGL, not only background b…

WebGL benchmark based on 2D traditional shooting game

Introduction I made a WebGL benchmark based on 2D traditional shooting game to know the WebGL potential.I'll introduce it and I got a good result much better than Canvas. Benchmark http://takahirox.github.io/toho-like-js/webgl_test.htmlPro…

Adopted WebGL to draw the 3D background of 2D shooter game.

Introduction Finally I adopted WebGL to draw the 3D background of the traditional 2D shooter game which I made.The combination of 2D main game layer and 3D background layer looks good, isn't it? Screenshot Play You can play my game on your…

WebGL experiment onto JavaScript STG

Introduction Lately, I've studied WebGL to get used to GPU. I think I understand the basic knowledge, so I began to try to adopt it into the STG which I've been developing.I've had the problem in the STGthat the canvas drawing leads the sl…

MySQL source code reading 2 - basic flow

Introduction This article follows http://d.hatena.ne.jp/takahirox/20140331/1396222792.I'll confirm the basic query processing flow in this article. Main directories The directories which I mainly need to see is these three directories. htt…

MySQL source code reading 1 - get ready

Introduction Began to read MySQL server source code. I'll write down what I read and what I understand to keep them in my mind. (Too complex for me to remember without any memorandum...)First of all, I wrote how I prepared to read the code…

Easy Rapid serial visual presentation implementation with JavaScript.

Introduction I implemented easy RSVP(Rapid Serial Visual Presentation) with JavaScript because I was inspired by Spritz(http://www.spritzinc.com/).RSVP is one of the common high speed reading technique. You can see the detail of RSVP and S…