open state
add front camera detect
refactor changegamestate,enablequeue