Showing posts with label crafty. Show all posts
Showing posts with label crafty. Show all posts

Friday, April 27, 2012

[Javascript] [Crafty] Draw Image

          Hello, Reader ^^! Back again with source code. This time is Draw Image which is written in Java script programming language and Crafty extension. This shows how to draw image in Crafty screen. You need Image and 2D object in the Crafty object for image and positioning. You also need linking with an image in the folder you want. Okay, that's all I can say. Thank you for reading ^^!






Download/View Source Code
- Dropbox
- Dropbox (Repository)
- GitHub
- GitHub (Repository) 







[Javascript] [Crafty] Text Example

          Hello, Reader ^^! Back again with source code. This time is Text Example which is written in Java script programming language and Crafty extension. This shows how to write text inside Crafty screen. You need to include 2D, Text, and DOM Crafty object first. Then you set the position and the text which want to be written. Okay, that's all I can say. Thank you for reading ^^!






Download/View Source Code
- Dropbox
- Dropbox (Repository)
- GitHub
- GitHub (Repository)