Re: What happens if you try to put bgt object variables into dictionaries?

Yes, you can put objects into dictionaries. Just be sure to use the [ a-t ] sign, otherwise you'll get a null pointer error.
However, the serialization functions do not work with objects, so you can't use this to save and load directly. I mostly use object dictionaries for movelists and the like.
For saving objects in BGT, you're stuck needing functions to convert objects to and from strings. Yes, for complex objects, this is a pain.

_______________________________________________
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Developers room : keithwipf1 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Omar Alvarado via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : brian . kurosawa via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : x0 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Trajectory via Audiogames-reflector

Reply via email to