lp:jag-gt

Created by Piotr Tkaczyk on 2015-05-30 and last modified on 2016-02-17
Get this branch:
bzr branch lp:jag-gt
Only Piotr Tkaczyk can upload to this branch. If you are Piotr Tkaczyk please log in for upload directions.

Related bugs

Related blueprints

Branch information

Owner:
Piotr Tkaczyk
Project:
Just Another 2D Game - Stage 1: Get there
Status:
Development

Recent revisions

32. By Piotr Tkaczyk on 2016-02-17

minor fixes in Arrive steering and added few UTs

minor:
- new: UT for Arrive steering
- fix: corrections in Arrive for corner cases

31. By Piotr Tkaczyk on 2016-02-16

align/face steering final version (100% working)

normal:
- change: refactored and fixed align steering
- fix: ut for align working as expected

30. By Piotr Tkaczyk on 2016-02-16

moved align and moving logic into sterring behaviors

major:
- new: face and align steerings
- new: arrive steering
- new: unit tests for align steering

normal:
- change: some changes in tank objects to reflect use of steerings
- change: some Vector template improvements

29. By Piotr Tkaczyk on 2016-02-10

added some realism to Tank's movements

normal:
- new: acceleration and deceleration is used by Tanks
- fix: precise braking distance computation with soft stoping
- change: various changes in tanks' movement algos (i.e. more data in play.xml configuration)

minor:
- new: added player/ai tank id info for logs
- other: some code cleanup

28. By Piotr Tkaczyk on 2016-02-07

major:
- fix: world (tiles) and tanks are now moving correctly respective to player's input

minor:
- change: removed some code due to Tiled different level structure

27. By Piotr Tkaczyk on 2016-02-06

moved to single Vector (templated) implementation and

normal:
- remove: removed Vectro2D and Vector3D implementation, replaced by template version
- update: all code now uses new templated Vector
- change: all code moved to float version - int is practically abandoned

minor:
- change: whenever required only at the end cast to int is made
- change: double changed to float as nowhere such big precision is required, for now... got rid of some casting

26. By Piotr Tkaczyk on 2016-02-05

major changes - moving, scroling, locating and chasing player

major:
- new: map allows to specify starting position of player and AI
- new: improved tank rotating
- new: AI is now chasing player
- new: map is scrolling with player (due to use of worldOffset)
- new: space pauses game
- new: shift speeds up player's tank
- new: generic code for aligning towards specified target

general
- change: some code refactoring and other small improvements
- new: keyboard event - any (i.e. released, just pressed etc) with special handling

minor:
- change: some cleanup and reformatting

25. By Piotr Tkaczyk on 2015-12-31

important:
- new/fix: tanks are now rendered above map tiles - so time for them to step teleporting around...

24. By Piotr Tkaczyk on 2015-12-30

major:
- new: code to load level data from XML file (i.e. made by Tiled)
- new: initial very simple level 01 data
- new: well, did I mention LEVEL data now is loaded??

normal:
- new: tile rendering for texture manager - required for level display
- new: at this stage displayed tanks are teleported on left/right clicks and their turrent rotate to point at current mouse's location
- new: ASSURE macro for runtime checks with some debug information in case of errors - improved and moved to own file
- new: added geters for some program options
- new: gzip'ed data decoding - required in level parsing (with tests)
- new: base64 data encoding and decoding - required in level parsing (with tests)

minor:
- new: checkedGet for safe XML attribute reading now accepts optional argument to allow no data
- change: added method for data Vector to easly handle in place addition
- fix: render/draw names correct usage

23. By Piotr Tkaczyk on 2015-10-25

teleporting and rotating tanks! ;x

important:
- new/fix: play state now is working (loaded, displayed, handles callbacks)
- new: tank object class initial implementation
- improve: updated tank's xml config
- fix: float compare fix
- new: gfx manager now uses pseudo reference counting for loaded textures

normal:
- improve: improvements and fixes for generic vector class
- improve/fix: game state and game objects update() method now receive time difference to correctly handle time based changes

small:
- new: all drawable object received z-order field to enforece correct drawing sequence

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers