Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Auto-rotation question
Started by dislam Nov 28 2013 07:21 PM

32 replies to this topic
rotation orientation
[TOPIC CONTROLS]
Page 2 of 2 1 2
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#26

greg886

[GLOBAL: userInfoPane.html]
greg886
  • Contributor

  • 920 posts
  • Corona SDK

Ok Alec. I don't have access to my Mac at the moment but I'll check the build file. When I was running I got:

- startup: all good. In portrait
- 1st orientation change: ok. Ie to landscape
- subsequent changes (landscape <=> portrait): width of rectangles increased it appeared such you do not see rounded edges at either ends of the rectangles.

[TOPIC: post.html]
#27

IBMHursley1964

[GLOBAL: userInfoPane.html]
IBMHursley1964
  • Contributor

  • 128 posts
  • Corona SDK

Hi Greg,

My test show everything as I would expect. Just tried again...

Just keeping rotating in either direction as many times as you wish and all aspects of object (both) are show ok. No cutoffs or increase in size.

 

 

 

Alec



[TOPIC: post.html]
#28

greg886

[GLOBAL: userInfoPane.html]
greg886
  • Contributor

  • 920 posts
  • Corona SDK

[TOPIC: post.html]
#29

IBMHursley1964

[GLOBAL: userInfoPane.html]
IBMHursley1964
  • Contributor

  • 128 posts
  • Corona SDK

Sorry I have given false hopes...

I have not moved to Graphics 2 because of the dropping of reference points. Looks like I will leave it for a while longer now.

 

PS I have asked this way back several months ago...

 Is there a team at Corona doing regression testing?

 

It would seem not. Lots of simple test have failed in prior sample programs on prior releases.

Having worked in product testing for years it is point of concern to me that these things get through. I realise the product is vast and many exciting  things being supported and very exciting to work on new and top interest items but there should be a team verifying these very basic things or a set of test cases that are run and verified each build before it is released...

 

or have I the wrong impression?



[TOPIC: post.html]
#30

greg886

[GLOBAL: userInfoPane.html]
greg886
  • Contributor

  • 920 posts
  • Corona SDK

It would be nice to have a layout manager in Corona wouldn't it?   Well an easier way to support different orientation changes I guess.   I understand the anchor point concept but keep having to go back to re-read the bit on Groups & "anchorChildren" (vs containers & other objects)   :)    



[TOPIC: post.html]
#31

IBMHursley1964

[GLOBAL: userInfoPane.html]
IBMHursley1964
  • Contributor

  • 128 posts
  • Corona SDK

I have just looked at the documentation out of interest to 'see what I need to change' in my app.

 

Well my first comment is 'wow' heeavvy... plus there is an obvious lack of diagrams of these new concepts and how they fit with the older hierarchy of 'objects'. 

 

[Greg have you tried graphicsCompatibility = 1]

 

It would help to start at the Stage level and provide step by step  diagrams (plus code) of the hiearchy of all these concepts so that frames, levels, Anchor points, groups and children and so on can be visualised more easily by the Corona user/app developer. 

 

There is far too much reading and re-reading required to understand if there is a bug or a miss-understanding. Further when simple tests fail it does not give users confidence that they understand anything...

 

But I am pleased to see, at last, that there is some 'backward compatibility' at last being considered instead of pure deprecation.

[in Graphics 2.0, reference points have been deprecated. Anchor points must be used in their place unless you decide to use V1 Compatibility Mode]

.

Back when 'I was a lad' deprecation was never spoken of [in fact it was a swear word] and everything had backward compatibility because of maintaining customer confidence and reducing  the amount of re-work costs for the users. Nothing was shipped without backward compatibility testing and simple test cases validation 'sign off' before a build was released. 

 

I will try my apps with the {graphicsCompatibility = 1} this week as there are so many critical placements that took me weeks to get right and I dont look forward re-working all that code and thought processes...



[TOPIC: post.html]
#32

greg886

[GLOBAL: userInfoPane.html]
greg886
  • Contributor

  • 920 posts
  • Corona SDK

I'm trying to exist in the new world for what I'm starting with this app, so I'm resisting the temptation to switch on compatibility mode  :)   



[TOPIC: post.html]
#33

IBMHursley1964

[GLOBAL: userInfoPane.html]
IBMHursley1964
  • Contributor

  • 128 posts
  • Corona SDK

Fine for new apps and the new world... Scouts take all the risks. B)

 

For readers of the forum I post another compatibly support link for interest...

http://developer.coronalabs.com/code/continue-using-setreferencepoint-set-new-anchor-points-graphics20

 

Now this is what I call backword compatibility...




[topic_controls]
Page 2 of 2 1 2
 
[/topic_controls]