Hi there fellow constructers. After a few weeks I came back to a project i had momentarily abandoned because I couldnt achieve what I expected. In those weeks i learned a lot and because of that I thought I could fix the problem I had before.
Well, I was unsuccesfull and thats why Im asking for help here.
This project is an Angry Birds clone and what i want to implement is the zoom in and out. The problem Im having is that because of the system I implemented to launch the "birds" the player needs to hold the left mouse button in a certain spot, but when the layer gets zoomed in or out the mouse cant interact with it properly. Is like if the game rendered that spot in one place when in reality is in another. <img src="smileys/smiley7.gif" border="0" align="middle" />
Here are to links to different caps.
1- Here is how the game works:
Cap Working (not well): mediafire.com
2- This is what happens when I zoom. (Up/Down) arrows to zoom.
Cap to fix: mediafire.com
I hope someone can help me... <img src="smileys/smiley19.gif" border="0" align="middle" />
Update: Well i didnt get an answer from the forum, but there is no problem... Because my brain started working again :P
I managed to apply the zoom correctly and not only that, now is as smooth as silk. Also implemented a camera that changes position according to whats happening in the screen and the base of how collisions could work. <img src="smileys/smiley32.gif" border="0" align="middle" />
For those looking to make an Angry Birds style game, here is the Cap:
mediafire.com
The event sheet is messy as hell but if you look at it long enough you will understand what does what.
Hope someone finds it useful. Cya!