@Simeon@Jmv38: FWIW, I prefer to be provided with the index. Conceptually it’s easier and generates simpler code.
EDIT: also, it’s very easy to provide your own “constants”, I don’t think that design choice should be baked into the API. I prefer the interface to be very simple for alerts.
Anyway, whatever the final syntax, it will be fine for me as long as the functionnallity is there.
Since i can always encapsulate the function into my preferred syntax.
Beta 3 is out — @Jmv38 let me know how your physics trouble goes.
This version is probably close to submission. I’ve decided against including the Juice library in this release. I’m still using it quite a lot and it’s changing too quickly to be included at this point.
I’m very happy to see the addition of tween.delay, that should probably solve about 90% of my needs for deferred function calls
While I’m sad to see Juice go, I’m glad you’re still cranking on it, and I can’t wait to see the final result. I wish more SDKs offered libraries like this, it makes it so much easier to polish an app to a shine.
I’ll join on the Sad about Juice. Very nice stuff in there. But I’ll trust that by the time it makes its way into a release, it’s going to be even… juicier.
Hello guys, i really feel stupid here but… can you have a look at this?
-- Use this function to perform your initial setup
function setup()
img = image(200,200)
setContext(img)
background(255, 0, 0, 255)
translate(100,100)
sprite("Planet Cute:Character Boy")
setContext()
end
-- This function gets called once every frame
function draw()
background(40, 40, 50)
translate(200,200)
sprite("Planet Cute:Character Boy")
translate(200,0)
sprite(img)
end
on my ipad the sprite doesnt seem to work in setContext(img): i get not boy in the red rectangle.
See: https://pbs.twimg.com/media/BNO8sAfCYAAqNjw.jpg
Is it a known bug? Or have i missed sthg obvious?
Thanks.
Ps: 1.5.3
Thanks for confirm that is a problem @ignatz. @Simeon can you correct that? The codea doc clearly says sprite is supposed to work within setcontext(img). Thanks