100 ROUNDS, a Flash game with Php/MySql hiscore table and explained source code
I want you all to play 100 ROUNDS, a game created for didactic pourpose.
The game is simple: just enter your name, press “Play” and start moving your mouse clockwise trying to make 100 rounds as fast as you can to enter the highscore table.
I took some ideas from a script found on actionscript.org… but I cannot find it.
For this game I provide the entire source code.
Learn More: Stock Control Software – Wasp Barcode ofers stock control software packages to provide small businesses the efficiency of large companies at prices that are affordable.
XML driven Flash slideshow
May, 13th 2007 update: improved gallery with linkable images here
I found this very interesting script on Sephiroth’s site at
http://www.sephiroth.it/file_detail.php?id=124.
It’s a XML driven flash slideshow where the pause between images transition and the transition type, with nine defined transitions.
Great script, but you can only define one pause value… it means that if you set the pause to 10 seconds, all images will stay 10 seconds before changing.
I wanted a slideshow where you can set the pause between EVERY transition, so I added some simple code to Alessandro’s file.
I am going to add some new transitions too, but in a latter time.
This is the movie
In the complete example you can download, you will find all necessary comments in the XML file.
Enjoy.
ps: seem the script has an issue with some transition effects if played at different fps.
Will be fixed soon.
Click image and get coordinates with Javascript
I had to display several photos where the user can click over an interesting point and have its coordinates passed through a form.
Of course, it was a bit more complicated, but this is the code i want to share with you.
Let's assume we have a photo like this:
If you continue to click on the photo, you will see pointer changing its position, same thing with x and y coordinates
How can it be done?
You can try this script, obviously changing path and styles according to your needs
-
function point_it(event){
-
pos_x = event.offsetX?(event.offsetX):event.pageX-document.getElementById("pointer_div").offsetLeft;
-
pos_y = event.offsetY?(event.offsetY):event.pageY-document.getElementById("pointer_div").offsetTop;
-
document.getElementById("cross").style.left = (pos_x-1) ;
-
document.getElementById("cross").style.top = (pos_y-15) ;
-
document.getElementById("cross").style.visibility = "visible" ;
-
document.pointform.form_x.value = pos_x;
-
document.pointform.form_y.value = pos_y;
-
}
-
<img src="point.gif" id="cross" style="position:relative;visibility:hidden;z-index:2;"></div>
Tested both on Firefox and Explorer, it seems to work well.
Enjoy and give me feedback.
Extreme sepia effect Photoshop action
I have to warn you, this effect is not for everybody.
The sepia is so extreme that you may prefer not to use it.
Before

After

If you want to use it, just download the action.
Feedback and examples are welcome.
Posts
- Rick Triqui: my first PlayCrafter game
- Prototype of a Flash game like Meeblings
- Games for the game developers!
- The art of debugging
- How to embed a text file in Flash
- Create a Flash game in minutes with PlayCrafter
- Upgrade your Flash CS4 to 10.0.2
- Play Mazeroll, my latest Box2D game
- Triqui MochiAds Arcade plugin for WordPress Released!!
- The MochiAds funnel
- Flash game creation tutorial - part 1
- Create a Lightbox effect only with CSS - no javascript needed
- Flash game creation tutorial - part 2
- Make a Flash game like Flash Element Tower Defense - Part 2
- Flash game creation tutorial - part 3
- Create a flash draw game like Line Rider or others - part 1
- Create a Flash Racing Game Tutorial
- Make a Flash game like Flash Element Tower Defense - Part 1
- Create a flash artillery game - step 1
- Create a flash draw game like Line Rider or others - part 5
- Flash game creation tutorial – part 5.2




(4.9 out of 5) - Flash game creation tutorial – part 3




(4.86 out of 5) - Creation of a platform game with Flash – step 2




(4.84 out of 5) - Create a survival horror game in Flash tutorial – part 1




(4.82 out of 5) - Create a flash artillery game – step 1




(4.82 out of 5) - Create a Flash Racing Game Tutorial




(4.8 out of 5) - Create a flash artillery game – step 2




(4.75 out of 5) - New tile based platform engine – part 6 – ladders




(4.74 out of 5) - Flash game creation tutorial – part 2




(4.73 out of 5) - The experiment – one year later




(4.7 out of 5)


