• 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!

string

  1. J

    Legacy GM Need help with get_integer_async [SOLVED]

    Hey, i never did something like working with strings and numbers together and i'm from germany so please dont talk about my english^^ I already posted this and i still need help but no one answered at the old post so some one already tried to help me with this code: Create: ih_amount = -1...
  2. M

    DrawEvent - Help me understand! *SOLVED*

    Hello, I'm working on a NPC dialogue system for my 2d adventure game. And I will go straight to my problem: I made a parent object (obj_npc_parent) that has a string variable (speach) in it's create event. It also has a draw event in which it draws the string (speach) in the room. This works...
  3. J

    Legacy GM Input (get_string_async) [SOLVED]

    Hey, i never did something like working with strings and numbers together and i'm from germany so please dont talk about my english^^ My code is something like this: global.amount = get_string_async("Wie viel willst du aufladen?","") global.v = 0 string_digits(global.amount) global.v =...
  4. R

    Is there an expression for the x,y location of the character in a string?

    Hi Everyone! I was wondering if there was a way to handle/find the x,y coordinates of a character at a given location in a string? To give it some context, I'm currently adapting Heartbeast's dialogue tutorial to my own uses and I was wondering if there is a way I could basically tell my game...
  5. Cloaked Games

    Windows String Input for an Enumerator

    Hello, I am programming a survival game, and in order to more efficiently test the many different items in the game, I am working on a command system in game that will give the player every item. (Before I had just been temporarily programming keyboard buttons that gave the items I was testing.)...
  6. 2

    Given "String" of Name Return Background Index, Object Index

    How do I... 1. return the index of a tile (meaning what background it's using) given a "string" in quotes containing it's name. eg. After I find there's a tile I use this if background_get_name(tile_get_background(tile_found))="grass_tile" ,but how do I turn that into a background index...
  7. Z

    Signpost problem

    Not too long ago I have watched Shaun's video tutorial on how to make a walk by signpost were you walk by and the text string appeared above. However I thought that making multiple variables would help make multiple signs with a single object. Placing them in the room I thought that addressing...
  8. H

    Asset - Scripts [FREE] STRICT - STRIng CompacTor

    STRICT (short for STRIng CompacTor) is a set of scripts that provide a simple way to compress and decompress short strings. It's a simple implementation of a dictionary based replacement, but it can achieve a decent compression ratio on short strings compared to more sophisticated general...
  9. I

    I need code. . . .

    What I need is : code that stores the letters from a string to an array to put in the create event. code for drawing the letters from that array, from last letter to first next to eachother, In the drawing event. Anyone can make an example gmx file and send it my way?
  10. I

    string_copy can't be called from a variable?, alternative?

    I think this deserves it's own post so here goes : TL;DR:I want to use string_copy in adjust_arabic_text but i can't use it in the draw event because it makes the game slower and can't call it from a variable because string_copy wouldn't work. I have downloaded this extension which makes game...
  11. I

    convert string to function?

    lets say i have 'game_end()' stored as a string in a variable, is there anyway for me to call the string from the variable and execute it as the function it is?
  12. I

    is there a way to reverse string_copy?

    I used a program to make game maker studio render Arabic by reversing the letters and other stuff (it only uses fonts in the project) and i still wanted to draw the text letter by letter by using string_copy function, problem is, now the text renders from last word to first word as in This...
  13. MusNik

    Asset - Scripts PhyRope - Physics Rope, Chain and Bridge

    Download: https://marketplace.yoyogames.com/assets/3402/physics-rope-chain-and-bridge PhyRope system can be used for creating ropes, chains, bridges and other elastic attachable objects. You can apply different textures on it, attach each end of the rope to certain object. You can detach...
  14. X

    Legacy GM Check for a string in a text file?

    So, I looked through some text file and list commands and read a bit about them. For some reason I can't figure out how to code it so that the program checks whether the 0th, 1st or whichever line has a certain text in it. I know that's not what text files are really for in and of themselves...
  15. A

    Asset - Scripts FREE Simple RPG Dialogue Box Script

    For Game Maker Studio DOWNLOAD LINK Here you go you beautiful bastards! NOTE: I am still developing this thing so I need as much feedback as possible so that if there are any errors in the code, I can optimize it regularly. Be sure to give feedback. Thanks for all of your support. ...
  16. Dragon47

    Asset - Extension Text Inputs - GM Studio 1

    Demo: https://www.mediafir...qpb1o0g0uaztqrs Poor input boxes make your game look and feel unprofessional, and can ruin the important first impression of a player. But they're a pain to program properly. With this text input extension you can avoid dozens of hours of UI programming, and get...
  17. Dragon47

    Asset - Scripts GML Regular Expressions (free)

    Download demo: http://www.mediafire.com/download/f2yknhxm7049xbt/GML+Regular+Expressions.exe With this asset you can create and compile regular expressions to nondeterministic finite state automata and check if strings match them. It's all written in GML, so it's easy to export to multiple...
  18. Surgeon_

    Asset - Scripts Turbo Print Parser - Advanced text output formatting

    OVERVIEW: -Name: Turbo Print Parser -Version: 1.0 (Updated 25th of July 2016) -Purpose: Advanced text output formatting -Game Maker version: Studio (probably could be backported) -Target Platform: Any -Price: $2 -Documentation (.txt): Dropbox link -View on Marketplace: Link DESCRIPTION: >>This...
  19. Appsurd

    Asset - Scripts Simple string_split script

    Introduction Appsurd presents you the superuseful and handy script: string_split(substr, str, ignoreEmptyStrings) ! It works on GMS 2.3+. The script returns an array which contains the splitted string. You may also choose a substring which is longer than one character! Of course the script is...
  20. Sebastian Wich

    Getting the game version as a string

    Hey Guys, How can I include the current game version of my Android game as a visible string in the game? Have a nice day, Sebastian
Top