My blog has moved!

You will be automatically redirected to the new address. If that does not occur, visit
http://ashokbasnet.com.np
and update your bookmarks.

Friday, December 31, 2010

SDL : Introduction

SDL = Simple DirectMedia Layer is a free cross-platform multi-media development API. Its used for

  • games
  • game SDKs
  • emulators
  • demos
  • multimedia applications

What can it do?

Video

  • Set a video mode at any depth (8-bpp or greater) with optional conversion, if the video mode is not supported by the hardware.
  • Write directly to a linear graphics framebuffer.
  • Create surfaces with colorkey or alpha blending attributes.
  • Surface blits are automatically converted to the target format using optimized blitters and are hardware accelerated, when possible. MMX optimized blits are available for the x86.
  • Hardware accelerated blit and fill operations are used if supported by the hardware.

Sunday, December 26, 2010

JQuery Based Game:- Quick Multiplication

This is a simple multiplication based game created usingthumbnail the JQuery Library. It uses the basic concept of html, css and JavaScript to create the layouts and logic needed for the game. The game uses the JQuery library for the easier accomplishment of the task and Karma Framework for the image and sounds loading. This is the game developed for the Class 6 for the deployment in rural villages by OLE NEPAL. 

Objectives:-

To multiply the numbers with 0 at last quickly.

Description:-

Try to load your truck with all boxes giving correct answers to the all questions and win the race.

Friday, December 17, 2010

Quick Start a PHP Project

 
31-01_learning_php_ld_img

Introduction

In the beginning, there was nothing. Well, there were static web pages that had to be edited manually. That was a pain. And it didn’t do anything other than display text and images on a web page.
With the introduction of PHP/FI (Personal Homepage Tools) in 1995, everything changed. It became possible to create dynamic web applications that generated content on-the-fly and allowed users to interact with the once static web pages.
When Rasmus Lerdorf, the creator of PHP/FI, decided to release the source code of his project, the development went even faster.
Andi Gutmans and Zeev Suraski joined the project in 1997 and started working on PHP 3.0 as the official successor of PHP/FI. The development of PHP/FI was mostly halted. PHP 3.0 (which is a recursive acronym for PHP: Hypertext Preprocessor) was officially released in June 1998.
Shortly after the release, Andi and Zeev were already working on a rewrite of PHP’s core. It was finished in mid-1999 and the new engine, dubbed Zend Engine (comprised of parts of their first names, Zeev and Andi), was a huge success.
PHP 4.0, based on the new Zend engine, was officially released in May 2000.
After four long years, PHP 5.0 was released introducing a new object model and dozens of other new features. In 2010, PHP 5.3.1 is the latest stable release.

Thursday, December 16, 2010

PC Based Home Automation using VB

The project was done at Thapathali Campus for the V.S. Niketan Exhibition.

The project is based on the concept of controlling the different devices at home using the PC. The parallel port of computer was used as an interface for hardware connection using Computer.

Basic Interface of Software:-

PCInterfaceFig:- Basic Interface of Home automation using VB

Downloads:-

1. PC Based Home Automation software