Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / SetPhysicsWallRight does nothing ?

Author
Message
Alain91
13
Years of Service
User Offline
Joined: 20th Aug 2011
Location: France
Posted: 3rd Sep 2011 15:33
Hi everyone !

With the first release of AppGameKit, I wrote a small test with physics.
The right wall was enabled by default, the objects stopped when hitting walls.

I just tested the same code with the new AppGameKit release, but the right wall was disabled. A call to SetPhysicsWallRight(1) does not change anything ?..

Is it a bug ? Does anyone encountered this please ?

Regards,
Alain
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 4th Sep 2011 02:48
If you use either of the view commands SetViewOffset() SetViewZoom() the walls will remain disabled as they no longer represent the edges of the screen.
Alain91
13
Years of Service
User Offline
Joined: 20th Aug 2011
Location: France
Posted: 4th Sep 2011 10:09
Thanks Paul,

I am not using these commands.

Alain
Alain91
13
Years of Service
User Offline
Joined: 20th Aug 2011
Location: France
Posted: 4th Sep 2011 10:20
I have found that using setphysicsscale turns off the right wall..

When I am not using this command it is ok for walls..

Regards,
ALain
LeeBamber
TGC Lead Developer
24
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 6th Sep 2011 03:13
Hi, can you add this as a bug here, thanks Link: http://code.google.com/p/agk/issues/list

I drink tea, and in my spare time I write software.

Login to post a reply

Server time is: 2024-11-21 16:17:53
Your offset time is: 2024-11-21 16:17:53