Diddy? ox, oy?
Monkey Forums/Monkey Programming/Diddy? ox, oy?
| ||
When using didy's virtual resolution do I set the coords using x,y and then move the image using ox, oy? |
| ||
The Sprite fields ox and oy are to be used by developers to store extra coordinates (eg the original starting position). Once you set the virtual resolution you "should" be able to forget about it and code as normal (using x and y). |
| ||
Yes I added ox,oy to my framework (which I believe diddy is loosely based on) to store the original coords of the sprite so that you could vary the display x/y with weird algorithms (such as particles falling like snowflakes) |
| ||
which I believe diddy is loosely based on ;) |
| ||
I should say "parts of diddy" because wow it has grown into quite an epic thing! I was checking out all the parts at the weekend. So much special code needed for the different OSes. |
| ||
Thanks all! Yep diddy has become the main framework to use for Monkey! |
| ||
I agree Amon i'ts brilliant, made getting into monkey a lot easier for me I was kinda struggling at the start. |