GameMaker: Studio

GameMaker: Studio

View Stats:
Gabriel Apr 13, 2017 @ 1:52pm
Complete Fish AI
/* This is a complete working fish school example AI, no external assets needed 1. Create an object and place the code in create respective draw 2. Place the object in a room. Done! Use it to watever you want. :) */
Last edited by Gabriel; Apr 19, 2017 @ 3:25pm
< >
Showing 1-4 of 4 comments
MrDave Apr 13, 2017 @ 2:43pm 
############################################################################################
FATAL ERROR in
action number 1
of Draw Event
for object obj_fish:

trying to index a variable which is not an array
at gml_Object_obj_fish_DrawEvent_1 (line 18) - var pd = point_direction(fish_x, fish_y, fish_L_x[fish_follow_id[i]]+fish_xoffset, fish_L_y[fish_follow_id[i]]+fish_yoffset);
############################################################################################
MrDave Apr 13, 2017 @ 2:48pm 
I realised the Steam forums have stripped lots of your code out that you had in square brackets. You need to put it all in a code block
like this
Gabriel Apr 19, 2017 @ 3:22pm 
Well it did change the code anyways but I added a link to it on google docs. :)
Last edited by Gabriel; Apr 19, 2017 @ 3:26pm
Ostry_sos Mar 24, 2022 @ 12:02pm 
Hello Gabriel :)
You can make tutorial for Fishing in Top-DOWN rpg/farm game in Gamemaker Studio 2?
I use this tutorial from Shaun to make free game but I dont know chow make fishing minigame or normal fishing without minigame.

https://www.youtube.com/watch?v=8KD4_2CHLR0
Last edited by Ostry_sos; Mar 24, 2022 @ 12:07pm
< >
Showing 1-4 of 4 comments
Per page: 1530 50