format

  1. giraffeman210

    GameMaker All Sound Files Broken

    So anyone else have this fun experience where all of your sound files in your game just break all at once? When I go into the folders it says they are all PCM format and it's not supported. First off, these are all regular mp3 files. Second they have worked for years and now all of them just...
  2. D

    NPC sprite direction (need help)

    I have this test NPC, but it wont change its sprite direction. I think it has to do with the fact that I'm using an image_index based on direction: direction = point_direction(x,y,other.x,other.y); image_index = CARDINAL_DIR How would I format/structure this into a switch statement...
  3. C

    GML [Solved] Zero Padding a number as a string

    I'm creating a clock for my game and I'm having issues with zero padding the numbers. I could use if statements and I will if necessary, but that's ugly code. In python I'd simply use: '{:02d}:{:02d}'.format(minutes, seconds) My output would be: 01:24 or 03:07 or 12:05 The point is to add the...
  4. Kentae

    [Solved] Create custom file format

    I just have a simple question this time. Is it possible, within GMS 1.4, to create your own file format? To explain further: Say you have all the info for a 3D model, vertecies, normals, UVs and so on, and you want to export this as your own custom format. How, if possible without a DLL, would...
  5. O

    Icons, Format Factory

    When you're testing or publishing your game it's nice to have your own high quality icon. I found a decent program called Format Factory 4.2.0 that allows me to take an image I made with the sprite editor and convert it to an icon file. *Edit I have used some free online converters on websites...
  6. J

    Need some string help

    good evening everyone, i am working on a personal project, a unique calculator for a gaming work place that is needed and i was told to help with it (Game maker is amazing) lol the software is completed, however there is just this ONE thing I don't like. the strings come out as 123456789 when...
  7. S

    Writing a large number to shorter format

    I want to know how to write a large number in a shorter format. Conditions-> 1> I have a variable ' Y ' increasing at a non-uniform rate 2> Let's say, if Y = 2243054, I want to write it as 2243 K +54. 3> Considering the above example, let's have arrays d[1]= 2243 and dx[1]= 54 So how to make...
  8. Carl Nylander

    Question - Code [Shader] vertex_format_add_custom

    Hello community! I'm having trouble using vertex_format_add_custom(). I know there have been trouble using it before but now I can't even use my workaround from GMS 1.x. Using the following code will throw an error in the console "Draw failed due to invalid input layout"...
  9. Shadow64

     [SUGGESTION] Text Formatting Functions

    Hi there. I previously posted this as a bug, but was asked to open it as a suggestion in the forums. I've been told that if there is enough desire shown in the thread for this kind of functionality then the team will possibly add it to the list. I figure it's worth a shot! So please sound off...
  10. M

    Reading An OBJ File (Help Please!)

    Hello, GMC! This is my first thread and post on the forums! I wasn't sure where to post this, but I figured that this part of the forum felt like the right place, especially in the 'Program' section. If this thread was not meant for this section - just let me know! Perhaps a moderator can move...
  11. C

    Number format like in most programming languages

    So today I've worked on a system in my game with date and time. And it went all good, until I've realized there's no "Number_Format" function like in some other programming languages that will prefix the number with zeros. I've designed this function to work like a similar function in C...
  12. M

    Changing a vertex position

    Is there a possible way to change a vertex position within a vertex buffer format?
  13. 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...
Top