Bienvenue - Welcome

Vous n'êtes pas identifié(e).

#1 2016-08-21 12:06:29

falsam
Administrator
Lieu : france
Inscription : 2016-07-20
Messages : 45
Site Web

EasySprite 2.0 is out.

Add :
createSprite(width, height, color, [onReady], [onClick])

startDrawing(sprite)
Change the current drawing output to the specified output. Graphics will be rendered directly on the Sprite.

stoptDrawing()
This function must be called to finish the drawing.

See example : 12 - Create Sprite.html

Update:.

loadSprite(fileName, [onReady])  becomes loadSprite(fileName, [onReady], [onClick])
See example : 10 - Button.html

initMouse() becomes initMouse([hide])

if hide is true, the mouse cursor is hidden.
See example : 08 - Hide mouse.html

Download : https://github.com/falsam/EasySprite/archive/master.zip

Hors ligne

#2 2016-08-24 02:38:32

J. Baker
Redactor
Lieu : USA
Inscription : 2016-07-30
Messages : 16

Re : EasySprite 2.0 is out.

Very nice! Thanks for the update falsam! wink

Hors ligne

#3 2016-08-24 03:07:23

falsam
Administrator
Lieu : france
Inscription : 2016-07-20
Messages : 45
Site Web

Re : EasySprite 2.0 is out.

Version 2.0.1 out and brings some more fixes.
https://github.com/falsam/EasySprite

- Add  : Mouse Navigation for mobile. Try TiniWitch with your smartphone

Now, you show me what you do with EasySprite ^^

Maintenant, à vous de me montrer ce que vous faites avec EasySprite ^^

Thanks.

Hors ligne

#4 2016-08-25 19:27:00

J. Baker
Redactor
Lieu : USA
Inscription : 2016-07-30
Messages : 16

Re : EasySprite 2.0 is out.

Thanks falsam!

I tried uploading a revised manual last week but github wouldn't allow me. With this new feature, I'll have to add it to the manual as well.

Will work on a little demo soon. Just need to finish a few things up that I already have going on. wink

Hors ligne

Pied de page des forums