SteveDunn / Gleed2D

Generic Level Editor 2D
83 stars 28 forks source link

Editor world size should be 480X800 #14

Closed sherifkandeel closed 12 years ago

sherifkandeel commented 12 years ago

isn't the world size should be 480X800 to match a wp7 game ?

how can I alter that from the source code to match my needs ?

SteveDunn commented 12 years ago

Hi, The 'world size' is entirely up to you. The 'view size' is 480x800 in the WP7. You shouldn't need to change any Gleed2D related code.

Cheers,

Steve

On 30 January 2012 01:43, sherifkandeel < reply@reply.github.com

wrote:

isn't the world size should be 480X800 to match a wp7 game ?

how can I alter that from the source code to match my needs ?


Reply to this email directly or view it on GitHub: https://github.com/SteveDunn/Gleed2D/issues/14

sherifkandeel commented 12 years ago

How come? The position in the view is centered, when I created some textures their position property were either in negative or larger than 480 or 800 There were completely irrrelevant to the WP screen size

Sent from my Kindle Fire

SteveDunn commented 12 years ago

There are no boundaries in the editor. You can have 1 object at 0,0 and one object 123456789,99999999 Re. negative numbers: again, that's how draw them in the editor. There's no boundaries and by default, the centre of the canvas is at 0,0 (not the top left). Hope this helps.

Cheers,

Steve.

On 30 January 2012 13:35, sherifkandeel < reply@reply.github.com

wrote:

How come? The position in the view is centered, when I created some textures their position property were either in negative or larger than 480 or 800 There were completely irrrelevant to the WP screen size

Sent from my Kindle Fire


Reply to this email directly or view it on GitHub: https://github.com/SteveDunn/Gleed2D/issues/14#issuecomment-3719461

SteveDunn commented 12 years ago

Hope this info helps. I'll close this as it's not a bug, but drop me a line if I can help any more

sherifkandeel commented 12 years ago

yeah, this was helpful thankyou, though I made my own hack for that, I drew a rectangle with dimensions 800X480 and position set to 0,0 so that I can design the level inside it, then export it to the .gleed file and load it successfully.