rokon:rokon.git
7 years agoSome changes to Drawable, a little bug fix
rtaylor205 [Thu, 1 Jul 2010 21:24:13 +0000 (21:24 +0000)]
Some changes to Drawable, a little bug fix

git-svn-id: http://rokon.googlecode.com/svn/trunk@339 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoSeems to be working with Droid/Milestone, preparing for 2.0.3 release tomorrow. Annoy...
rtaylor205 [Tue, 29 Jun 2010 21:30:37 +0000 (21:30 +0000)]
Seems to be working with Droid/Milestone, preparing for 2.0.3 release tomorrow. Annoying to have 3 releases on consecutive days, but unforeseen, sorry! :)

git-svn-id: http://rokon.googlecode.com/svn/trunk@337 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoSome work, in an attempt to fix Droid/Milestone bug, VBOs have been disabled on those...
rtaylor205 [Tue, 29 Jun 2010 20:58:31 +0000 (20:58 +0000)]
Some work, in an attempt to fix Droid/Milestone bug, VBOs have been disabled on those devices. I'm waiting on a device for this to be properly tested. Accelerometer and Vibrator classes are now included.

git-svn-id: http://rokon.googlecode.com/svn/trunk@336 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoUpdated CHANGELOG, readying for 2.0.1 - minor update
rtaylor205 [Tue, 29 Jun 2010 10:11:06 +0000 (10:11 +0000)]
Updated CHANGELOG, readying for 2.0.1 - minor update

git-svn-id: http://rokon.googlecode.com/svn/trunk@318 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoChanged properties
rtaylor205 [Tue, 29 Jun 2010 09:57:21 +0000 (09:57 +0000)]
Changed properties

git-svn-id: http://rokon.googlecode.com/svn/trunk@317 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoFix for backwards compatability - was an error with how MotionEvent was used. Simply...
rtaylor205 [Tue, 29 Jun 2010 09:53:59 +0000 (09:53 +0000)]
Fix for backwards compatability - was an error with how MotionEvent was used. Simply my dumbness, and inability to test on the emulator. Now using two wrapper classes, for the two multi touch methods, MotionEventWrapper5.java and MotionEventWrapper8.java

git-svn-id: http://rokon.googlecode.com/svn/trunk@316 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoUpdated CHANGELOG and LIBGDX
rtaylor205 [Tue, 29 Jun 2010 09:53:40 +0000 (09:53 +0000)]
Updated CHANGELOG and LIBGDX

git-svn-id: http://rokon.googlecode.com/svn/trunk@315 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoUpdated AndroidManifest.xml
rtaylor205 [Tue, 29 Jun 2010 09:53:11 +0000 (09:53 +0000)]
Updated AndroidManifest.xml

git-svn-id: http://rokon.googlecode.com/svn/trunk@314 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoRemoved TODO
rtaylor205 [Mon, 28 Jun 2010 20:31:36 +0000 (20:31 +0000)]
Removed TODO

git-svn-id: http://rokon.googlecode.com/svn/trunk@308 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoRemoved assets from trunk
rtaylor205 [Mon, 28 Jun 2010 20:25:22 +0000 (20:25 +0000)]
Removed assets from trunk

git-svn-id: http://rokon.googlecode.com/svn/trunk@307 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoRemoving com.stickycoding.rokonexamples
rtaylor205 [Mon, 28 Jun 2010 20:16:10 +0000 (20:16 +0000)]
Removing com.stickycoding.rokonexamples

git-svn-id: http://rokon.googlecode.com/svn/trunk@305 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoRemoved io
rtaylor205 [Mon, 28 Jun 2010 20:14:43 +0000 (20:14 +0000)]
Removed io

git-svn-id: http://rokon.googlecode.com/svn/trunk@304 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agogit-svn-id: http://rokon.googlecode.com/svn/trunk@303 84f797ac-9f24-11de-b98f-4500b42...
rtaylor205 [Mon, 28 Jun 2010 20:14:14 +0000 (20:14 +0000)]
git-svn-id: rokon.googlecode.com/svn/trunk@303 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoA few tweaks for library
rtaylor205 [Mon, 28 Jun 2010 20:12:16 +0000 (20:12 +0000)]
A few tweaks for library

git-svn-id: http://rokon.googlecode.com/svn/trunk@302 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoRemoved Launcher, ready to export as library
rtaylor205 [Mon, 28 Jun 2010 20:10:34 +0000 (20:10 +0000)]
Removed Launcher, ready to export as library

git-svn-id: http://rokon.googlecode.com/svn/trunk@301 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoPreparing library
rtaylor205 [Mon, 28 Jun 2010 20:10:17 +0000 (20:10 +0000)]
Preparing library

git-svn-id: http://rokon.googlecode.com/svn/trunk@300 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoDrawOrder is ready, Layers can now draw by various methods (x ascending, descending...
rtaylor205 [Mon, 28 Jun 2010 20:04:07 +0000 (20:04 +0000)]
DrawOrder is ready, Layers can now draw by various methods (x ascending, descending, y ascending, y descending, fastest)

All seems ready for release. Going to reshuffle things for the package, and start work on examples/tutorials.

git-svn-id: http://rokon.googlecode.com/svn/trunk@299 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoFix in RokonAudio
rtaylor205 [Mon, 28 Jun 2010 19:31:36 +0000 (19:31 +0000)]
Fix in RokonAudio

git-svn-id: http://rokon.googlecode.com/svn/trunk@298 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoFew updates to libgdx stuff
rtaylor205 [Mon, 28 Jun 2010 19:27:02 +0000 (19:27 +0000)]
Few updates to libgdx stuff

git-svn-id: http://rokon.googlecode.com/svn/trunk@297 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoUpdating externals, no more dynamic linking (for now) due to libgdx error
rtaylor205 [Mon, 28 Jun 2010 19:25:05 +0000 (19:25 +0000)]
Updating externals, no more dynamic linking (for now) due to libgdx error

git-svn-id: http://rokon.googlecode.com/svn/trunk@296 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoUpdating externals
rtaylor205 [Mon, 28 Jun 2010 19:21:50 +0000 (19:21 +0000)]
Updating externals

git-svn-id: http://rokon.googlecode.com/svn/trunk@295 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoUpdating externals
rtaylor205 [Mon, 28 Jun 2010 19:19:30 +0000 (19:19 +0000)]
Updating externals

git-svn-id: http://rokon.googlecode.com/svn/trunk@294 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoA few re-shuffles, a few minor bug fixes. A LOT of documentation. All public methods...
rtaylor205 [Mon, 28 Jun 2010 19:15:10 +0000 (19:15 +0000)]
A few re-shuffles, a few minor bug fixes. A LOT of documentation. All public methods are now documented. Almost ready for release now - just a couple of little things that need changing.

git-svn-id: http://rokon.googlecode.com/svn/trunk@293 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoCollision detection works now between normal Sprite's and PolygonSprite's.
rtaylor205 [Mon, 28 Jun 2010 15:21:48 +0000 (15:21 +0000)]
Collision detection works now between normal Sprite's and PolygonSprite's.
A Sprite can be given any Polygon shape to act in collision detection. Defaults to a rectangle.

git-svn-id: http://rokon.googlecode.com/svn/trunk@292 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoCollision detection methods are implemented, a few tweaks are going to be made -...
rtaylor205 [Mon, 28 Jun 2010 15:10:42 +0000 (15:10 +0000)]
Collision detection methods are implemented, a few tweaks are going to be made - just saving progress.

git-svn-id: http://rokon.googlecode.com/svn/trunk@291 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoVBOs are now working. I haven't made any detailed performance tests - both normal...
rtaylor205 [Mon, 28 Jun 2010 12:53:56 +0000 (12:53 +0000)]
VBOs are now working. I haven't made any detailed performance tests - both normal and VBO work fine on my N1, and I don't have an older device.

git-svn-id: http://rokon.googlecode.com/svn/trunk@290 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoRemoved drawTexture usage. Doesn't provide any real speed benefits - it draws using...
rtaylor205 [Mon, 28 Jun 2010 11:28:25 +0000 (11:28 +0000)]
Removed drawTexture usage. Doesn't provide any real speed benefits - it draws using screen coordinates, which have to be translated for game windows at run time. Also unable to rotate textures etc. Almost all devices support VBO's, which are much quicker. All tests so far on my 2.2 N1 have ran at 60fps using non-VBO methods. The drawbacks of working for drawTex compatability don't outweigh the benefits.

git-svn-id: http://rokon.googlecode.com/svn/trunk@289 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoA few modifications for AudioStream, just naming convention changes between versions
rtaylor205 [Mon, 28 Jun 2010 11:10:54 +0000 (11:10 +0000)]
A few modifications for AudioStream, just naming convention changes between versions

git-svn-id: http://rokon.googlecode.com/svn/trunk@288 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoAudio is functioning. Music should be played through RokonMusic - basically an interf...
rtaylor205 [Mon, 28 Jun 2010 10:57:27 +0000 (10:57 +0000)]
Audio is functioning. Music should be played through RokonMusic - basically an interface for MediaPlayer, but simplifies a few things.
Sound effects should be played through RokonAudio - this is pretty much ripped from Rokon 1.1.1, with a few minor changes. It all seemed to work then, and seems to work now.

Tested playing music, launching > 20 sound effects per second, no slow down in frame rate.

git-svn-id: http://rokon.googlecode.com/svn/trunk@287 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoWork on Polygons and collision detection. The basis is there, but struggling with...
rtaylor205 [Sun, 27 Jun 2010 17:23:32 +0000 (17:23 +0000)]
Work on Polygons and collision detection. The basis is there, but struggling with separating axis algorithm - very annoying, so not working, for now.

git-svn-id: http://rokon.googlecode.com/svn/trunk@286 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoRemoved hexagonally tiled layers. These were messy, and not a priority for 2.0.0...
rtaylor205 [Fri, 25 Jun 2010 20:23:30 +0000 (20:23 +0000)]
Removed hexagonally tiled layers. These were messy, and not a priority for 2.0.0. They will be rewritten in the future.

git-svn-id: http://rokon.googlecode.com/svn/trunk@285 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoA system for Sprite Modifiers are working now. A Blink example has been included...
rtaylor205 [Fri, 25 Jun 2010 19:49:50 +0000 (19:49 +0000)]
A system for Sprite Modifiers are working now. A Blink example has been included. Basic fade/move's are done through Sprite classes now, so Modifier's will likely be game-specific. No more need be included for 2.0.0

git-svn-id: http://rokon.googlecode.com/svn/trunk@284 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoTextures can now be edited at run time, when using DynamicTexture. There is a problem...
rtaylor205 [Fri, 25 Jun 2010 16:27:18 +0000 (16:27 +0000)]
Textures can now be edited at run time, when using DynamicTexture. There is a problem (I assumed it was because of not being thread-safe, but it doesn't appear to be?). This will do for now, and I will research into the matter. This isn't a crucial feature, so will not hold back any potential release. Hopefully someone will be able to work out what's going wrong, seems random to me.

git-svn-id: http://rokon.googlecode.com/svn/trunk@283 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoTextureManager now handles texture loading / unloading. Things are a bit more automat...
rtaylor205 [Fri, 25 Jun 2010 15:32:16 +0000 (15:32 +0000)]
TextureManager now handles texture loading / unloading. Things are a bit more automated. Textures are unloaded when a Scene is ended. Should make support for editing textures post-load easier to implement.

git-svn-id: http://rokon.googlecode.com/svn/trunk@282 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoGraphics.java has new methods to easily determine aspect ratio, normal, wide or full.
rtaylor205 [Fri, 25 Jun 2010 13:34:05 +0000 (13:34 +0000)]
Graphics.java has new methods to easily determine aspect ratio, normal, wide or full.

git-svn-id: http://rokon.googlecode.com/svn/trunk@281 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoA few optimizations to drawing code, moving things to GLHelper to make things nicer...
rtaylor205 [Fri, 25 Jun 2010 13:23:36 +0000 (13:23 +0000)]
A few optimizations to drawing code, moving things to GLHelper to make things nicer to work with.

git-svn-id: http://rokon.googlecode.com/svn/trunk@280 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoA couple of empty classes removed
rtaylor205 [Fri, 25 Jun 2010 13:04:07 +0000 (13:04 +0000)]
A couple of empty classes removed

git-svn-id: http://rokon.googlecode.com/svn/trunk@279 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoFew fixes with multitouch. I think the code is solid now.
rtaylor205 [Fri, 25 Jun 2010 12:55:10 +0000 (12:55 +0000)]
Few fixes with multitouch. I think the code is solid now.

git-svn-id: http://rokon.googlecode.com/svn/trunk@278 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoUpdated LineSprite.java with a couple new methods, and added a multitouch test to...
rtaylor205 [Fri, 25 Jun 2010 12:47:54 +0000 (12:47 +0000)]
Updated LineSprite.java with a couple new methods, and added a multitouch test to Launcher.java

git-svn-id: http://rokon.googlecode.com/svn/trunk@277 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoMultitouch is now functional. Had to make 3 sepate routines to handle touches. One...
rtaylor205 [Fri, 25 Jun 2010 12:09:11 +0000 (12:09 +0000)]
Multitouch is now functional. Had to make 3 sepate routines to handle touches. One for pre-2.0, handleTouch. One for 2.0 & 2.1, handleMultiTouch, and one for 2.2+ (let's hope they don't change things, again...) handleSDK8MultiTouch. Tests seem to be working on my 2.2 N1, seems pretty fun.

All onTouchXXX methods now have an extra parameter, int pointerId. If multitouch is not present, this will be 0. Same goes for invoked methods.

Project has been reconfigured to build with 8 (2.2), with minSDK at 3 (1.5)

git-svn-id: http://rokon.googlecode.com/svn/trunk@276 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoFix missing import
rtaylor205 [Fri, 25 Jun 2010 10:14:12 +0000 (10:14 +0000)]
Fix missing import

git-svn-id: http://rokon.googlecode.com/svn/trunk@275 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoUpdated /device/OS.java
rtaylor205 [Fri, 25 Jun 2010 10:13:59 +0000 (10:13 +0000)]
Updated /device/OS.java

git-svn-id: http://rokon.googlecode.com/svn/trunk@274 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoCrude way of determining API levels, speedier than comparing strings in game thread
rtaylor205 [Fri, 25 Jun 2010 10:13:16 +0000 (10:13 +0000)]
Crude way of determining API levels, speedier than comparing strings in game thread

git-svn-id: http://rokon.googlecode.com/svn/trunk@273 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoWork on polygons and lines. Polygon is now a generic 2D polygon shape, that can be...
rtaylor205 [Fri, 25 Jun 2010 08:45:16 +0000 (08:45 +0000)]
Work on polygons and lines. Polygon is now a generic 2D polygon shape, that can be used for drawable PolygonSprites, and will be (in the future) used for collision detection / Box2D. LineSprite is a basic drawable straight line, many-vertex lines should use PolygonSprite with a border.

Drawing routines are being copied, which is bad practice. Began moving them to GLHelper.

git-svn-id: http://rokon.googlecode.com/svn/trunk@272 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoPolygon.java can hold up to 128 vertices, ready for use elsewhere
rtaylor205 [Thu, 24 Jun 2010 14:06:43 +0000 (14:06 +0000)]
Polygon.java can hold up to 128 vertices, ready for use elsewhere

git-svn-id: http://rokon.googlecode.com/svn/trunk@271 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoUpdated example for nicer looking Text
rtaylor205 [Thu, 24 Jun 2010 09:30:49 +0000 (09:30 +0000)]
Updated example for nicer looking Text

git-svn-id: http://rokon.googlecode.com/svn/trunk@270 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoUpdated example text, previously random garbage (maybe I'm missing McDonalds a little...
rtaylor205 [Thu, 24 Jun 2010 09:29:28 +0000 (09:29 +0000)]
Updated example text, previously random garbage (maybe I'm missing McDonalds a little too much)

git-svn-id: http://rokon.googlecode.com/svn/trunk@269 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoPolygon.java is no longer a drawable object, it will be a generic convex polygon...
rtaylor205 [Thu, 24 Jun 2010 09:25:20 +0000 (09:25 +0000)]
Polygon.java is no longer a drawable object, it will be a generic convex polygon shape (not directly compatible with Box2D, but conversion methods will be added). This will be used for the base of a drawable polygon, or assigned to a Sprite for non-Box2D collision detection

git-svn-id: http://rokon.googlecode.com/svn/trunk@268 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoRemoved a Debug.print in Font.java, left there by accident
rtaylor205 [Thu, 24 Jun 2010 09:20:25 +0000 (09:20 +0000)]
Removed a Debug.print in Font.java, left there by accident

git-svn-id: http://rokon.googlecode.com/svn/trunk@267 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoFont and TextTexture are completed, TTF fonts can be rendered straight to textures...
rtaylor205 [Thu, 24 Jun 2010 09:16:14 +0000 (09:16 +0000)]
Font and TextTexture are completed, TTF fonts can be rendered straight to textures, they can be loaded dynamically or added to an atlas at the start. Also includes automatic line wrapping. Seems to be all good so far :)

git-svn-id: http://rokon.googlecode.com/svn/trunk@266 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoTextTexture is now FontTexture - to better describe contents. TextTexture will now...
rtaylor205 [Thu, 24 Jun 2010 07:25:44 +0000 (07:25 +0000)]
TextTexture is now FontTexture - to better describe contents. TextTexture will now be a runtime-generated texture by font drawing.

git-svn-id: http://rokon.googlecode.com/svn/trunk@265 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoA small change for 1.5 compatability
rtaylor205 [Wed, 23 Jun 2010 21:33:07 +0000 (21:33 +0000)]
A small change for 1.5 compatability

git-svn-id: http://rokon.googlecode.com/svn/trunk@264 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoPoint objects (that is, Sprites, Objects etc.) can now have parents. When calling...
rtaylor205 [Wed, 23 Jun 2010 20:48:47 +0000 (20:48 +0000)]
Point objects (that is, Sprites, Objects etc.) can now have parents. When calling getX() and getY(), these will be adjusted relative to the parent Point.

git-svn-id: http://rokon.googlecode.com/svn/trunk@263 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoTextSprite and TextTexture now work. Basic bitmap-fonts can be drawn by OpenGL. Usefu...
rtaylor205 [Wed, 23 Jun 2010 20:25:53 +0000 (20:25 +0000)]
TextSprite and TextTexture now work. Basic bitmap-fonts can be drawn by OpenGL. Useful only for dynamic/quick changing text.

An overlay-type system for text will be included also, in a similar way to Replica Island

git-svn-id: http://rokon.googlecode.com/svn/trunk@262 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoUpdate TODO, TextureAtlas is working
rtaylor205 [Wed, 23 Jun 2010 19:37:05 +0000 (19:37 +0000)]
Update TODO, TextureAtlas is working

git-svn-id: http://rokon.googlecode.com/svn/trunk@261 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoTextureAtlas now implemented. For usage, care must be taken when stretching Textures...
rtaylor205 [Wed, 23 Jun 2010 19:36:44 +0000 (19:36 +0000)]
TextureAtlas now implemented. For usage, care must be taken when stretching Textures inside a TextureAtlas. The contents of neighbours may bleed. Though, you shouldn't be stretching Textures anyway if you want a nice looking game :)

git-svn-id: http://rokon.googlecode.com/svn/trunk@260 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoTODO list updated, TextTexture
rtaylor205 [Thu, 17 Jun 2010 22:13:54 +0000 (22:13 +0000)]
TODO list updated, TextTexture

git-svn-id: http://rokon.googlecode.com/svn/trunk@257 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoA few updates, TODO list gives information on what is going to be finished before...
rtaylor205 [Thu, 17 Jun 2010 15:52:37 +0000 (15:52 +0000)]
A few updates, TODO list gives information on what is going to be finished before 2.0.0 release

git-svn-id: http://rokon.googlecode.com/svn/trunk@256 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoMore work, including more input methods
rtaylor205 [Fri, 4 Jun 2010 20:26:09 +0000 (20:26 +0000)]
More work, including more input methods

git-svn-id: http://rokon.googlecode.com/svn/trunk@255 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoAnimation is now possible, see DrawableObject.animate methods. Either by start/end...
rtaylor205 [Fri, 4 Jun 2010 15:59:37 +0000 (15:59 +0000)]
Animation is now possible, see DrawableObject.animate methods. Either by start/end tile indices, or custom indices array.

git-svn-id: http://rokon.googlecode.com/svn/trunk@254 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoModifications, renaming
rtaylor205 [Fri, 4 Jun 2010 15:07:22 +0000 (15:07 +0000)]
Modifications, renaming

git-svn-id: http://rokon.googlecode.com/svn/trunk@253 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoMore work
rtaylor205 [Fri, 4 Jun 2010 14:43:32 +0000 (14:43 +0000)]
More work

git-svn-id: http://rokon.googlecode.com/svn/trunk@252 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoQuite a bit of refactoring, lots of classes renamed and structure redone. Seems to...
rtaylor205 [Thu, 3 Jun 2010 21:46:53 +0000 (21:46 +0000)]
Quite a bit of refactoring, lots of classes renamed and structure redone. Seems to all be working just as it was now - except, documentation is out of date! O noes

git-svn-id: http://rokon.googlecode.com/svn/trunk@251 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoMade room for Backgrounds, seems to be an issue with it, can't be bothered for now!
rtaylor205 [Thu, 3 Jun 2010 19:40:52 +0000 (19:40 +0000)]
Made room for Backgrounds, seems to be an issue with it, can't be bothered for now!

git-svn-id: http://rokon.googlecode.com/svn/trunk@250 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoA few little changes and updates
rtaylor205 [Thu, 3 Jun 2010 19:14:05 +0000 (19:14 +0000)]
A few little changes and updates

git-svn-id: http://rokon.googlecode.com/svn/trunk@249 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoAbility to make certain Layers ignore the Window. Required modifications to objects...
rtaylor205 [Thu, 3 Jun 2010 18:18:49 +0000 (18:18 +0000)]
Ability to make certain Layers ignore the Window. Required modifications to objects (to account for drawing when not in window) and Scene (checking for touchable objects). Should all work now.

git-svn-id: http://rokon.googlecode.com/svn/trunk@248 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoFixed touch events and Window, also new onTouchReal events - which retain the proper...
rtaylor205 [Thu, 3 Jun 2010 17:58:48 +0000 (17:58 +0000)]
Fixed touch events and Window, also new onTouchReal events - which retain the proper [still corrected for device size] coordinates

git-svn-id: http://rokon.googlecode.com/svn/trunk@247 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoTextures can now be tiled, like old Rokon. One difference - columns/rows/tileindex...
rtaylor205 [Thu, 3 Jun 2010 17:39:54 +0000 (17:39 +0000)]
Textures can now be tiled, like old Rokon. One difference - columns/rows/tileindex is 0-based (0,1,2 instead of 1,2,3). This has been done to simplify the math a little - and to fit in with the rest of things.

git-svn-id: http://rokon.googlecode.com/svn/trunk@246 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoFixed setRGBA bug, was previously only accepting integer values, changed to float
rtaylor205 [Thu, 3 Jun 2010 15:13:02 +0000 (15:13 +0000)]
Fixed setRGBA bug, was previously only accepting integer values, changed to float

git-svn-id: http://rokon.googlecode.com/svn/trunk@245 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoA little re-shuffle of classes, tidy things up as we expand
rtaylor205 [Thu, 3 Jun 2010 14:56:43 +0000 (14:56 +0000)]
A little re-shuffle of classes, tidy things up as we expand

git-svn-id: http://rokon.googlecode.com/svn/trunk@244 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoA little renaming (two steps - errors, not case sensitive, what the deuce?)
rtaylor205 [Thu, 3 Jun 2010 14:50:03 +0000 (14:50 +0000)]
A little renaming (two steps - errors, not case sensitive, what the deuce?)

git-svn-id: http://rokon.googlecode.com/svn/trunk@243 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoFix isOnScreen(), bug when using non-square rectangles
rtaylor205 [Thu, 3 Jun 2010 09:02:08 +0000 (09:02 +0000)]
Fix isOnScreen(), bug when using non-square rectangles

git-svn-id: http://rokon.googlecode.com/svn/trunk@242 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoFinal fix for physics, thanks to Mario from libgdx - who spent hours finding out...
rtaylor205 [Thu, 3 Jun 2010 09:00:22 +0000 (09:00 +0000)]
Final fix for physics, thanks to Mario from libgdx - who spent hours finding out what the problem was. See apistudios.com/hosted/marzec/badlogic/wordpress/?p=679 for details. Demo now runs > 50fps for 30 mins

git-svn-id: http://rokon.googlecode.com/svn/trunk@241 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agogit-svn-id: http://rokon.googlecode.com/svn/trunk@240 84f797ac-9f24-11de-b98f-4500b42...
rtaylor205 [Thu, 3 Jun 2010 08:56:02 +0000 (08:56 +0000)]
git-svn-id: rokon.googlecode.com/svn/trunk@240 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoRemoving libgdx.so, will be linking dynamically
rtaylor205 [Thu, 3 Jun 2010 08:53:14 +0000 (08:53 +0000)]
Removing libgdx.so, will be linking dynamically

git-svn-id: http://rokon.googlecode.com/svn/trunk@239 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoMore additions
rtaylor205 [Thu, 3 Jun 2010 08:52:40 +0000 (08:52 +0000)]
More additions

git-svn-id: http://rokon.googlecode.com/svn/trunk@238 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoWorking on a fix
rtaylor205 [Wed, 2 Jun 2010 21:22:23 +0000 (21:22 +0000)]
Working on a fix

git-svn-id: http://rokon.googlecode.com/svn/trunk@237 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agogit-svn-id: http://rokon.googlecode.com/svn/trunk@236 84f797ac-9f24-11de-b98f-4500b42...
rtaylor205 [Wed, 2 Jun 2010 21:09:29 +0000 (21:09 +0000)]
git-svn-id: rokon.googlecode.com/svn/trunk@236 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agogit-svn-id: http://rokon.googlecode.com/svn/trunk@235 84f797ac-9f24-11de-b98f-4500b42...
rtaylor205 [Wed, 2 Jun 2010 21:04:53 +0000 (21:04 +0000)]
git-svn-id: rokon.googlecode.com/svn/trunk@235 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agogit-svn-id: http://rokon.googlecode.com/svn/trunk@234 84f797ac-9f24-11de-b98f-4500b42...
rtaylor205 [Wed, 2 Jun 2010 21:04:33 +0000 (21:04 +0000)]
git-svn-id: rokon.googlecode.com/svn/trunk@234 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agogit-svn-id: http://rokon.googlecode.com/svn/trunk@233 84f797ac-9f24-11de-b98f-4500b42...
rtaylor205 [Wed, 2 Jun 2010 21:03:56 +0000 (21:03 +0000)]
git-svn-id: rokon.googlecode.com/svn/trunk@233 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agogit-svn-id: http://rokon.googlecode.com/svn/trunk@232 84f797ac-9f24-11de-b98f-4500b42...
rtaylor205 [Wed, 2 Jun 2010 21:02:50 +0000 (21:02 +0000)]
git-svn-id: rokon.googlecode.com/svn/trunk@232 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agogit-svn-id: http://rokon.googlecode.com/svn/trunk@231 84f797ac-9f24-11de-b98f-4500b42...
rtaylor205 [Wed, 2 Jun 2010 21:01:51 +0000 (21:01 +0000)]
git-svn-id: rokon.googlecode.com/svn/trunk@231 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agogit-svn-id: http://rokon.googlecode.com/svn/trunk@230 84f797ac-9f24-11de-b98f-4500b42...
rtaylor205 [Wed, 2 Jun 2010 20:57:51 +0000 (20:57 +0000)]
git-svn-id: rokon.googlecode.com/svn/trunk@230 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agogit-svn-id: http://rokon.googlecode.com/svn/trunk@229 84f797ac-9f24-11de-b98f-4500b42...
rtaylor205 [Wed, 2 Jun 2010 20:56:47 +0000 (20:56 +0000)]
git-svn-id: rokon.googlecode.com/svn/trunk@229 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agogit-svn-id: http://rokon.googlecode.com/svn/trunk@228 84f797ac-9f24-11de-b98f-4500b42...
rtaylor205 [Wed, 2 Jun 2010 20:55:26 +0000 (20:55 +0000)]
git-svn-id: rokon.googlecode.com/svn/trunk@228 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agogit-svn-id: http://rokon.googlecode.com/svn/trunk@227 84f797ac-9f24-11de-b98f-4500b42...
rtaylor205 [Wed, 2 Jun 2010 20:51:52 +0000 (20:51 +0000)]
git-svn-id: rokon.googlecode.com/svn/trunk@227 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agogit-svn-id: http://rokon.googlecode.com/svn/trunk@226 84f797ac-9f24-11de-b98f-4500b42...
rtaylor205 [Wed, 2 Jun 2010 20:47:34 +0000 (20:47 +0000)]
git-svn-id: rokon.googlecode.com/svn/trunk@226 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoUpdated svn:externals
rtaylor205 [Wed, 2 Jun 2010 20:42:36 +0000 (20:42 +0000)]
Updated svn:externals

git-svn-id: http://rokon.googlecode.com/svn/trunk@225 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoReshuffling, hang on
rtaylor205 [Wed, 2 Jun 2010 20:40:39 +0000 (20:40 +0000)]
Reshuffling, hang on

git-svn-id: http://rokon.googlecode.com/svn/trunk@224 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoJust a commit before some changes, hang on! Will be linking libgdx dynamically -...
rtaylor205 [Wed, 2 Jun 2010 20:36:18 +0000 (20:36 +0000)]
Just a commit before some changes, hang on! Will be linking libgdx dynamically - to help with any potential bugs that might be in there

git-svn-id: http://rokon.googlecode.com/svn/trunk@223 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoAdded working Window object, smooth transitions between positions/size (zoom) and...
rtaylor205 [Tue, 1 Jun 2010 21:01:39 +0000 (21:01 +0000)]
Added working Window object, smooth transitions between positions/size (zoom) and updated DrawableObject.isOnScreen to check for windows

git-svn-id: http://rokon.googlecode.com/svn/trunk@222 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoAdded automatic fading to Sprites, and setKeepScreenOn bug in RokonSurfaceView
rtaylor205 [Tue, 1 Jun 2010 16:34:43 +0000 (16:34 +0000)]
Added automatic fading to Sprites, and setKeepScreenOn bug in RokonSurfaceView

git-svn-id: http://rokon.googlecode.com/svn/trunk@221 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoFixed bug with physics, wasn't removing Body from World when Sprite is destroyed...
rtaylor205 [Tue, 1 Jun 2010 16:17:52 +0000 (16:17 +0000)]
Fixed bug with physics, wasn't removing Body from World when Sprite is destroyed - lead to degredation of frame rate with time.

git-svn-id: http://rokon.googlecode.com/svn/trunk@220 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoFinished work on physics for now, we'll let that wait until more time is available...
rtaylor205 [Tue, 1 Jun 2010 15:49:35 +0000 (15:49 +0000)]
Finished work on physics for now, we'll let that wait until more time is available + more people have tested the benchmark app

git-svn-id: http://rokon.googlecode.com/svn/trunk@219 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoScaled standard game size by 10 (game now 48f x 80f), more compatible with Box2D...
rtaylor205 [Tue, 1 Jun 2010 15:24:28 +0000 (15:24 +0000)]
Scaled standard game size by 10 (game now 48f x 80f), more compatible with Box2D - faster and better looking.

git-svn-id: http://rokon.googlecode.com/svn/trunk@218 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoSome optimisations - now only drawing if on screen. This needs optimising for rotated...
rtaylor205 [Tue, 1 Jun 2010 14:12:56 +0000 (14:12 +0000)]
Some optimisations - now only drawing if on screen. This needs optimising for rotated objects (or testing, to see if that would save much processing time)

git-svn-id: http://rokon.googlecode.com/svn/trunk@217 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoUpdate for physics
rtaylor205 [Mon, 31 May 2010 22:54:35 +0000 (22:54 +0000)]
Update for physics

git-svn-id: http://rokon.googlecode.com/svn/trunk@216 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoImplemented NDK version of Box2D, written by the people behind libgdx - appears to...
rtaylor205 [Mon, 31 May 2010 22:21:36 +0000 (22:21 +0000)]
Implemented NDK version of Box2D, written by the people behind libgdx - appears to be some minor problems with Box2D, but able to render many sprites, very quickly. Impressive results.

git-svn-id: http://rokon.googlecode.com/svn/trunk@215 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoPreparing PhysicalObject
rtaylor205 [Fri, 28 May 2010 20:09:12 +0000 (20:09 +0000)]
Preparing PhysicalObject

git-svn-id: http://rokon.googlecode.com/svn/trunk@214 84f797ac-9f24-11de-b98f-4500b42dc123