I have decided to take a break from all of the work I've been doing with JS libraries. I did start making TheMadLibrary 2.0, yes, but now I'm going to put it off for a little while.
I just finished a new experiment.
It's a JS-powered slideshow creator. I'll have it up on my website soon.
Showing posts with label JavaScript. Show all posts
Showing posts with label JavaScript. Show all posts
Monday, March 26, 2012
Thursday, October 20, 2011
JS Reference -- Built by Many Developers!
Guess what I'm working on! A JS reference on my website--but here's the thing! I'm not making it alone. I'm putting it up so that you and many other developers on my website can help by submitting their content to me!
What I will be asking for is:
What I will be asking for is:
- Clear information on how to work with the method, object, or anything else in JS.
- Examples on the page (use JS coding for this.)
- That you have a TheMadMail account.
This page is still in the works, but is looking better and better.
Friday, September 23, 2011
Ideas!
Hi guys! Things are going well right now and I'm thinking up cool ideas for my website and anything that has to do with my website. I'm trying to give my website a new look and a purpose and my website right now is sort of "closed."
But that should change soon. I am going to give my site some usefulness, not just have it up for entertainment. And I'm thinking of even updating TheMadScript, because it could use some new methods to make it more useful.
You will be able to post some content to my site through my recent email program, TheMadMail. Stuff like your own how-to with JavaScript, and if I can get more visitors to my website, developer contests. And maybe even more.
I'll be back soon!
But that should change soon. I am going to give my site some usefulness, not just have it up for entertainment. And I'm thinking of even updating TheMadScript, because it could use some new methods to make it more useful.
You will be able to post some content to my site through my recent email program, TheMadMail. Stuff like your own how-to with JavaScript, and if I can get more visitors to my website, developer contests. And maybe even more.
I'll be back soon!
Thursday, September 8, 2011
Closing of TheMadComputer.com for a while
Hi guys, I have finally thought of a good use of my website, www.themadcomputer.com, so it will be redesigned and changed. Please note that my website will be "closing" temporarily.
What I mean by "closing" is that when you visit the website, the only page you get is a page telling you that the website is being used. I once did this before because I was remodeling the website and I didn't want anybody to come on during the process of that.
Some of the new features may possibly be:
What I mean by "closing" is that when you visit the website, the only page you get is a page telling you that the website is being used. I once did this before because I was remodeling the website and I didn't want anybody to come on during the process of that.
Some of the new features may possibly be:
- Developer contests
- Submit a JavaScript lesson to be published on my website (I would validate it first)
- And more
So we'll see what these features are. TheMadMail will also be in the new TheMadComputer.com.
Just wanted to let you know. TheMadComputer.com is closing, but the blog will still be open.
Tuesday, August 23, 2011
Hacking Game
Okay, so I have a name and full idea of my upcoming game, so it's pretty much official that some time the game will be released. Again, it's not going to be called "Fights and Blood". And it's not going to be about living on land as a modern pirate, creating a place to live, and robbing for your stuff. It's going to be way better. It's going to be for nerds.
I have many ideas for the game, some written on paper. Well, I hope this game has a good turnout. I've already started the game. JavaScript powered and HTML5 DOM storage for saving data.
I have many ideas for the game, some written on paper. Well, I hope this game has a good turnout. I've already started the game. JavaScript powered and HTML5 DOM storage for saving data.
Tuesday, August 16, 2011
Game about hacking?
So I have officially started my new game. It's about hacking (no, not real hacking). It's going to be the game with a goal that saves your progress.
A basic description of the game is: you create and own an operating system that you want to sell on the market. But you have one thing that you must do, and that is to conquer some other operating systems and reach the highest "level" of the game. Then your operating system is ready to sell on the market. I'm still thinking about some new features, but I wrote down some useful ideas on a notebook and paper.
Please note that the game is designed for Google Chrome. So far I have not tested it in other browsers yet but I will soon. If it works in other browsers, perfect then. It uses HTML5 DOM storage for saving data. It is also powered by JavaScript, as always.
So I'm sitting down at the computer coding my game right now. Thought I should stop by and tell you what I'm up to before going back to work.
A basic description of the game is: you create and own an operating system that you want to sell on the market. But you have one thing that you must do, and that is to conquer some other operating systems and reach the highest "level" of the game. Then your operating system is ready to sell on the market. I'm still thinking about some new features, but I wrote down some useful ideas on a notebook and paper.
Please note that the game is designed for Google Chrome. So far I have not tested it in other browsers yet but I will soon. If it works in other browsers, perfect then. It uses HTML5 DOM storage for saving data. It is also powered by JavaScript, as always.
So I'm sitting down at the computer coding my game right now. Thought I should stop by and tell you what I'm up to before going back to work.
Thursday, August 11, 2011
Writing again...
Well, I am still thinking about my upcoming game sometimes, but I'm writing a lot too. Thought I'd stop by and say hello.
As you might have noticed, I like writing a book when I have a good idea like I love to make a good and addictive JS-powered game. I will keep you up to date on my game progress as soon as I start to work on it a lot.
As you might have noticed, I like writing a book when I have a good idea like I love to make a good and addictive JS-powered game. I will keep you up to date on my game progress as soon as I start to work on it a lot.
Friday, August 5, 2011
Nerdy!
Hey! Great news here! I have an awesome, nerdy idea for my upcoming JS game! I can only let you know a little bit of it, but here are some ideas that I'll share:
- Game will be absolutely nerdy
- You will own an OS with your own custom name
- You will fight other computers (CG players)
So. I hope those features above are enough to tell you some basic ideas. But there will be more. It should be a simple but addictive game. I'm sitting with a notebook and pen right now at my computer, planning my game.
Wednesday, July 13, 2011
Fights and Blood
- Create a place to live and gather a pirate army of fighters and spies.
- Fight and sell to get goods and money.
- The larger the army and the more coins means the stronger you are.
- All in HTML(5), JavaScript, and CSS.
- HTML5 LocalStorage used for storing data.
Please note that this game will be put up online but data stored will not be stored worldwide. Any information that you enter into the game will only be available on that specific computer and browser you used.
Saturday, May 28, 2011
Tip of the Day
You can get the entire body of a page by using "document.body" in JS. W3Schools will tell you how.
A useful tip.
A useful tip.
Friday, May 27, 2011
Tip of the Day
Don't get confused at where to put your "script" element.
You can put it in the "head" or "body" section of the page, it doesn't really matter. But there are some things you'll want to remember:
You can put it in the "head" or "body" section of the page, it doesn't really matter. But there are some things you'll want to remember:
- Put scripts with functions at the "head" section of the page or at the footer of your page. Then the script won't interfere with your content.
- Remember that when the "write()" method is placed inside of a function, it overwrites the entire content of the page.
Just a tip. If you're new to JS, it's probably useful.
Monday, May 23, 2011
Tip of the Day
When creating JavaScript libraries, it is good to think up creative names and also post a tutorial on how to do it. Creative names as in method names. There are certain "illegal" characters (like @, #, etc.). You won't want to use those as method names.
Also, keep up with the library. What I mean is, keep working on it. When deprecating or removing certain methods/variables, notify the person (if your library is online).
A useful tip.
Friday, May 20, 2011
TheMadScript: Coming Soon
Okay, I just literally sat down and created a small scripting language. It isn't supported in any browser, but it's like JQuery: it's a JavaScript file containing all of the methods. As you may know, I don't know any JQuery, except for the fact that it's a library. Okay, here's the explanation.
I was thinking earlier today that it would be nice to try to "create a scripting language". I knew that I had to do it all JavaScript, which was okay. When I tried it, I was amazed.
TheMadScript reduces some coding needs and is really simple. TheMadScript is mostly a simpler way of writing a few JavaScript functions. In version 1.0.0, there are 16 functions, all which can create popup boxes and control the result, do a few math functions, and do a few other cool things.
Pretty soon, I will put up a tutorial on TheMadScript at my website, teaching you all about TheMadScript. There also will be no need to download
You just wait and see. You'll be thankful that TheMadScript was released. I'm kind of thankful too, as it'll reduce a few coding needs for me.
Monday, May 16, 2011
Tip of the Day
Still learning JavaScript? Are you getting tired of using many variables?
Second place for this is arrays. When I first learned arrays, I didn't understand their purpose. Not until I actually read the purpose. They are amazing, as they can hold many values. I suggest you do the same.
There are many ways to work with an array. The one purpose of it is to reduce the need for many variables, and instead create one variable with multiple values. Learn here (at W3Schools).
But I saved first place for last. It is even better. You can assign your own names to an object, as you may have learned. Think of a JS object as something like a tree. Let's assign three properties to it in the simplest way:
var tree={barkcolor:"gray",feet:"100",type:"oak"};
See that? This may save your coding day. You can get any of these properties in different ways. As though your retrieving the value of a regular variable. You can do something like this:
alert("The tree's bark is colored "+tree.barkcolor+".");
alert("The tree's bark is colored "+tree.barkcolor+".");
The coding above will display an alert box, and it will say this: The tree's bark is colored gray.
Just a tip. And can be highly useful.
Just a tip. And can be highly useful.
Tuesday, May 10, 2011
Tip of the Day
Do not use VBScript.
You may already know that it is only supported in Internet Explorer, but if you haven't heard of it yet, avoid using it because, like I said, it is only supported in Internet Explorer. I never studied VBScript because of that reason.
Instead, use a different language like JavaScript (what I use). It works in the browsers used today. Very, very old browsers don't support it, which you won't really have to worry about. But just don't use VBScript. I have never understood the purpose of it.
Just a tip. A good one.
You may already know that it is only supported in Internet Explorer, but if you haven't heard of it yet, avoid using it because, like I said, it is only supported in Internet Explorer. I never studied VBScript because of that reason.
Instead, use a different language like JavaScript (what I use). It works in the browsers used today. Very, very old browsers don't support it, which you won't really have to worry about. But just don't use VBScript. I have never understood the purpose of it.
Just a tip. A good one.
Monday, May 9, 2011
Save the Cave
The game is Save the Cave. I'm working on it currently, and started it May 8th, 2011. We'll see what date it'll be when I finish it! So, what's the game about? I'll write a quick description below:
Food is low in the cave, which is a crisis. But when some bats bring back some eggs near the cave, that starts some excitement.
One bat has volunteered to go out and gather eggs. You control that bat and he tries to gather eggs and bring them back to the cave without getting killed.
There will be a good amount of levels for you to play. When it's released, you won't want to miss out on the fun! Save the Cave will feature a few challenges with a few levels in them, and you'll have to steal eggs from killdeer nests, frogs, and other animals that aren't mammals. You'll want to stay out of sight or the game is over.
I haven't done very much, but I am excited. The game will be powered by JavaScript, and all of the objects will be divs. No flash, no animated gifs. There will be HTML5 audio.
Sunday, May 8, 2011
Tip of the Day
Avoid behaviors.
They are only supported in IE5+. Behaviors introduced dynamic content in CSS. You can do the same thing with CSS3 or JavaScript.
Most developers should already know this, but I have posted it just incase you don't.
Just a tip. Hopefully useful.
They are only supported in IE5+. Behaviors introduced dynamic content in CSS. You can do the same thing with CSS3 or JavaScript.
Most developers should already know this, but I have posted it just incase you don't.
Just a tip. Hopefully useful.
Friday, May 6, 2011
Tip of the Day
For the future, remember something.
When HTML5 is completely finished and most people are using HTML5-supporting versions of browsers, you'll want to completely study HTML5 validation, because it'll be easier than JavaScript.
Go ahead and try it in something like Opera 11. W3Schools has a tutorial on it here.
Just a tip. To give you a heads up on some easiness in coding. Hopefully useful.
When HTML5 is completely finished and most people are using HTML5-supporting versions of browsers, you'll want to completely study HTML5 validation, because it'll be easier than JavaScript.
Go ahead and try it in something like Opera 11. W3Schools has a tutorial on it here.
Just a tip. To give you a heads up on some easiness in coding. Hopefully useful.
Saturday, April 30, 2011
Tip of the Day
When making a key-controlled game, you need to use different JavaScript coding.
What I mean is, use both "event.keyCode" and "event.which". Because Firefox and Opera use "event.which". I knew all along that there was a way to make key controls be supported in all browsers, but I never actually went to w3schools to check it out.
Killbot, my game, doesn't work in Firefox or Opera because I used "event.keyCode". No "event.which". So that's why Firefox doesn't support it.
Just a tip. Probably useful.
What I mean is, use both "event.keyCode" and "event.which". Because Firefox and Opera use "event.which". I knew all along that there was a way to make key controls be supported in all browsers, but I never actually went to w3schools to check it out.
Killbot, my game, doesn't work in Firefox or Opera because I used "event.keyCode". No "event.which". So that's why Firefox doesn't support it.
Just a tip. Probably useful.
Sunday, April 24, 2011
Tip of the Day
Happy Easter everyone! Hope you all have a great day.
Do you have lots of coding for whatever you're doing? Can't find what you're looking for in the coding? Simply press Command+F on your keyboard (on a Windows, it's Ctrl+F), and a popup box should appear, allowing you to find something in that document. So say, if you created a JavaScript function named openWindow(), and it was in a ton of lots of other coding, the best thing to do is go find it the way I suggested, instead of having to worry about scrolling through your coding.
A simple tip for today. Hope it helps. Maybe you already know that that's possible. :)
Subscribe to:
Posts (Atom)

