Corwin
1cbc371d3e
go through colours in order rather than randomly
2023-05-07 23:41:17 +01:00
Corwin
64308a993c
use mag squared
2023-05-07 00:47:38 +01:00
Corwin
83c511a186
neaten the letter M
2023-05-06 23:59:47 +01:00
Corwin
7ae3afab6c
add example for no_game
2023-05-06 22:54:22 +01:00
Corwin
cb8b42d416
don't use the loader
2023-05-06 22:53:09 +01:00
Corwin
d4314213da
use palette in no game to save on not useful aseprite file
2023-05-06 22:45:30 +01:00
Corwin
f95d68187b
make dynamic sprite better
2023-05-06 22:45:05 +01:00
Corwin
e8479c093b
add macro to import a palette from a sprite
2023-05-06 22:44:43 +01:00
Corwin
13f0eaf5b0
add more colours
2023-05-06 20:31:52 +01:00
Corwin
54340358bc
remove unused import
2023-05-06 19:44:08 +01:00
Corwin
1d7cc04cbf
more colours
2023-05-06 19:11:39 +01:00
Corwin
0271da6d43
add a no game
2023-05-06 18:50:35 +01:00
Corwin
400abe5b31
Release v0.15.0
2023-04-25 21:51:29 +01:00
Corwin
68e981f3c8
Objects, again, again ( #402 )
...
* A redesign of objects giving the option of a more managed and an
unmanaged system.
* Managed system features
* Z ordering (should be efficient, based on a doubly linked list).
* More than 128 objects if some are disabled (not currently efficient).
* Unmanaged
* Same sprite system as before.
* You control how objects get put in to OAM with the unmanaged OAM.
TODO before this is mergable:
* [x] Docs pass, aim for everything to have docs as before.
* [x] Tests, some of these needs some run time testing.
* [x] Affine matrices, I'm not leaving this to die this time.
* [x] Some API redo, so the names make sense / are similar to before.
Future work:
* The Sprite loader should keep most recently used sprites around and
upon allocation of a new sprite try unloading the least recently used
sprite. (Performance wise this would be a disaster as it would be doing
dealloc and alloc in vblank, so really we want to "learn" how much
buffer we should maintain and try to get that during GC).
- [x] Changelog updated
2023-04-25 21:14:49 +01:00
Gwilym Inzani
9835f81b5f
Maybe make the build faster by using the same settings for all crates
2023-04-25 20:22:44 +01:00
Gwilym Inzani
8e152f05c9
Ensure mod tests is at the end
2023-04-25 20:06:52 +01:00
Corwin
3ec9bd2610
Merge remote-tracking branch 'upstream/master' into new-objects
2023-04-23 20:44:46 +01:00
Corwin
94a8e2d4c3
add deprecation for old names
2023-04-23 20:41:42 +01:00
Gwilym Inzani
6355ac0df7
Extract agb hashmap ( #418 )
...
Pulls out the hashmap to its own crate. Allows us to use this in interop
code between agb and desktop code and also gives us the ability to run
miri on it to make sure we're not running into any crazy unsoundness
bugs.
- [x] Changelog updated / no changelog update needed
2023-04-23 19:25:33 +01:00
Corwin
b75481b88e
Merge remote-tracking branch 'upstream/master' into new-objects
2023-04-23 18:56:07 +01:00
Corwin
14c7028aa0
reverse change of name
2023-04-23 18:55:23 +01:00
Gwilym Inzani
d80e3f876e
Extract agb hashmap to its own crate
2023-04-23 17:39:00 +01:00
Corwin
da61ba78ae
remove alloc error handler
2023-04-23 12:50:15 +01:00
Corwin
e26a9c2c24
Merge remote-tracking branch 'upstream/master' into new-objects
2023-04-22 00:46:41 +01:00
Corwin
7e1f996d90
correct doc test
2023-04-22 00:40:06 +01:00
Corwin
6417570a51
add docs
2023-04-21 17:14:51 +01:00
Gwilym Inzani
6575a067b5
Fix documentation compilation
2023-04-18 20:07:08 +01:00
Gwilym Inzani
293bb15c7b
Don't need this any more now I'm finished debugging
2023-04-13 22:46:03 +01:00
Gwilym Inzani
f53cd9b25a
Write some terrible documentation
2023-04-13 22:06:06 +01:00
Gwilym Inzani
eac350b391
Replace example usage with the new macro
2023-04-13 22:01:37 +01:00
Gwilym Inzani
65877b1d32
Delete this file now
2023-04-13 21:53:28 +01:00
Gwilym Inzani
cb127c7924
New include_gfx macro
2023-04-13 21:53:13 +01:00
Gwilym Inzani
5f59a01c21
Use .take() rather than replace(..., None)
2023-04-12 13:49:22 +01:00
Corwin
fc5ce97db4
Release v0.14.0
2023-04-11 21:28:22 +01:00
Corwin
aea64e974f
change of language
2023-04-11 20:59:45 +01:00
Corwin
f59e4ad322
various micro optimisations
2023-04-07 01:40:27 +01:00
Corwin
4f19d6c240
forbid slot drop and move slot on set
2023-04-06 23:34:30 +01:00
Corwin
69b1ea5e47
fix brackets
2023-04-06 21:47:21 +01:00
Corwin
c608458247
start on writing docs. A long way to go...
2023-04-06 21:45:32 +01:00
Corwin
c84e81299b
improve the migration
2023-04-06 21:45:32 +01:00
Corwin
cdc2eed01d
unsafe arena added (may remove later)
2023-04-06 21:45:30 +01:00
Corwin
e690dda0f5
add test that my ordering code is right
2023-04-06 21:45:03 +01:00
Corwin
d6006c7808
rename parts of objects
2023-04-06 21:45:03 +01:00
Corwin
d183b8373d
pull out where to write
2023-04-06 21:45:03 +01:00
Corwin
875d53c040
add rotation to sprite example
2023-04-06 21:45:03 +01:00
Corwin
7265576e2a
fix affine matrix copying
2023-04-06 21:45:03 +01:00
Corwin
0e9910c517
copy affine matricies at copy time
2023-04-06 21:45:03 +01:00
Corwin
354cf7addc
keep and drain affine matricies
2023-04-06 21:45:03 +01:00
Corwin
63088f2907
affine matricies!
2023-04-06 21:45:03 +01:00
Corwin
8d23af010f
remove unused import
2023-04-06 21:45:03 +01:00