GMU:Wild Type/Vanya Gercheva: Difference between revisions

From Medien Wiki
Line 91: Line 91:
Then there came the first coding problem: how to code the letters with the chosen pattern? Do I have to code every single x there? Nope, too much work (thousands of x-es with their coordinates).. Maybe a mask over an image? Well, 10 lines code in average for every mask for more than 70 symbols… Hmm.. Not the best idea..
Then there came the first coding problem: how to code the letters with the chosen pattern? Do I have to code every single x there? Nope, too much work (thousands of x-es with their coordinates).. Maybe a mask over an image? Well, 10 lines code in average for every mask for more than 70 symbols… Hmm.. Not the best idea..
At the end I decided to draw all the letters and pictures as SVG files, which lowered significantly the number of lines of code and made the program faster with no difference in the appearance - win win! Here are some of them: <br/>
At the end I decided to draw all the letters and pictures as SVG files, which lowered significantly the number of lines of code and made the program faster with no difference in the appearance - win win! Here are some of them: <br/>
[[File:pictures.jpg|400px]]
[[Image:pictures.jpg| 300px]]


After writing the main mechanism of the game I made the animations for flipping and disappearing and completed successfully the challenge to match the (which was a real pain in the ass and took much time till it worked properly). Just to show you what I have to deal with most of the time: <br/>
After writing the main mechanism of the game I made the animations for flipping and disappearing and completed successfully the challenge to match the (which was a real pain in the ass and took much time till it worked properly). Just to show you what I have to deal with most of the time: <br/>