Jump to content

Canvas size did not change after setUserScale


davestephans
 Share

Recommended Posts

The last days of the celluloid era began with Australia's initial competitive engagement of their Glasgow Commonwealth Games on Thursday.
The women's table tennis team of Melissa Tapper, Zhenhua Dederko and Miao Miao created the last batch of celluloid ping-pong balls dip, swing and spin in a brisk dismissal of their opponents from top ping pong paddle.

Celluloid's substitute with newer plastic materials on September 1 may have an unknown effect on the behaviour of the table tennis ball. There are dire predictions that the new one-piece ball will bounce too high and spin too little. But the sport has shown an NRL-like willingness to dicky with its rules to compensate for inequities and make the game more attractive. At these Commonwealth Games, there is no hiding balls in the hand while working out, no speed-gluing of all racquets, and the collections are played to 11 rather than the conventional 21.

In other respects, the elite players in Glasgow's Scotstoun Sports Complex have it easy compared with the home ping-pong artist. The players usually do not discover halfway through a match the ball is broken and there aren't any unbroken ones left from the box. There are no limitations as a result of garage wall being too near the end of the table. There's no hindrance rule as a result of balls hitting the ceiling.

The internet heights are just measured and don't sag or require a pencil to prevent them from doing this. The tables are not bloated in patches where damp has got under the surface, and do they have the rogue "dead spots" well-known into the national player. There is not any fighting over who receives the dodgy racquet, and no throwing of racquets at each other following a disputed call. Even though the stakes are substantially high, Commonwealth Games table tennis is a very civilised affair in contrast with all the amateur game.

Guyana's female table tennis output has not proved so glistening as its cricket ping pong table review. Guyanese sporting goods, such as Clive Lloyd, Rohan Kanhai, Roy Fredericks, Alvin Kallicharran, Lance Gibbs and Colin Croft, once struck fear into Australian hearts. Nevertheless, Trenace Lowe, from Georgetown, made Tapper fight hard to win the opening game 11-5, 17-15, 11-7.

Tapper, 24, a course 10 para-athlete because of neural injury from Erb's palsy in her right arm, aims to become Australia's first representative in Paralympic and Olympic Games, which she will do if she qualifies for Rio in 2 decades' time. Australia's answer to Oscar Pistorius - in this regard if no other - Tapper, who plays left-handed and has limited mobility on her right side, performed well at the London Paralympics in 2012 and has her eye on a medal here.

Dederko, 36, and Miao, 33, Chinese-born specialists of Australian table tennis, made quick work of their opponents. Dederko beat Natalie Cummings 11-3, 11-3, 11-7 until she teamed with Miao to conquer Cummings and 17-year-old Chelsea Edghill at a match that lasted nine minutes. The match was completed in great spirits and no parents needed to step in to settle things down. A few of the balls seemed to bounce a little funny, but that is the beauty of celluloid.

=> Choose the best ping pong table: https://medium.com/@conghieu4690/best-ping-pong-tables-1d5067cc180

Link to comment
Share on other sites

Hi @davestephans,

Just a quick question, what is the exact resolutions you are testing on? It's working on resolutions lower than the max one you specified, right?

Because, going over this "if":

if((GAME_MAX_WIDTH/windowWidth) > (GAME_MAX_HEIGHT/windowHeight))
{
  scaleFactor = (windowWidth / GAME_MAX_WIDTH);        
}
else 
{
  scaleFactor = (windowHeight / GAME_MAX_HEIGHT);
}    
    

If you are testing on resolution 1920x1080, then the "scaleFactor" will always be set to 1, and therefore you would be calling:

mainGame.scale.setUserScale(1, 1);

Which wouldn't actually resize the screen. Would that be the case?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...