draw -> file -> .png (tutorial predatorxprey - step 7)

10 views
Skip to first unread message

PedrO Phelipe

unread,
Apr 22, 2018, 12:31:48 PM4/22/18
to GAMA
hello everyone, i`m starting using GAMA and i`m doing the predator x prey tutorial.
in the step 7 (http://gama-platform.org/tutorials#PredatorPrey_step7) appear that " 'draw' can not draw objects of type file"
how can i fix it?

Benoit Gaudou

unread,
Apr 22, 2018, 5:13:22 PM4/22/18
to gama-p...@googlegroups.com
Hi,
I cannot find where you read that draw cannot draw objects of type file in the tutorial step 7.
In particular, this step show you how to use icon file to display agents with an image.
You can see the results in models of the models library (in particular in model 8 of the Prey predator).

Best Regards

Benoit

--
You received this message because you are subscribed to the Google Groups "GAMA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gama-platform+unsubscribe@googlegroups.com.
To post to this group, send email to gama-p...@googlegroups.com.
Visit this group at https://groups.google.com/group/gama-platform.
For more options, visit https://groups.google.com/d/optout.

PedrO Phelipe

unread,
Apr 23, 2018, 12:19:07 AM4/23/18
to GAMA

Hello, i`m using the model shown at http://gama-platform.org/tutorials#PredatorPrey_step7, first i was using GAMA1.7 then i updated to 1.8, but the same happenned.
i tried to check the model version at the library but the version at library (http://gama-platform.org/references#PredatorPreyLotka-VolterraInfluenceofIntegrationStep) and it was not using draw.
i found the http://gama-platform.org/references#PredatorPreyModel07 and i could see my error.. at tutorial it says "file my_icon;" the right is "image_file my_icon;"
now its working!
Thank you!




Em domingo, 22 de abril de 2018 18:13:22 UTC-3, Benoit Gaudou escreveu:
Hi,
I cannot find where you read that draw cannot draw objects of type file in the tutorial step 7.
In particular, this step show you how to use icon file to display agents with an image.
You can see the results in models of the models library (in particular in model 8 of the Prey predator).

Best Regards

Benoit
2018-04-22 17:05 GMT+02:00 PedrO Phelipe <new.pe...@gmail.com>:
hello everyone, i`m starting using GAMA and i`m doing the predator x prey tutorial.
in the step 7 (http://gama-platform.org/tutorials#PredatorPrey_step7) appear that " 'draw' can not draw objects of type file"
how can i fix it?

--
You received this message because you are subscribed to the Google Groups "GAMA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gama-platfor...@googlegroups.com.

Benoit Gaudou

unread,
Apr 23, 2018, 4:35:19 AM4/23/18
to gama-p...@googlegroups.com
Hi,
You perfectly right there was a mistake in the tutorial on the GAMA website / tutorial.
I just made correction on the Github wiki, it should take a few time for the website to be updated.

Thank you for having reported this mistake !

Cheers

Benoit

To unsubscribe from this group and stop receiving emails from it, send an email to gama-platform+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages