Warning!

Warning. The following publications may induce intense reasoning.

Friday, July 24, 2015

Ordered Code Versus Efficient Code


Listen to this blogcast in MP3 Audio.

The less I say in a single short phrase, the more meaning I pass with less effort. This is also true about coding computer software & websites. Commands can be passed in a simple, very readable fashion, similar to how we would talk to another person.

Or, commands can be passed in sophisticated, complex, and convoluted ways, which logically give the same results. But these complex methods, while more efficient for a computer, are much harder for a human to follow and figure out.

Making voxels with colors, lights, and different selection modes.

I have spent the last few months working on a new project in Node.js, using a front-end library for WebGL, called THREE.js. I am creating a 3D virtual world that uses voxels - 3d particles, usually cubes, for all its objects.

Two choices were in front of me: One, put a keyboard key-press event where it happens, which would be efficient. Two, put the event in a fast loop, where all events are checked at a rate of sixty frames per second, which is not efficient, but very readable and orderly.

When checking the event in the fast loop, I use an IF statement that must be passed, in order to execute anything else. Not surprisingly, for a computer this is insignificant effort, so the performance is not impacted, at all.

If performance would be impacted, then I would choose efficiency over readability. But as long as it is not, then readability is always my priority. If you cannot quickly read through it, then it is too complicated to be practical!

Tuesday, March 4, 2014

A Virtual Game World Framework In NodeJS

I have been spending many of my creative hours, in these past months, working on a big project of mine. I call it Node World.  ***THUNDER CLASH***

The Open Source Code on GitHub

My Announcement of Node World on GameDev

A Live Demo For Developers

In summary, it is a framework for MMO's. It is intended to help developers and MMO fans - programmers, writers, and artists, express their ideas in a virtual world, without having to do everything from scratch.

I've found much inspiration in modern manga, such as Sword Art Online.
In elaboration, however, Node World has been my dream for several years. Ever since I realized how modern games are limited. How repetitive and inflexible they remain. I wanted to have a game world, where many players can join together, and not only explore and do combat, but also make a difference, in the game world itself!

I am looking for developers to join me! NodeJS is a relatively easy programming language, and I am doing my best, for the sake of modifications, to keep the code simple and readable. Contact me, if you want to inquire about it!

And our manga seers are only improving!
The goals of Node World are well defined:

1) The server seamlessly integrates any client into itself: Text, 2D, and 3D.

2) The project is modular, both in code and in functionality, so that programmers can easily modify and add to the project, and players can modify and add to the virtual world, without editing the code, at all.

If you have any ideas you want to share, then comment below, and say what this project brings to your mind. :-)

Tuesday, December 25, 2012

TortoiseSVN - Software Version Control

Lovely interface & functionality.
In relation to the flash game project I'm working on (as mentioned in a previous post), I feel that TortoiseSVN deserves some credit.

TortoiseSVN is an interface that connects and sits in the OS's shell (Windows/Linux/Mac), and allows the user to manage the source code and files of a software project. It features useful functions, such as sharing the same files online with other team members. Also, it offers a revisioning system, that makes sure all files have rollbacks. In other words, every change and update is managed and stored automatically for you.

It runs quickly and neatly. Some websites offer hosting services that work with the SVN infrastructure for free or for a cheap price, thus completing the requirements of a manageable project environment for a team.

Friday, December 14, 2012

Gaming A Make

CLICK TO VIEW IN FULL SIZE
Fighting monsters in abandoned halls. 
The Dungeon Blitz Website
Getting inspiration from the small project of Dungeon Blitz, both I and a good friend decided to make an old dream come true - and make an Online Multiplayer Roleplay Action Game (OMRAG? lol).

Making a simple Flash scroller with cartoon graphics and animations seems like the most reasonable choice for a team of two. We are both without funding, but we try to make up for that with (part time jobs) enthusiasm and dedication! He is more the artist type, and I am definitely a programmer and technical person. While we are both doing Flash tutorials, I am attempting to put into action a simple server and client.


There seems to be a variety of options to choose from for such a project these days; something that makes this easier and quicker. Flash Professional has become a powerful tool, and I only need to tweak a sample server, and insert the client code into my own project. I intend to have a basic version to show this upcoming week, and you can definitely expect to see it here. ;-)

All Time Popular Posts