rokon:rokon.git
7 years agoMany updates, see CHANGLOG diff master
rtaylor205 [Sun, 5 Sep 2010 08:19:26 +0000 (08:19 +0000)]
Many updates, see CHANGLOG diff

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

7 years agoMany updates, nearing 2.1.0 release, see CHANGELOG
rtaylor205 [Tue, 17 Aug 2010 07:33:33 +0000 (07:33 +0000)]
Many updates, nearing 2.1.0 release, see CHANGELOG

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

7 years agoFew more updates, few more things crossed off the bug report list, thanks everyone
rtaylor205 [Sun, 8 Aug 2010 17:27:48 +0000 (17:27 +0000)]
Few more updates, few more things crossed off the bug report list, thanks everyone

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

7 years agoMore fixes / updates
rtaylor205 [Sun, 8 Aug 2010 17:17:35 +0000 (17:17 +0000)]
More fixes / updates

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

7 years agoFixed touch screen bug, thanks to @adeluiz for spending time finding out the cause!
rtaylor205 [Wed, 28 Jul 2010 18:44:41 +0000 (18:44 +0000)]
Fixed touch screen bug, thanks to @adeluiz for spending time finding out the cause!

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

7 years agoA few more updates and fixes, going to fix the MotionEvent bug after this
rtaylor205 [Wed, 28 Jul 2010 17:25:06 +0000 (17:25 +0000)]
A few more updates and fixes, going to fix the MotionEvent bug after this

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

7 years agoA number of fixes, from bugs submitted at Issues, thanks guys
rtaylor205 [Sun, 25 Jul 2010 09:41:35 +0000 (09:41 +0000)]
A number of fixes, from bugs submitted at Issues, thanks guys

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

7 years agoTexture fix, now loads any image (PNG / JPG etc.). May use more memory for a short...
rtaylor205 [Sat, 24 Jul 2010 16:49:44 +0000 (16:49 +0000)]
Texture fix, now loads any image (PNG / JPG etc.). May use more memory for a short while, if this is a problem, might be wise to put an optional disable on here.

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

7 years agoMajor update, next release will be 2.1.0 - a whole new rendering technique.
rtaylor205 [Sun, 11 Jul 2010 13:08:42 +0000 (13:08 +0000)]
Major update, next release will be 2.1.0 - a whole new rendering technique.

A multi-threaded approach (heavily inspired by Replica Island) with double buffered render queues.

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

7 years agoRemoving my fail.
rtaylor205 [Fri, 9 Jul 2010 10:44:08 +0000 (10:44 +0000)]
Removing my fail.

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

7 years ago2.0.3 tag
rtaylor205 [Fri, 9 Jul 2010 10:42:18 +0000 (10:42 +0000)]
2.0.3 tag

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

7 years agogit-svn-id: http://rokon.googlecode.com/svn/trunk@352 84f797ac-9f24-11de-b98f-4500b42...
rtaylor205 [Fri, 9 Jul 2010 10:41:21 +0000 (10:41 +0000)]
git-svn-id: rokon.googlecode.com/svn/trunk@352 84f797ac-9f24-11de-b98f-4500b42dc123

7 years agoFinal few updates ready for 2.0.3 release, there are a couple of known
rtaylor205 [Fri, 9 Jul 2010 10:40:33 +0000 (10:40 +0000)]
Final few updates ready for 2.0.3 release, there are a couple of known

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

7 years agoMore work, see CHANGELOG
rtaylor205 [Thu, 8 Jul 2010 08:37:31 +0000 (08:37 +0000)]
More work, see CHANGELOG

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

7 years agoFix for TextSprite when PRIORITY_NORMAL
rtaylor205 [Wed, 7 Jul 2010 12:07:21 +0000 (12:07 +0000)]
Fix for TextSprite when PRIORITY_NORMAL

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

7 years agoFix for NullPointerException in TextSprite
rtaylor205 [Mon, 5 Jul 2010 19:54:07 +0000 (19:54 +0000)]
Fix for NullPointerException in TextSprite

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

7 years agoSome updates, again see CHANGELOG
rtaylor205 [Mon, 5 Jul 2010 15:12:52 +0000 (15:12 +0000)]
Some updates, again see CHANGELOG

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

7 years agoMinor update, an extra glClear was there for no apparant reason.
rtaylor205 [Mon, 5 Jul 2010 01:50:32 +0000 (01:50 +0000)]
Minor update, an extra glClear was there for no apparant reason.

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

7 years agoI'm stupid. Stupid stupid stupid stupid stupid. Thanks to advokate at android-dev...
rtaylor205 [Mon, 5 Jul 2010 00:51:57 +0000 (00:51 +0000)]
I'm stupid. Stupid stupid stupid stupid stupid. Thanks to advokate at android-dev IRC.

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

7 years agoWorking on N1 + Emulator
rtaylor205 [Sun, 4 Jul 2010 11:23:40 +0000 (11:23 +0000)]
Working on N1 + Emulator

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

7 years agoHaving MAJOR issues with Activity lifecycle, works on some devices + not others....
rtaylor205 [Sun, 4 Jul 2010 09:21:48 +0000 (09:21 +0000)]
Having MAJOR issues with Activity lifecycle, works on some devices + not others. Currently working on my N1, but not on Droid... Seems very tough to fix, if at all possible with plenty of device-specific code (no thanks)

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

7 years agoSome more work, again
rtaylor205 [Sat, 3 Jul 2010 16:00:01 +0000 (16:00 +0000)]
Some more work, again

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

7 years agoA few more changes, some work with touches (handling rotated objects, etc). See CHANG...
rtaylor205 [Fri, 2 Jul 2010 22:16:37 +0000 (22:16 +0000)]
A few more changes, some work with touches (handling rotated objects, etc). See CHANGELOG diff

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

7 years agoSeveral updates, see CHANGELOG for details. Thanks to everyone for suggestions via...
rtaylor205 [Fri, 2 Jul 2010 18:46:37 +0000 (18:46 +0000)]
Several updates, see CHANGELOG for details. Thanks to everyone for suggestions via the forum, and bug reports via Issues. Things seem to be going nicely.

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

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