Welcome!

I hope you find what you're looking for. If you have any questions or anything at all, please email me at: sooj_doesnt_know@hotmail.com

Sunday, 5 December 2010

ActionScript 3.0 Blog Week 9 No. 3



I know I have not posted a blog in the longest time and I have been feeling super guilty. haha. So far, I have been doing some research on how to get my game logic going. I have booked a tutorial tomorrow with Nikush to develop this furthur. (thank god)


As far as the game progress, I am going with the whole make my game work first thing. But it is proven to be quite messy that way o_O. But i'm also implementing Composite pattern. I have divided the view into few sections such as ... hudDisplay and stageDisplay, etc.


Oh I also got the menu to be dynamic with XML :) It's brilliant. The next thing for me to do in this regard is to get the highscore board like Jim did.


Well, I think after the tutorial on Monday I will have a lot more to write about. I would post a picture of the current game state, but it is not too impressive.


Until then, Ciao!



Tuesday, 23 November 2010

ActionScript 3.0 Blog Week 7 No. 2


Here is one for last week. I know it's late but better late than never. :)


So this week, I tried to make the menu as we did in class in Week 6. I implemented the whole shebang, and it worked! (somewhat) The only thing I couldn't get to work is the text. The menu items show up accordingly, but the text isn't there. I did a various traces to see if the setter for the label is being called at all, and it wasn't. But I think the problem is pretty clear. I'm going to fix this tonight and make a note of it in the next blog.


To be honest, I wish I had done more for the project as I feel like I am a bit behind. But I'm learning how to implement the design patterns and reading the book on it. It's been quite a ride. I'm not sure if I understand it fully but I'll keep reading. It's just that implementing both MVC AND the design pattern has got me really confused. I'm sure I will be fine once I keep reading and get a better understanding.


Well, that's really it for last week. I'm going to work on the menu now and post another blog later this week on what i've done this week.


Until then, Ciao.




Saturday, 13 November 2010

ActionScript 3.0 Blog Week 6 No 1



Hello everyone! I'm back with exciting news. (Not really)


I'm creating a flash game this time and you guys are going to hear all about. For those of you who are in my class and reading this right now, yeah I know. :P


Ok so my game is about a treasure hunter. or a detective. whichever fits better. the aim of the game is to reveal the hidden picture(clue) as required to pass the level.


So far, I have got the folder structure set up as we did in class.

Photobucket

Thats how it looks at the moment. The difficult thing for me at the moment is to successfully en-corporate MVC. I'm trying my best to split up my code that way and have no couplings.


So far, I have made the menu and click on new game and it shows me the stage. I can also move the hero but I cant do anything else. The next step would be is to have the enemies moving around the map and restricting them to move only inside the map.


Also, I have been looking into some design patterns. By next week, I will have a clear idea on how to proceed to the next level!


Well then, until next time :)

Sunday, 19 September 2010

PHP Blog Week 10



This week, I actually had a minor break through. Well, I actually studied and learned how to join tables. And I remember Kirk saying that Join is awesome, and it totally is. Also I have simplified my tables. I should really say I went through the normalization process :)


Below is my ERD. It should have been submitted to moodle earlier but when I went through the noramilization I had to change a few things around and remove a few tables to simplify! it turns out I went through the process more than needed.




So my query to search for a certain pizza with a certain topping looks like this:


SELECT item_name, toppings,

TYPE FROM items

NATURAL JOIN pizza_topping

WHERE MATCH(toppings) AGAINST ("mushroom");


I still havent figured out how to pull the size and price with the pizzas but I'm gonna post on here what I have been trying and it keeps getting an error. I should be able to figure it out by today. I shall be studying the books more deeply. It really did help. I am no longer so confused and lost!


SELECT item_name, toppings, price, size

FROM items

NATURAL JOIN pizza_topping,

pizza_size_price JOIN

price, size ON price_id = price.id, size.size_id

WHERE items.id = items_id;


I'm not sure whats wrong with that but the error i get back is: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ON price_id = price.id, size.size_id WHERE items.id = items_id LIMIT 0, 30' at line 5


If I fix this, I will post another one to show what I did differently. Also I did the CSS and now it looks very similar to how I wanted it on the proposal.


I cleaned up my index page and really simplified everything. I put the navigation and all the rest of the html tags along with all the includes in the header.php file. so my index page looks like:




In the header.php file, since the title of each page needs to change dynamically, this is what my title looks like. at the moment when i first visit the index page, it says $page is not set and I'm not really sure why because $page is set to home by default.. I will look into that soon.




this is just a little preview of what it looks like right now. :P I still need to fix the CSS a little to look a bit better.





Until then, Ciao!


Sunday, 5 September 2010

Blog No. 4



To be honest, I didnt do much this week. I had the flash banner due, and the HCI assignment due next week, I was pre-occupied. But I did some more work on the database design and here's what I have so far...

So i redesigned the databases after a tutorial with Kirk, and I think this is a lot better. below is what i have made so far. more tables to be made shortly!




This is just an example of what the toppings table looks like.. it contains all the pizza toppings! total of 45 of them. I was impressed to find out how many different choices of toppings you can have!



it's really really not much. but at least I'm doing something! See you next week guys.


Sunday, 29 August 2010

Blog No. 3




Earlier this week, we learned about relationships in class. (not the ones you think! sadly. if only schools taught us about them.) And on thursday we learned about MySQL, how to create tables, insert data and find them.. So that's what I implemented with my project..




so that's the relationship of my databases.. I need to read more about it and correct anything that's wrong because i'm not completely sure about it. But i'm sure after my tutorial on tuesday, i'll be all set.


So the next thing i did was make some tables on a database called, "Menu". I have only made the three tables so far..




and entered some data... I only entered the names so far.. will update that very soon.




Additionally, I implemented the google map!




Well that's all for this week. See you guys next week!


Friday, 20 August 2010

PHP class progress blog!




Hi guys, so from now on, i'll be using this blog to blog about my progress in PHP class website project.


Menu Data!


$pizza1 = array('name'=>'Base Special', 'toppings'=>array('tomato', 'mozzarella', 'ham', 'capsicum', 'salami'), 'price'=>'£12.99', 'thumb'=>'01.jpg');



$pizza2 = array('name'=>'The Lot', 'toppings'=>array('tomato', 'mozzarella', 'ham', 'capsicum', 'salami', 'mushroom', 'pineapple', 'onion', 'garlic'), 'price'=>'£13.99', 'thumb'=>'02.jpg');



$pizza3 = array('name'=>'Capriciosa', 'toppings'=>array('tomato', 'mozzarella', 'ham', 'mushroom', 'olives', 'anchovies'), 'price'=>'£11.99', 'thumb'=>'03.jpg');



$Originals = array($pizza1, $pizza2, $pizza3);




So that is how i'm going to represent data at the moment. When we get into MySQL, i'll have it differently.. But the main point was to have a pizza in an array and have an array inside an array for the toppings so when the user wishes to search for a certain topping, it'd be possible.


The data will obviously have a lot more than just 3 pizzas. Also seeing how our index page should look like, I have created a folder called Settings in the include folder and created a file called page_settings.php and included the shortcuts there.


define('IMAGES_FLDR', 'images/');
define('PAGES', 'pages/');
define('FUNCTIONS', 'includes/functions/');
define('PAGE_COMPONENTS', 'pages/components/');

Well that is all for now. I am looking forward to learning more and more.


19 August 2010


Wednesday, 4 August 2010

Absence



I realise I have been absent :P but I have been on holidays and I was very busy trying to look all important. haha.


So uni has begun again and today I have been working on one of my assignments that are due next week. I am so clueless as to what I want to do.


Here is what I need to finish by next thursday.
  • Logo Design Using Flash
  • Dynamic Website Proposal in Detail.

Now, what I don't have a clue in, is what kind of logo I should make... Keeping it in mind that I want to do the whole Flash class in the same theme, Underwater.


Anyway.. Enough about me.. Will update soon again! xx


Sunday, 4 July 2010

Mac Microsoft Messenger Issues.

Recently, my messenger just started acting really weird. I logged in, and everyone i had on my contact list were asking me to add them again, even though i had everyone on the list, and everyone was blocked. all my contacts were blocked. there was no way to unblock them.

just in case you guys are suffering from the same thing, here is the solution.

Go to User/(your username)/Library/Preferences/Microsoft


and delete a file called Microsoft Messenger User Cache.plist


it's safe to do so, don't worry :) what this will do is that msn won't remember your history.. so your emoticons, chat history.. poof. well thats what it did to mine anyway!


So far.

Trimester two has officially begun.


PHP and MySQL seems freaking hard.. flash on the other hand seems real fun. i've already got the design for my flash website and its going to be my portfolio :) i designed it so its fun and creative!!! hint: underwater.


as soon as i have finished them, i'll put them on a server and show you :) it'll be super.


until then, Ciao!

Thursday, 24 June 2010

Trimester one will be over as of this week but trimester two will begin as of monday :(


i'm just soooo overwhelmed right now. i gotta hand in 3 final assignments this friday. i've only done one. the other two.. nearly finished but not nearly enough! ahhhhh stressful :S

well wish me luck peeps.

Sunday, 20 June 2010

Deviant Art


I forgot to link my deviant art page :P

Click Here to go check it out :)


Website Completed!

My uni project is finally finished. It hasnt been uploaded to its original server but here it is.

Click Here to go check it out :) try all the accessibility options. well there are only two at the moment but im making one for high contrast.

Thursday, 17 June 2010

Myself!


here is just a little photo of me :)

courtesy of Richard Olsen



Stressing!



within the next week, i'll have to have the following finished :


  • a website consisting of more than 6 pages - fully functioning + accessibility features
  • a presentation on the website - 10 minutes + 5 minutes for Q&A
  • an image gallery run by javascript styled with CSS
  • a poster design for sustainability - A3 size + a proposal for the design
  • a presentation on the poster

i have been so stressed out because of all this. on top of those 5 things, i have an exam on wednesday... my head hurts!


Wednesday, 16 June 2010

a little cheat sheet!

Click here for the HTML cheat sheet :) that's the basic of basic!

In the World of Web

Hi, I'm a web design student studying in London, United Kingdom! From now on, I will be updating you on what I'm learning so you can learn too :) please don't hesitate to give me feed back as i'm not really familiar with blogging.

Hope all is well for you! see you soon. xx

Saying Images

Saying Images
Images with words.