2016년 11월 27일 일요일

Game help pls!


So, I'm trying to create a choose your own adventure game and I'm having trouble. What I've been doing is just linking a button to a new screen, but I understand it is bad to have more than 10 screens. Is there anyway I would be able to erase everything on a screen, then replace it with the continuation of the story? P.s. i use images instead of labels

-- 
Use different screens wisely
Before starting to create another screen, first you should think about is it really necessary? See also Building apps with many screens and SteveJG's post about advantages/disadvantagesbecause in only one screen you also can use vertical arrangements to simulate different screens, just set the arrangements to visible = true/false as needed... See also Martyn_HK's example about how to use Tabs in App Inventor and another example from Cyd.
      
The recommended method of switching screens in AppInventor


    and reuse your components
    see this example, which uses one canvas to display several images
    How to Swipe left/right and top/bottom to trigger something


    Taifun

    -- 
    See this doc for how to do it all in one screen 

    ABG

    -- 

    댓글 없음:

    댓글 쓰기