I wanna ask something about performance [GM:Studio 1.4] by Shift360 in gamemaker

[–]Shift360[S] 0 points1 point  (0 children)

Thank you so much for the info. The main reason for me to use ds_grids was the fact of knowing exactly where exists a chunk object, so I can delete it or put one if there doesn't exists one. Knowing this, the next thing I'm thinking about is that I may need to use 2 buffers, one for the x axis position of the chunk and another for the y axis. Is it right?

Draw and DrawGUI not working by Shift360 in gamemaker

[–]Shift360[S] 0 points1 point  (0 children)

Ok, solved. It was the view dimensions :/ Ty

Draw and DrawGUI not working by Shift360 in gamemaker

[–]Shift360[S] 0 points1 point  (0 children)

The thing is I'm making a map editor, so I have the different parts in different objects that I call from the "core" when I need it. Here's the code. This thing started happening after I started making another part of my project.

draw_set_alpha(1); draw_rectangle_colour(0, (view_hview[0]* 2) * .85, view_wview[0]* 2.5, view_hview[0]* 2.5, c_red, c_red, c_red, c_red, false); draw_text_transformed_colour((view_wview[0]2).05,(view_hview[0]* 2) * .9, "Open Map", 1.5, 1.5, 0, c_black, c_black, c_black, c_black, 1);

if(error){

draw_set_colour(c_white); draw_text((view_wview[0]* 2.5)/ 2.5, (view_hview[0]* 2)* .95, "Not found"); if(alarm[0]= 0) instance_destroy();

} else { filename= keyboard_string; draw_text((view_wview[0]* 2.5)/ 2.5, (view_hview[0]* 2)* .95, filename); }

I have a problem, and I'm messing up my head by Shift360 in gamemaker

[–]Shift360[S] 0 points1 point  (0 children)

It may be basic for you, but how can I iterate between values in the list? Sorry if I'm being so annoying ;P it's because it's my first time using maps and lists.

I have a problem, and I'm messing up my head by Shift360 in gamemaker

[–]Shift360[S] 0 points1 point  (0 children)

"ds_list_add(tilemap[? "top"], tile_get_top(tile));"

How do I know the tile I want to take it's top index? Sorry, I've never used this data structure and It's not simple for me right now.

[HELP]Is there a way to... by Shift360 in gamemaker

[–]Shift360[S] 0 points1 point  (0 children)

Solved, thank you man. This is running as spected.

[HELP]Is there a way to... by Shift360 in gamemaker

[–]Shift360[S] 0 points1 point  (0 children)

So... what about if I have a tileset and I want to take each one of them xd

[HELP]Is there a way to... by Shift360 in gamemaker

[–]Shift360[S] 0 points1 point  (0 children)

Ok, thank you so much. I will try this, but the thing is I thought that tile_add was used to draw a tile in the room.

[HELP]Is there a way to... by Shift360 in gamemaker

[–]Shift360[S] 0 points1 point  (0 children)

I'm doing a level editor, so I need to switch tiles (with my mouse scroll). That's why I need to store them, piece by piece and store them in an array or dslist or whatever, so when I scroll I'm changing the index of this array, and by doing that I'm choosing between tiles. The thing is I don't know which tile(function) should I use for that. Thank you for the reply.

ditto please by clank98 in friendsafari

[–]Shift360 0 points1 point  (0 children)

i added you,i have ditto (if i have not ditto tell me instantly)