Re: Funny Moves

new topic     » goto parent     » topic index » view thread      » older message » newer message

K,

Looks to me like you should be updating the variable 'sides'
BEFORE calling 'display(...)'.

What your seeing now when calling 'display(..)'
is probably the remnant of the last 'sides' update
from a previous call rather then what you really want.

Thats if i understand your code fragments correctly...

for example:

  sides+=1
  display(...)

Good luck with it.

--Al

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu