Is it possible to do such thing without having to inverse gravity or movements in a platform game engine??.. tnx
Just screen rotate.. or set what you want to use when developing
Tnx ^^
Printable View
Is it possible to do such thing without having to inverse gravity or movements in a platform game engine??.. tnx
Just screen rotate.. or set what you want to use when developing
Tnx ^^
I was about to make the same request. :)
Good idea! I'll have a look at that.
Great!!! Thanks Francois!!! I was waiting for that aswer :)!!
Hello again. Any news for this feature? is it possible? Thanks...
I have not started to work on it.
ok... thanks, i wont' bother anymore ( ._.)
After a little search, I say it IS possible.
But the main problem with this, is the width/height of the application. Most mobile phones have a screen higher than its width. So if you turn the display, it will simply not fit on the screen and look terrible.
After thinking I wonder if this is a good idea.
example image
I believe the idea would be to be able to develope games for landscape style devices... like PC's but to also allow the game to be played on many mobile devices by holding the phone or pda in a horizontal position. it works very nicely with most phones... there's a few games that support this feature.
The Iphone is a great example of this as most games support playing horizontally...some HAVe to be played horizontally.
The other trick to keep in mind is that the controlls would have to be re-mapped, because Up is now left, down is now right and so forth.
I personally would love this feature because I want to develope many games in this horizontal format.
One last thing to ad, this would not have to be an on the fly (at run-time) feature... this could be another option associated with your wonderful "Clone application at a new size" feature.
with this, I could design the game to run naturally horizontally on pc's (320x240 for example), then clone the application to run HORIZONTALLY on many other devices. Ideally, it would automatically rotate the keypad input for up, down left and right as I mentioned above.
EXELENT!!! :D My idea was to be able to set a main orientation at developing time. If it can be done at runtime..Better then, but it will depend on what resolution the mobile has, then the game the will be able or not to be rotated... ^^
Francois: the only changes to be made in MMF -when one wants to create a landscape project- are that:
1) The editor shows a rotated canvas, say, 160x120 instead of 120x160, and so on, and
2) Keys are remapped so that left/right are up/down and viceversa.
When you compile and deploy, the game will be 120x160 but the logic behind it still remains AS IF is were 160x120.
How is this going? any news?.. Tnx
Hmm.. need to raise this again. In my opinion, this is currently one of the very few big deficients in MMF2 java mobile runtime, especially when developing for smartphones where users constantly change between landscape and portrait mode.
Is there any update on the development side? Is this feature possible in MMF2?
I just finished the programming today. It works very well. You can rotate your frame by 90 degrees clockwise or anti clockwise. The movement keys are automatically remapped.
For the next version!
That made my day. :) So how does it work when the player playing the game switches e.g. from portrait to landscape mode? Is it possible in MMF2 to retrieve Displayable.getHeight() and Displayable.getWidth() through an object and change orientation accordingly at runtime?
That will be really a great new feature! Thanks!
No, you cannot change the orientation at runtime. You game is in one direction thats all (you would have to program double frames anyway, this would be very complicated)
Ok, even though orientation cannot be be changed at runtime, I think it still would be very useful to have an MMF2-object to detect whether the canvas is displayed in portrait or landscape mode (by using sizeChanged(int w, int h), Displayable.getHeight(), getWidth() or similar).
The reason for this is that now if you develop an app to portrait mode and the user has the phone in landscape mode, many smartphones automatically rotate the java app to landscape mode. For portrait app, this means that only part of the frame stays visible and the app is unusable. In this kind of situation, I would like to display a message for the user to switch to portrait mode to be able continue using the app. Hmm.. did that make any sense?