Hi! Welcome...

Shiny Blog Nicolas Crovatti is an experienced web worker from France. He is playing with CSS, XHTML and Javascript among other languages like PHP, Python, Ruby and various (R)DBMS.

20 January 2010 ~ 19 Comments

CSS Minification on the Fly

CSS Minification on the Fly

Introduction So, I  recently took the habit to fire Google’s Page Speed to learn about my websites performances and looking for ways to optimize them for my particular hosting solution and for the benefits of my readership (you). One of the recommendation was to minify CSS. We (web workers) have all encountered JavaScript minification. This [...]

16 January 2010 ~ 1 Comment

PSD template to WordPress Theme from Scratch

PSD template to WordPress Theme from Scratch

Clean & Detailed PSD template to WordPress Theme from Scratch In this tutorial I’ll guide you in the process to transform a PhotoshopTM PSD template to a complete XHTML and CSS site build. In the process you will learn how to slice the PSD, how to reproduce some photoshop layer styles using CSS3 and how [...]

18 August 2009 ~ Comments Off

Introducing twitterBatcher.com

I’ve been working on a side project late weeks, let me introduce twitterBatcher.com! I made this app to satisfy a personal need concerning Twitter. I found it was convenient to upload a bunch of text containing twitter IDs (@accounts) rather than add them manually. It’s pretty handy on #FollowFriday to follow recommended friends of friends. [...]

14 August 2009 ~ Comments Off

PyGame Tutorials Update

So,  I created a dedicated repository on github to host the source code of my PyGame Tutorials Serie You can clone all the tutorials using the following command : [sourcecode language='python'] git clone git://github.com/ncrovatti/Pygame-Tutorials.git [/sourcecode] You can also browse the complete sources and ressources from the github repository if you prefer. Eventually you will be [...]

11 August 2009 ~ 23 Comments

PyGame – Event Handling

PyGame – Event Handling

Introduction To continue further into my PyGame exploration articles and tutorials,  I’ll try to come up with a complete Shmup game as example. I already covered Animated sprites and Parallax Scrolling in 2D games as a start you can look at the PyGame tutorials list page to see them all. The goal of this article [...]

08 August 2009 ~ 5 Comments

PyGame – Parallax Scrolling in 2D games

PyGame – Parallax Scrolling in 2D games

Hi fellow reader, to start this article let me define what Parallax Scrolling is : Parallax scrolling is a special scrolling technique in computer graphics, seen first in the 1982 arcade game Moon Patrol. In this pseudo-3D technique, background images move by the “camera” slower than foreground images, creating an illusion of depth in a [...]

22 July 2009 ~ 5 Comments

PyGame and Animated Sprites – Take 2

PyGame and Animated Sprites – Take 2

I made a demo to better illustrate the topic covered in my previous post : PyGame and Animated Sprites Here’s a screenshot of the application : Download the Source code of the demo : explosion-spritetar.tar.gz

21 July 2009 ~ 2 Comments

PyGame and Animated Sprites

An animated sprite is a serie of the same image slightly modified and displayed at a certain framerate per second. Sample 5 frames Sprite representation: —————————————– |   1   |   2   |   3   |   4   |   5  | | 16×16 | 16×16 | 16×16 | 16×16 | 16×16 | |       |       |       |       |      | —————————————– [...]

21 July 2009 ~ 2 Comments

Gama: Pythonic Shiny Thing

Gama: Pythonic Shiny Thing

Hello dear Shiny reader, I just started learning Python a couple weeks ago. Well, I’m amazed. Pyhton’s Oriented Object Model is really flawless from my point of view. Multi-Heritance is like bottled awesomeness. As a start project, I’m currently building a 2D RTS game/simulation named Gama using PyGame and GameObjects while following extremely good tutorials [...]

Tags: , ,

20 July 2009 ~ 21 Comments

Multiple file upload using jQuery and Ruby on Rails Tutorial

Multiple file upload using jQuery and Ruby on Rails Tutorial

Outline Today I’ll share with you how to solve problems relating to uploading multiple files and how to effectively use Ruby on Rails in combination with jQuery Form plugins to allow your users to upload a single file or multiple files without refreshing the page. Since I don’t have any Windows or MacOS, the command [...]