Parallax effect with tiling is one of the key requirement for today's endless gaming so i decide to create my own and after some experiment i created effect is created in as3 but it can be easily converted in any language is small amount of time easy way to create any endless running parallax scrolling background is very easy ===================================================== 1)step one get the device width or height according to screen size 2) second step get the number of titles numberoftile = screensize/widthoftile; 3) increase number of tile by one numberoftile+=1 or numberoftile++ 4) draw all tiles inside a container or root element 5) update the tile container based on speed; for more here is my as3 class just copy and paste in a new as3 file and name it as parallax as3 all code below //package package { import flash.display.Sprite; import flash.display.MovieClip; import flash.events.Event; import flash.displa...
all about coding especially in javascript, daily used algorithms, react, angular and other gaming stuffs like webgl, pixijs, three.js and cocos2dx running code sample especially in javascript and c++.