JavaScript Game Development Library

August 21st, 2010

For a while I’ve been developing a game called Space Allegiance. It is turn based, the turn processor is coded in PHP, the game’s front end is coded in PHP and JavaScript. As you can see in the picture below, it is graphically rich – and that is no easy feat in HTML using JavaScript…

In fact, as the game has progressed, it has become more graphically awkward. To solve this, I have started writing a game development library that I can use for any games I design in JavaScript. As I update the library, all of my games will be updated too.

Here’s a link to the progress page: Game Development Library for JavaScript

The idea is that the library will incorporate sprite management, scrolling, keyboard and mouse input, audio and anything else that goes with a game. Needless to say, there’s a lot of work to do, but I already have a working game! My tree is quickly growing fruit.

How to make an Online Diary

July 18th, 2010

Having a friend to count on is as important to your health as good diet and exercise. Being able to talk to someone and receive unbiased advice to help you through obstacles in your life is vital for maintaining your emotional health.

Sometimes, we go through things that we can’t talk to any of our real-life friends about. Sometimes, it’s just too hard to explain. This is where an online diary community comes in handy, because you can connect to people you don’t know that are going through similar experiences to you. This way, you can build a support network.

How to make an Online Diary at BloopDiary:

  1. Go to Bloop at www.bloopdiary.com
  2. Look on the right hand side beneath the login form, click the link that says ‘start an online diary‘.
  3. Complete and submit the form.
  4. Click ‘new entry’ on the side menu.
  5. Write an entry introducing yourself to the community.
  6. Check back in 30 minutes and you’ll see that some members have welcomed you to the community.

And that’s the beginning of new friendships that’ll last a life time.

Results of my on-car A604 gear/solenoids test

June 21st, 2010

Yesterday, I wrote about how you can manually test your A604 transmission by engaging the solenoids directly – bypassing the transmission’s control module and possibly faulty wiring issues.

It is important to note that if your solenoid pack is bad, this test will fail. Here’s how my testing went:

Notes: I jacked up the van and put the front end on jack stands. I stuck bricks either side of the rear wheels and pushed on the emergency brake. I actually cut the solenoid connector end of the harness and wired my wires directly through that. I did resistance tests between wires 4-5, 4-6, 4-7 and 4-8 to make sure that I had connectivity with the solenoid pack.

I started the engine, and put the van into drive. It engaged nice and quickly, so I gave the engine a rev. My van shook like crazy. When looking beneath the van, I noticed I have a slightly bent drive shaft! But that’s a problem for another time, when I have the transmission repaired…

With the transmission now running, I started my test. First I engaged solenoids 7 and 8 – this should engage the clutch for the 1st gear. It didn’t. I had 1st gear before I started this test, so I was a little confused.

(I left it for a little at this point, and went and played with my old solenoid pack. I dismantled it and actually removed the four individual solenoids. I found that the solenoids made no noise (or basically did nothing) when I applied voltage to them directly. Interesting for sure.)

I went back to the vehicle and decided that I’d try to engage 4th gear. I engaged solenoids 5 and 6 as documented in the previous entry. The strangest thing happened, the vehicle started to slip and lost all speed. When I released the solenoids, it jumped back into 2nd gear.

Testing of these solenoids individually showed than solenoid 5 directly caused this and solenoid 6 actually did nothing. At this point, I’m starting to wonder whether THIS solenoid pack is actually any good. I bought it for $60 on eBay from a dealer that supposedly refurbishes and tests them.

I took the solenoid pack off the vehicle, and dismantled it. Solenoid 5 engages. Solenoid 6 and 7 make noise when you shake them up and down, but they don’t engage. Solenoid 8 is stuck and makes no noise when you shake it up and down.

I conclude from this that I have a bad ‘guaranteed working’ solenoid pack.

Friday will be the next day I can actually do anything. I’m going to go to the scrap yard and find myself another solenoid pack to test.

To note, when you don’t change your fluid it starts to gum up and this can cause solenoids to get plugged up. Therefore, this places even more importance on changing your fluid!

I have a hunch that the transmission is mechanically okay, given my lack of working solenoid packs. But only time and testing will tell. I am glad to say thought that my method of testing as shown in the previous entry officially works!

How to test A604 gears manually by engaging solenoids

June 20th, 2010

My 1996 Plymouth Voyager developed a problem many months ago where it wouldn’t engage 3rd gear (or 4th, from what I could tell). Instead the transmission would fly into neutral, and when the revs & speedometer came back down, the transmission would engage 2nd gear indefinitely – more commonly known as limp mode. Turning the engine off and on would bring it back to life, only to go through the same process and ultimately end up in limp mode again.

Since then I’ve been fiddling with the van to try to figure out what is wrong. Dodge vans are notorious for electrical problems. Frankly, I’m tired of wasting my time, I need to work out if the issue is mechanical or electrical, to do this I need to be able to engage the solenoids manually which in turn will allow me to change gears manually.

This will involve creating a custom wiring harness for the solenoid pack. This bypasses the TCM completely.

Disclaimer: This is by no means a permanent fix. I DO NOT recommend driving the van this way, as the clutch engagement will be very rough. With the van on jack stands, there will be barely any load on the clutches. This is ONLY for testing purposes.

Additional note: This test will FAIL if the solenoid pack does not work properly. If the test does fail, I recommend testing the solenoid pack outside of the vehicle. Check that you can hear or feel each solenoid engage.

What I intend to do is this:

  1. Wire a 12V feed to the solenoid pack on pin 4.
  2. Connect switches to pins 5, 6, 7 and 8.
  3. Connect the other end of all switches to ground.

With the van on jack stands, the engine running and the transmission in drive, I will test the solenoid as follows:

  1. To begin with, no switches will be engaged. The transmission will be in 2nd gear.
  2. Pressing switches 7 & 8 should engage 1st gear.
  3. Pressing switches 6 & 8 should engage 3rd gear.
  4. Pressing switches 5 & 6 should engage 4th gear.

If all gears engage successfully, I will assume the problem is electrical. Otherwise, my transmission is probably due a rebuild. (assuming of course that the solenoid pack is good)