trxcllnt / bitmapscroller Goto Github PK
View Code? Open in Web Editor NEWThis project forked from theflashbum/bitmapscroller
This is a small Blitting engine to scroll bitmaps of any size.
This project forked from theflashbum/bitmapscroller
This is a small Blitting engine to scroll bitmaps of any size.
Hello, Welcome to my Bitmap Scroller project. Once you have a look through the demo app it should be relatively easy to incorporate this into your own project. Here is a little info on how to get the demo up and running. Building Without Ant If you do not want to use ANT you must manually copy the build/bin-resources/images folder to your bin or bin-debug directory and compile the app like you normally would. The main class is called BitmapScrollerApp located in the src folder. This represents a demo class to show off how the BitmapScroller works. You will also have to set up a few extra lines of code in the advanced compiler area of your project’s settings: -use-network=false (If you are not testing this on a localhost or server) -define=CONFIG::mobile,false (If you are compiling for desktop. For mobile change this to true. This allows you to configure different logic for each platform which I will talk about later). -static-link-runtime-shared-libraries=true (This is important on any project that uses Flex 4 since it is set to false by default. This may not impact this project but if you begin embedding assets it is key). Building With ANT The build file is located in the root directory. It relies on a build.properties file to run. I provide a template file called build.template.properties which you can copy and rename to build.template. Once you do that open it up and lets change a few key properties. You will need to set the following paths: FLEX_HOME - path to your Flex SDK. If you have FlashBuilder installed it is located in the App’s dir under SDK 4.0. android.sdk - path to your Android SDK browser - On a PC you will want to use the path to the actual browser such as C:/Program Files/Mozilla Firefox/firefox.exe. On a mac the name of the browser will work such as Safari. Once you set these paths you should be able to run the ANT Build. The default build is compile swf. After running it, the build will create a bin folder for you and compile the swf in there. From there you can launch the index.html however you want. There is an ANT target for local-run located in the compile-swf include build or use the IDE to launch the index file and trigger the debugger, which is what I normally do.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.