-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed jar files and added library dependencies to all the projects.
- Loading branch information
Nicolas Gramlich
committed
Aug 15, 2011
1 parent
3a5c1fa
commit be53ad4
Showing
90 changed files
with
869 additions
and
409 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="src" path="gen"/> | ||
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> | ||
<classpathentry kind="lib" path="lib/andengine.jar"/> | ||
<classpathentry kind="lib" path="lib/andenginephysicsbox2dextension.jar"/> | ||
<classpathentry kind="lib" path="lib/andenginemultiplayerextension.jar"/> | ||
<classpathentry kind="lib" path="lib/andenginemodplayerextension.jar"/> | ||
<classpathentry kind="lib" path="lib/andengineaugmentedrealityextension.jar"/> | ||
<classpathentry kind="lib" path="lib/andenginemultitouchextension.jar"/> | ||
<classpathentry kind="lib" path="lib/andenginesvgtextureregionextension.jar"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="src" path="gen"/> | ||
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> | ||
<classpathentry kind="src" path="AndEngineAugmentedRealityExtension_src"/> | ||
<classpathentry kind="src" path="AndEngine_src"/> | ||
<classpathentry kind="src" path="AndEngineMODPlayerExtension_src"/> | ||
<classpathentry kind="src" path="AndEngineMultiTouchExtension_src"/> | ||
<classpathentry kind="src" path="AndEngineMultiplayerExtension_src"/> | ||
<classpathentry kind="src" path="AndEngineSVGTextureRegionExtension_src"/> | ||
<classpathentry kind="src" path="AndEnginePhysicsBox2DExtension_src"/> | ||
<classpathentry kind="src" path="AndEngineTexturePackerExtension_src"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,75 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>AndEngineExamples</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>com.android.ide.eclipse.adt.ApkBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>com.android.ide.eclipse.adt.AndroidNature</nature> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>AndEngineExamples</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>com.android.ide.eclipse.adt.ApkBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>com.android.ide.eclipse.adt.AndroidNature</nature> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
<linkedResources> | ||
<link> | ||
<name>AndEngineAugmentedRealityExtension_src</name> | ||
<type>2</type> | ||
<locationURI>_android_AndEngineAugmentedRealityExtension_689d0606/src</locationURI> | ||
</link> | ||
<link> | ||
<name>AndEngineMODPlayerExtension_src</name> | ||
<type>2</type> | ||
<locationURI>_android_AndEngineMODPlayerExtension_e98659b5/src</locationURI> | ||
</link> | ||
<link> | ||
<name>AndEngineMultiTouchExtension_src</name> | ||
<type>2</type> | ||
<locationURI>_android_AndEngineMultiTouchExtension_388759c0/src</locationURI> | ||
</link> | ||
<link> | ||
<name>AndEngineMultiplayerExtension_src</name> | ||
<type>2</type> | ||
<locationURI>_android_AndEngineMultiplayerExtension_5fcf107e/src</locationURI> | ||
</link> | ||
<link> | ||
<name>AndEnginePhysicsBox2DExtension_src</name> | ||
<type>2</type> | ||
<locationURI>_android_AndEnginePhysicsBox2DExtension_83d4a030/src</locationURI> | ||
</link> | ||
<link> | ||
<name>AndEngineSVGTextureRegionExtension_src</name> | ||
<type>2</type> | ||
<locationURI>_android_AndEngineSVGTextureRegionExtension_f1da7bb/src</locationURI> | ||
</link> | ||
<link> | ||
<name>AndEngineTexturePackerExtension_src</name> | ||
<type>2</type> | ||
<locationURI>_android_AndEngineTexturePackerExtension_63b7e5f7/src</locationURI> | ||
</link> | ||
<link> | ||
<name>AndEngine_src</name> | ||
<type>2</type> | ||
<locationURI>_android_AndEngine_6e0d82d9/src</locationURI> | ||
</link> | ||
</linkedResources> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<texture version="1" file="texturepackerexample.pvr.ccz" type="pvrccz" width="256" height="32" pixelformat="RGBA_4444" minfilter="linear" magfilter="linear" wrapt="clamp" wraps="clamp" premultiplyalpha="false"> | ||
<!-- Created with TexturePacker --> | ||
<!-- http://texturepacker.com --> | ||
<!-- $TexturePacker:SmartUpdate:eceec128cf21e7c843fb9a8a1b6fea72$ --> | ||
<textureregion id="0" src="face_box.png" x="195" y="0" width="32" height="32" rotated="false" trimmed="false" srcx="0" srcy="0" srcwidth="32" srcheight="32"/> | ||
<textureregion id="1" src="face_circle_tiled.png" x="130" y="0" width="64" height="32" rotated="false" trimmed="false" srcx="0" srcy="0" srcwidth="64" srcheight="32"/> | ||
<textureregion id="2" src="face_hexagon_tiled.png" x="65" y="0" width="64" height="32" rotated="false" trimmed="false" srcx="0" srcy="0" srcwidth="64" srcheight="32"/> | ||
<textureregion id="3" src="face_triangle_tiled.png" x="0" y="0" width="64" height="32" rotated="false" trimmed="false" srcx="0" srcy="0" srcwidth="64" srcheight="32"/> | ||
</texture> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
#! /bin/bash | ||
|
||
# Binary of the Texturepacker: | ||
TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker | ||
|
||
# Shared Spritesheet-Output-Definitions: | ||
SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/" | ||
SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets" | ||
SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src/org/anddev/andengine/examples/spritesheets/" | ||
|
||
# Shared Spritesheet-Input-Definitions: | ||
SPRITESHEET_INPUT_BASEDIRECTORY="../ext/gfx/spritesheets/" | ||
|
||
# Individual Spritesheet-Definitions (separated by ';'): | ||
# Fragment #1: The input for the spritesheet, relative to ${SPRITESHEET_INPUT_BASEDIRECTORY} | ||
# Fragment #2: The name of the generated spritesheet, relative to ${SPRITESHEET_OUTPUT_DIRECTORY} | ||
# Fragment #3: The filename of the generated java interface that contains the IDs of the textureregions in the generated spritesheet. | ||
SPRITESHEET_INPUT_DATA=( | ||
"texturepackerexample/;texturepackerexample;TexturePackerExampleSpritesheet.java" | ||
) | ||
|
||
########################### | ||
# Clean old Spritesheets: # | ||
########################### | ||
echo | ||
echo "#########################################" | ||
echo -n "# Cleaning old spritesheets..." | ||
# TODO rm -f ${SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY}*.java | ||
rm -f ${SPRITESHEET_OUTPUT_DIRECTORY}*.pvr.ccz | ||
rm -f ${SPRITESHEET_OUTPUT_DIRECTORY}*.xml | ||
echo " done." | ||
echo "#########################################" | ||
echo | ||
|
||
############################## | ||
# Generate new Spritesheets: # | ||
############################## | ||
echo "#########################################" | ||
echo "# Generating ${#SPRITESHEET_INPUT_DATA[@]} spritesheets..." | ||
echo "#########################################" | ||
echo | ||
|
||
# Loop over all entries ${SPRITESHEET_INPUT_DATA} to generate one spritesheet for each entry: | ||
i=0 | ||
for SPRITESHEET_INPUT_DATA_ENTRY in "${SPRITESHEET_INPUT_DATA[@]}" | ||
do | ||
echo "#########################################" | ||
i=`expr $i + 1` | ||
echo "# Generating spritesheet $i of ${#SPRITESHEET_INPUT_DATA[@]} ..." | ||
echo "#" | ||
|
||
# Split fragments of ${SPRITESHEET_INPUT_DATA_ENTRY} into ${SPRITESHEET_INPUT_DATA_ENTRY_FRAGMENT} | ||
IFS=\; read -a SPRITESHEET_INPUT_DATA_ENTRY_FRAGMENT <<< "$SPRITESHEET_INPUT_DATA_ENTRY" | ||
|
||
# Generate spritesheets | ||
${TEXTUREPACKER_BINARY} ${SPRITESHEET_INPUT_BASEDIRECTORY}${SPRITESHEET_INPUT_DATA_ENTRY_FRAGMENT[0]}*.png \ | ||
--format andengine \ | ||
--opt RGBA4444 \ | ||
--border-padding 0 \ | ||
--shape-padding 1 \ | ||
--disable-rotation \ | ||
--no-trim \ | ||
--max-width 1024 \ | ||
--max-height 1024 \ | ||
--andengine-wraps clamp \ | ||
--andengine-wrapt clamp \ | ||
--andengine-minfilter linear \ | ||
--andengine-magfilter linear \ | ||
--data ${SPRITESHEET_OUTPUT_DIRECTORY}${SPRITESHEET_INPUT_DATA_ENTRY_FRAGMENT[1]}.xml \ | ||
--sheet ${SPRITESHEET_OUTPUT_DIRECTORY}${SPRITESHEET_INPUT_DATA_ENTRY_FRAGMENT[1]}.pvr.ccz \ | ||
--andengine-java ${SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY}${SPRITESHEET_INPUT_DATA_ENTRY_FRAGMENT[2]} \ | ||
--andengine-packagename ${SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE} | ||
echo "#" | ||
echo "# done." | ||
echo "#########################################" | ||
echo | ||
done | ||
echo "#########################################" | ||
echo "# done." | ||
echo "#########################################" | ||
echo | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.