Howdy, Stranger!

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

Showing Lots of sprites with one function call and a loop

edited November 2018 in Questions Posts: 216

How can you get it so that one sprite call can get a group of sprites to show?

I can’t figure it out mine will only have one up at a time.

Please help me.


  • dave1707dave1707 Mod
    edited November 2018 Posts: 9,977

    @pac Try this example using multiple for loops.

    function setup()
    function draw()
        background(40, 40, 50)
        for x=1,30 do
            for y=1,40 do
                sprite("Planet Cute:Character Horn Girl",x*40,y*40,40)
  • pacpac
    Posts: 216

    Thanks it works I will change May code to work thanks

  • pacpac
    Posts: 216

    Hey thanks again I changed my code and now it works thank you thank you thank you

Sign In or Register to comment.