Skip to main content

Posts

Showing posts with the label fun

.. things I learnt this year

Random things I learn't this year. 1. Flamingos arn't born pink They are born white and turn pink after eating lots of shrimp. 2. When lightning hits sand it creates glass sculptures. 3. In 1957 the BBC did April fools joke convincing the world that spaghetti trees were real 4. The Sydney opera house opened 10 years later than scheduled. 5. The biggest ferris wheel is 550 feet tall and is in  Las Vegas 6. Dark patterns are a thing and we should know about them. 7. A swede is made from a turnip and a cabbage. 8. Computer mice were first made of wood. 9. There is a bird called elephant bird and it was huge. 10. There are major reasons why humans sleep with some form of a blanket and its because we cannot regulate body temperature well during rem sleep. Article about it.  11. The difference between a mountain and a hill is only how hard it is to climb. No natural difference. 12. Oxford uni has a glass floor sports hall that changes lin

8bit Mario with css grids

The point of this task was to get more familiar with css grids. I aimed to use as little divs as possible but I wanted it to be to scale.  You can view it below or on Codepen. See the Pen mario with grids by Mel ( @Mellydevs ) on CodePen . Making Mario As I was making a 8bit character I made a 64 by 64 grid and made each grid size 8px by 8px. This allowed me to make Mario to scale.  NB: I do not own anything to do with Mario I am just a fan :). So after using reference images I managed to make divs turn into Mario by changing their position in the grid and background colour. If you want to learn more about grids I recommend css tricks article on it  or Grid garden which is a game that helps you learn grids. It turned out quite good and I was happy with it. I thought I was done but then.... I thought why not make him do a idle animation, So I looked at some sprite sheets ( whats a sprite sheet? ) Kirby's idle seemed to be the easiest so I chose to t