I'm trying to figure out what's happening with the 'ord' function. I want to insert an ord character (0 to 31 UTF). how do I do this?
test_variable += chr(13);
test_variable += ord(13);
test_variable += chr(ord(13));
test_variable += ord(chr(13));
I want to insert a UTF control character in a...
NOTE: Sorry I did not realize this question was going to be so long. Don't waste time answering each sub-question it was more of a broad stroke thing just wanted to get some general advice. (It's not just a print keyboard string to screen and I'm done, there's a bit more to it than that.)
I'm having a break from my main project to work on some form controls. I'm currently writing a text box control.
I am perfectly happy with the code I have at the moment so I really don't want to completely restructure it in order to fix the following issue.
The gap between each letter either...
I wrote the following code to create the queuing text boxes like the tutorial, but then when I started running the game the textbox didn't appear. Can anyone help me ??? Thanks a lot! <3
Here's the code of Newtextbox's script:
if (instance_exists(oText)) _obj = oTextQ; else _obj =...
Hey guys i need help with this code...
Mouse Left Pressed -
msg = get_string_async("What's your name?","Anon"); // It create window dialogue box.
Asynchronous Dialogs event -
var i_d = ds_map_find_value(async_load, "id");
if i_d == msg
if ds_map_find_value(async_load, "status")
I'm making a 2d game in gamemaker 2 and when I export and open the exe-file there pops up a fatal error.
I have no clue what the problem is. I can play my game flawlessly in the gamemaker project, but when I play it as an exe file this error pops up.
I draw a sprite rotated and horizontally flipped.
I do it with draw_sprite_ext and with draw_sprite_general, but I get a different outcome with each, despite having the same variables.
With draw_sprite_general, flipping the sprite seems to set the origin to center? I don't know and I can't...
So I need up to 6 players to enter their name. That's it!
I know how to make 1 textbox, but not how to make multiple boxes that you need to select before typing a name in it. Any help would be appreciated! :)
The code I currently have for 1 working textbox comes from this page...
I'm currently working on an open-source project in which you can create a textbox with one single command.
I've been working on it for a long time now, trying to improve it in every way I could.
I was wondering if the way I am doing it right now is...
I'm trying to make a point and click game with tutorials appearing when you click on different object,
But i'm really bad at coding and i can't find what i really want on the tutorials
Maybe someone can help me, i just need the code for the basic following process :
GM Version: GMS2
Target Platform: All
In this tutorial, we'll make an RPG textbox, which allows multiple messages, with names and images.
I have created a quest, but I don't know, how to create a working textbox after completing the quest.
I've tried couple of this beginner would do but didn't work.
I have a working textbox when interacting with npc and each npc has set what to say when interacted.
Here are codes I've used in...
so, I made a simple textbox to one NPC, but in the first interaction, the text goes out of the box, but if you interact again, it's normal
help pls ;-;
text = "nothin";
page = 0;
xBuffer = 5;
yBuffer = 5;
boxWidth = sprite_get_width(textbox);
I have looked everywhere for a normal text box than can scroll (not the typing diolong box).
I want press F1 and the insturctions for my game pop up and let the players scroll through it like a normal widow text.
Would to eat up to much memeory if I just make a 960x540 sprite and...
Hey, I'm super new to game maker and I found a textbox engine (https://github.com/glitchroy/textboxy | Textboxy) that I want to use for my game. I have no Idea how to use it in my project though. Do I have to drag all the files into my project somehow?
i got a question for the forum, at the moment i have a basic way to make a cut scene with a textbox, but it feels tedious and i was wondering if i could make it simpler. heres how it works:
when the player presses Z on a specific object, it will take him to a room and then the cut...
so i downloaded
this textbox engine and its working fine, but the issue im having is when the text is finished, it deletes itself. all i want it to do is get rid of the text, not the whole object. heres the code /(sorry if Ive been a bit of a nuisance online)
i was just wondering if it was possible to make a line of text only appear when a player comes in contact with the object, and presses (in this case) Z;
my code is this at the moment, is saying the text with the player being on the object, but when i press Z it goes to the next line...
so im trying to make my textbox fit into a room of 200 by 220 but i dont know how im following this mans video and ill give the link and i know im not finished yet but i dont know what to do.
Here is the code:
/// create variables
//when true draw text and stop player...