Post no.15
Oh no, I tested Natzy on my laptop and the textbox isn't working properly. It doesn't give the green word feedback and it isn't uploading the fonts! I converted my otf fonts to svg, ttf, eot and woff but it's not working at all!
Everything is fine when the game is loaded on my desktop. Is there something on my laptop blocking the javascript? Hmm.
In case of an emergency, I'd just use a default font instead. Kalinga.
//Edit:
Alright, I just noticed if I opened the index NOT with xammp, the text box works perfectly perfect. There must be something wrong with the localhost then. yeay!
The fonts still cannot be loaded and I'm getting really really frustrated.
Sunday, February 9, 2014
Saturday, February 8, 2014
PROGRESS ON NATZY
Post no. 14
ONE CANNOT BE TOO HAPPY WHEN THE CODE WORKS.
I got the linking and the buttons to work thanks to this lovely fiddle right here.
http://jsfiddle.net/justbyanne/p5CmF/
and a comment from stackoverflow, the one with the 25 upvotes, over here.
http://stackoverflow.com/questions/796087/make-a-div-into-a-link
Right now with my game completed, it's time to do referencing and what not to get myself ready for the presentation!
ONE CANNOT BE TOO HAPPY WHEN THE CODE WORKS.
I got the linking and the buttons to work thanks to this lovely fiddle right here.
http://jsfiddle.net/justbyanne/p5CmF/
and a comment from stackoverflow, the one with the 25 upvotes, over here.
http://stackoverflow.com/questions/796087/make-a-div-into-a-link
Right now with my game completed, it's time to do referencing and what not to get myself ready for the presentation!
Friday, February 7, 2014
PROGRESS ON NATZY
Post no. 13
Menu sprite
Restart Sprite
I'm having a little trouble with the linking when the keydown is pressed, maybe its because it works the same way as the bullets where I have to convert the keydown to a click. Still thinking which orientation is better.
Earlier on.
Earlier on I wanted to use the keycodes 1 and 2 but couldn't because those numbers are focused to the textbox.
First orientation.
Second orientation.
Thursday, February 6, 2014
PROGRESS ON NATZY
Post no. 12
Right now I have to create the Menu, Restart and Back buttons for the player each triggered by 1, 2 and 3 keycodes.
I'd also need to design the textbox as well.
In the mean time, I fixed the flying target png so that it's height was in % rather than px to make it more responsive.
Right now I have to create the Menu, Restart and Back buttons for the player each triggered by 1, 2 and 3 keycodes.
I'd also need to design the textbox as well.
In the mean time, I fixed the flying target png so that it's height was in % rather than px to make it more responsive.
PROGRESS ON NATZY
Post no.11
I have combined the duplicate.js from testing into my game. Firstly I had some trouble with the height and width of the container because they worked in reverse. If I were to put the container at 600px width and 200px height, the blood bullets triggered by the space bar would fly 600px height and 200px width. Which was pretty confusing, so I tried and tested a couple of values and finally thought of using % instead of pixels.
Once I put the divs within the master wrapper, I put 90% width so the bullets would only spawn till 90% of the width of the master wrapper.
Before this, everytime I hit the spacebar, it would spawn 3 more clickable elements. Therefore, the more I hit the spacebar it would just multiply by 3 for each clickable element. After a few presses, the whole area would lagged and be totally filled with those elements. What I did to fix this is that I put 'hidden' once it spawned and therefore hiding the clickable elements and only spawning one at a time. (Kinda hard to explain, but yeah somehow it worked).
Trial and error! Works best.
I have combined the duplicate.js from testing into my game. Firstly I had some trouble with the height and width of the container because they worked in reverse. If I were to put the container at 600px width and 200px height, the blood bullets triggered by the space bar would fly 600px height and 200px width. Which was pretty confusing, so I tried and tested a couple of values and finally thought of using % instead of pixels.
Once I put the divs within the master wrapper, I put 90% width so the bullets would only spawn till 90% of the width of the master wrapper.
Before this, everytime I hit the spacebar, it would spawn 3 more clickable elements. Therefore, the more I hit the spacebar it would just multiply by 3 for each clickable element. After a few presses, the whole area would lagged and be totally filled with those elements. What I did to fix this is that I put 'hidden' once it spawned and therefore hiding the clickable elements and only spawning one at a time. (Kinda hard to explain, but yeah somehow it worked).
Trial and error! Works best.
Saturday, February 1, 2014
PROGRESS ON ESSAY - Uncanny Valley
What I got from the tutorial session was:
- To focus on the appearance of holograms and plot a few famous ones on the uncanny valley graph.
- What makes a hologram real/creepy? Dead artists brought back to life like Elvis could be somewhat creepy or technologically cool and praised by viewers today.
- Properly analyze and think about the theory on a hologram point of view as many research on the this theory are based on robotics.
PROGRESS ON NATZY
Post no. 10
Editt//
Okay, via trial and error I have finally troubleshooted the explosive elements + some googling.
So my progress so far on natzy is that I have created two levels, hard and easy and illustrated their backgrounds.
Right now, I still had to put in the back or restart buttons in case they would like to play it again.
Still figuring out the keydowns for the explosive matter.
Editt//
Okay, via trial and error I have finally troubleshooted the explosive elements + some googling.
I could now press spacebar to clone the elements and animate them. (the blurred red circles) Now that I have tested them out and that it works, I can now put the in my game.
HOWEVER, I could not position where the balls will be spawned and they are just spawning vertically rather than horizontally. I have tried adjusting the container size but to no avail.
I still need to put the restart button to keydowns as well.
Subscribe to:
Posts (Atom)




