• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

data type

  1. S

    GameMaker Player Inputs Setting to True?

    I have this input script: key_attack_lmb_up = ((((point_direction(x,y,mouse_x,mouse_y) >= 45) && (point_direction(x,y,mouse_x,mouse_y) < 135))) && (mouse_check_button_pressed(mb_left))); key_attack_lmb_right = ((((point_direction(x,y,mouse_x,mouse_y) >= 315) &&...
  2. A

    Can GML tell the difference between data types?

    I'm having trouble with ds_exists() because it checks if an index maps to a particular data type, but it seems the index is unique to the data type, so can be reused between data types. var map = ds_map_create(); // has index of 0 var list = ds_list_create(); // has index of 0 // checks if...
  3. F

    How to determine the size (in bytes) of the built in data types?

    I am trying to make a networking game, but I don't know how much memory I should allocate within packet buffers for built in data types (e.g. x, y, object_index, sprite_index, etc.). Is there a way to determine how big (in bytes) the built in data types are? I know that there are the "is_****"...
  4. J

    Legacy GM Send char* over network_send_udp()

    When sending information over my LAN to my server (c++) by building up a buffer, and using network_send_udp(), I cannot interpret what comes across. The server is set up to read in a c++ char* type data, and I would like to be able to send a string (or numbers) that can be interpreted correctly...
Top