FreshNova - Home

Monday 08th of February 2010

feed-image Feed Entries
Home
FreshNova
Linksys WRT54g Wireless Router as Switch PDF Print E-mail
Written by Talha Kalim   

Well here is something I wanted to share with you guys. About almost a year ago I bought my Linksys WRT54g and set it up all happy that I now have wireless at home. After a couple of days I noticed that if I was downloading torrents or something heavy on the download manager, the internet on other computers at home would stop working or my router would habg and require a reset. I kept trying to play with the settings and all but it was no good (BTW this is the version that you can't install dd-wrt and others on). So after sometime I decided why not try to use it as a switch, maybe it will work.

 
Read 3 Comments... >>

Last Updated on Tuesday, 08 December 2009 14:13
Read more...
 
C# Getting Started PDF Print E-mail
Written by Talha Kalim   

Well knowing that there are many tutorials out there that will be able to help you with basic C# coding, I am writing this tutorial as a precursor to the C# client server programming tutorial. This tutorials will be followed by the C# events, delgates, and threading tutorials which we will be using later on in our client server programming tutorials.

Lets start with a simple hello world program which containd some basic constructs you will find in a C# program.The program may not really make much sense but I hope it gets through with the concepts. I am obviously going to assume here that you have some prior knowledge of object orientated programming concepts.


Read 0 Comments... >>
Last Updated on Thursday, 26 February 2009 00:38
Read more...
 
Simple Energy/Health Bar In A Flash Game PDF Print E-mail
Written by Waleed Al-Bahrawy   

 

This is a simple bar like the ones we see in shooting games that shows how much life,health or energy left for you, I just made a very simple example to show how it is done.

As you can see I made two buttons Shoot Me and Help!!.  when you click on Shoot Me your energy will be decreased,

if you click on Help!! it will increase.

 
Read 6 Comments... >>

Last Updated on Saturday, 14 February 2009 14:28
Read more...
 
Market Your Flash Game Using Facebook Applications! PDF Print E-mail
Written by Waleed Al-Bahrawy   

 

logo

While I was looking in the internet for ways to make

Facebook applications for my game Sky MazezZ

I found this amazing website Clearspring that

does everything for you without any

programing effort!!

 

What this website does is making a widget out of

your flash game and then ebmeding it in a

Facebook application.

Lets take a look at how this is done.

 
Read 2 Comments... >>

Last Updated on Friday, 13 February 2009 13:39
Read more...
 
Subscript/SuperScript Label .NET PDF Print E-mail
Written by Talha Kalim   

 

superscript Have you ever needed to use a label with subscript or superscript text and searched all over the net and not found anything? I know I have and after searching for a long time and not finding anything, I decided to make my own label using C#. The custom superscript, subscript C# label turned put to work just fine for me and helped me overcome my problem, so I would like to share it with everybody. By the way this label is for the Windows Forms Applications only.

 

I call it the FNLabel, and it is just a simple label that extends the .NET label. The FNLabel should work with any .Net language. I simply overrid the OnPaint method and used graphics.DrawString and drew the string while offsetting the superscript and subscript text in the label. I used two characters for marking the start and end of superscript and subscript text. Just add it to your toolbox and start using it. You can download it from the attachments below (Read More..)


Read 16 Comments... >>
Last Updated on Wednesday, 11 November 2009 05:31
Read more...
 
Exploring the Dark Room Using the Masking Property in Action Script 3 PDF Print E-mail
Written by Waleed Al-Bahrawy   

 

 

 

Using the masking property in Action Script 3 an object can mask the content of another object.

The masking object will show only the content of the masked object that is in it's range.

Many game developers are using this property in their games and I used it in my game Sky MazezZ (starting from level 15), where the level will be dark and the player can only see a limited area of the maze and doesnt know what is coming.


Read 0 Comments... >>

Last Updated on Thursday, 12 February 2009 01:07
Read more...
 
How to Run Your Game From Your Server Only? PDF Print E-mail
Written by Waleed Al Bahrawy   

Suppose you made your own flash game and you want to put it on the internet like everybody else. Well thats pretty easy, only people may take your game and put it on there own sites, or maybe just download it and play offline.


Well not to worry there is a pretty easy way to prevent it.

Just read on for the code and well offcourse a little explaination...

 

 Just insert the following code into your game ActionScript in the correct place as described below:

 

1
2
3
4
5
6
7
8
9
if (this.root.loaderInfo.url.indexOf("YOURSITEHERE") != -1) {
//OK THATS WHAT I WANT
}
else {
//if the game is not played from my server
//redirect the player to my site!
var myURL:URLRequest = new URLRequest("YOURSITEHERE");
navigateToURL(myURL);
}

 

Description of the code:

We are using the this.root.loaderInfo.url property that returns the full path of the SWF file, starting with http:// , so we are checking if the path of the game has your web address in it or not. It will return -1 if it doesnt and will return a positive value if it does.

LINE 1: The value is not -1, that means the game is running from your server. You can leave the body empty or add an action such as starting the game!


LINE 4: This means someone downloaded the game and running it from his server or on his computer. In this case you will need to redirect the player to the original place of the game which is your website.

 

LINES 7&8: These lines are for redirecting the player to your website

You can do this check before the game starts, if it is running from your server then start the game, otherwise dont start the game and redirect the player to your website.

Also when you publish your game out there on the internet you will also need to learn about flash games decomplation


Read 0 Comments... >>
Last Updated on Tuesday, 10 February 2009 10:38
 
Where to Submit your Flash Game? PDF Print E-mail
Written by Waleed Al Bahrawy   

You just finished your game and tested it and everthing is OK and now you want to publish it. I advice you to first upload the game onto (www.kongregate.com/) and (www.newgrounds.com), because they are the most known flash game portals that accept game submissions from developers and have big amount of traffic.

After that you may search for flash game portals that accept submissions from developers.Here is a list of websites that accept game submissions, some of them will require registration.

Note: If the website asked for "Flash URL", upload the "SWF" file of the game on your website and enter the address of the "SWF" file in the field or make a site using google sites and upload the file there if you dont have a website.

http://www.gamegum.com/submit/
http://www.pnflashgames.com/module-pnfgSubmit.phtml
http://www.itsgamertime.com/submit.php
http://www.gamerfan.com/play/submit/form/index.php
http://www.gotoandplay.com/submit-flash-content/
http://www.free-flash-games.com/submit.html
http://www.gs4.net/index.php/submit/form/
http://howler.com/index.php?params=submit/form/
http://www.gameshandbook.com/submit.php
http://www.igarchive.com/user/addgame_nonemember.php
http://www.thegreatestarcade.com/submit.php
http://addictinggames7.com/submit.htm
http://www.onlinegamesrus.com/submit.php
http://www.bigfootgame.com/submit/
http://www.mypuzzlesgames.com/submit.php
http://www.dontgetpwned.com/index.php?page=submitgames&add=1
http://www.clickhereplaygames.com/submit.php
http://greatinternetgames.com/submit.php
http://www.smashingames.com/submit.php
http://www.gr8games.eu/upload.html

Below you will find even more links to websites and emails that accept submissions of your flash games on their game portals. Remember the more you submit the more the popular your game becomes.


Read 4 Comments... >>

Last Updated on Wednesday, 25 February 2009 20:56
Read more...
 
Hallpass API PDF Print E-mail
Written by Administrator   

 

hallpass

 

I will summaries what Hallpass say about their API:

-50$ for each API added to a game, ofcourse after the game is approved by Hallpass.
-They will pay you via PayPal after your game is uploaded to their site.
-The API will send the scores to Hallpass, and they will be tracked in the users profiles.
-The scores must be submitted at the end of each level or game.

Here are the steps to add the API:

1-Add the API Code to your game.
2-Upload it to Hallpass.
3-Wait a few minutes then check your profile area, your game should appear. Play and test your game out to see if it is sendingthe scores, be patient as scores update every few minutes... so play, wait, then check.
4- Contact Hallpass and tell them that your game has worked and you want to get paid and include your pay pal address.

for more info visit Hallpass API


Read 0 Comments... >>
Last Updated on Sunday, 08 February 2009 01:03
 
Protect Your Flash Game From Decompilers PDF Print E-mail
Written by Administrator   

Go to google and search for flash file decompilers, you will find numerours programs out there, that wil allow your flash file to be decompiled. Once decompiled the file can easily be edited and your source code can easily be seen. So it is important to protect flash files that you publish on the internet.

There are two numerous ways out there to protect flash files, we will discuss two ways to achieve this, a basic way provided by Adobe Flash and another provided by MochiAds.


Read 0 Comments... >>

Last Updated on Sunday, 08 February 2009 01:07
Read more...
 
AS3 Loading Screen ( Preloader ) PDF Print E-mail
Written by Administrator   

Why do we need loading screen?

Flash is built for streaming content, which means the movie will start if the minimum bare content has been loaded, such as elements used in the first frame.


This will not be good in games, because if a part of the game didnt load, then the game may not work properly!
So we need to dedicate a frame at the beginning of the game to load the whole game parts on and after the loading is done, we will allow the game to start.


Read 1 Comments... >>
Last Updated on Tuesday, 10 February 2009 12:07
Read more...
 
Saving Local Data PDF Print E-mail
Written by Administrator   

Ever wanted to save some information about a user like his level number, or last high score, or any other information. Well ActionScript provides a simple way to achieve this. Local data is used to save data into the user's machine such as score,level number,..etc. Below is the simplest example of saving local data on to a users computer.

 

Here is a simple counter that counts how many times did you visit this article on FreshNova!

 

 

Read on to see the source code. The source code is well documented so I believe it is not too hard to understand.



Read 0 Comments... >>

Last Updated on Tuesday, 10 February 2009 10:54
Read more...
 
« StartPrev12NextEnd »

Page 1 of 2

Archive

 

Categories



Copyright © 2009 FreshNova, by Talha Kalim and Waleed Al-Bahrawy