The game is made in html / css / javascript / php / Ajax, so you need only a simple browser, without any flash / java and so on. The graphics and all the other made by me (I really have a lot of time :) ). If you will like it, digg it.
Link to game: Coloxy gameTuesday, September 30, 2008
Coloxy game
This is web browser game similar to cubic rubic. At the job there was nothing to do, so I've decided to make a simple game. I did not find such a game, so I named it Coloxy (color, x-axis, y-axis). Well this is a logical game Cube-like game (or "The Magic of cubic RUBIC). In 5 boxes you have to make one kind of color. You need to use arrows around middle box, to move the lines.
Labels:
ajax,
browser game,
css,
cube,
cubic rubic,
game,
html,
javascript,
jquery
Thursday, September 18, 2008
[javascript] Change text with custom font
There is no ability in html to change font to custom font. I am talking about font-family (e.g.: font-family: Arial). You can't change to other fonts that is not generic. So if you want to change font-family to for example Monotype Corsiva you can use my javascript code snippet.
Now you think what it is doing? It changes characters to images.
How to use:
First of all you need to make characters images with your desired font. Then add that script in the <head> </head> . In the arrays "a" and "b" change the values to your desired. First array is for "what to change", the second is "change to". And at the end use function customFont("className");. Use <span class="className">Here goes text</span> to change text inside span tag.
To understand it better i will give you a source code. Click here.
Labels:
change,
custom font,
font-family,
javascript
Hello world!
Hello world!
Today I have created this blog. I really don't know what I am gonna write in here, but I think it will be about web development, some code snippets, scripts and stuff like that. Some days when I need some little trick or code snippets (it may be very simple) then after making them I am going to post in here, because a lot of people searching for a simple code, but they can't find it. Primary programming language will be PHP.
Short about me
I am 20 years old man, living in Lithuania country (English language is not primary language, so there could be some mistakes in the text) . I am working as a Web developer. Cooking websites with css, html, javascript, php, mysql...
If you will find something usefull, don't hessitate and leave me a comment :)
Subscribe to:
Posts (Atom)