Ahmed NCIT Posted September 11, 2014 Share Posted September 11, 2014 Is their a way to make like this link: http://www.baraem.tv/fun-and-games/alphabet using HTML5? Quote Link to comment Share on other sites More sharing options...
JUL Posted September 11, 2014 Share Posted September 11, 2014 You mean draw something ? Pixi I would say. But I'm not playing with it on a daily basis, so I can't tell you what are the limitations. You should ask sebastian for that, he knows his game with pixi. http://www.html5gamedevs.com/user/5657-sebastiannette/ Sometimes you can catch him in the chat (but he hates mankind) Quote Link to comment Share on other sites More sharing options...
AhmedElyamani Posted September 15, 2014 Share Posted September 15, 2014 I see no reason it shouldn't be possible.In case you are an interested sponsor , I'm willing to do it for you , And I'm pretty sure I'm the guy for it since I do Arabic. You may view my little website over here: www.cueballgames.com Quote Link to comment Share on other sites More sharing options...
Sebi Posted September 15, 2014 Share Posted September 15, 2014 This is pretty easy to make.You don't really need PIXI for that, even tho you could use it. However, drawing lines in WebGL is usually pretty ugly. Basically you draw your letter on a offscreen canvas.Then you define the start and ending points. On tap/mousedown you check whether or not the player clicked on the starting point. While the mouse is hold down / the tap is hold, you manipulate the imagedata of that canvas.If your lines hits a white pixel (outside of the letter) you abort the drawing and the player has to start again. If you need help, you can just ask here. I could provide a really simple demo for this. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.