Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How to speed up the touch’s ticked up

2»

Comments

  • dave1707dave1707 Mod
    Posts: 7,918

    @pac Here’s an example of switching screens. Slide the switch to switch screens.

    function setup()
        parameter.boolean("switch",false)
    end
    
    function draw()
        background(0)
        if switch then
            screen2()
        else
            screen1()
        end
    end
    
    function screen1()
        background(223, 171, 154, 255)
        fill(255, 0, 0, 255)
        text("Screen1",WIDTH/2,HEIGHT-200)
        sprite("Planet Cute:Character Horn Girl",WIDTH/2,HEIGHT/2)
    end
    
    function screen2()
        background(169, 222, 188, 255)
        fill(255, 0, 0, 255)
        text("Screen2",WIDTH/2,HEIGHT-200)
        sprite("Small World:Court",WIDTH/2,HEIGHT/2)
    end
    
  • pacpac
    Posts: 216

    Dave you are amazing at telling what I have wrong.

    It works now thank you some much.

  • pacpac
    Posts: 216

    So I have one thing that I don’t know how to do but would like to and kind of need to know. How do you make a triangle plane?

    Thanks Pac

  • pacpac
    Posts: 216

    One more thing for now... How do you make material for the 3D object.

  • pacpac
    Posts: 216

    I got a few more questions. How do you save and load 3D files in codea.

  • pacpac
    Posts: 216

    It’s okay if you don’t know I will work one it the only problem I will have is the data safe metality that apple has.

Sign In or Register to comment.