wrapping

  1. C

    Discussion Sprite Editor - Copy/Paste from other program is wrapping image by 4 px

    I'm wanting to use GMS2 almost exclusively for the paint-while-playing function. I'm testing using it for basic shapes to get silhouettes done quickly, then shading and effects.. however it seems to wrap 4 pixels from the right side of anything I copy from other software and place it on the...
  2. M

    How do i move_wrap like in Towerfall Ascension?

    I just started studying GM, and i am testing move_wrap. It is pretty cool and neat, to be able to wrap with a single function, but i am trying to understand how to achieve a result more similar to what you can see in Towerfall Ascension. By that i mean, that my object will not be disappear and...
  3. C

    GML [SOLVED]: Parsing Strings ignoring substring

    So I don't want to create a book out of my problem, here it is: I have a string, say 'Hello [c:yello]friend[c:default]! How are you?'. That string has tags (starts with [ and ends with ]) inside of it for colors. Now, I'm trying to make a draw_text_ext that ignores said tags, but manually...
  4. E

    Legacy GM Wrap Around Issue

    Hi, So, lets say I have a rectangular sprite/object (with: width = 500, height = 100)... and I give it some hspeed and apply the DnD wrap around to it... is there any way to have the object wrap around to the opposite side of the screen, simultaneously, as it is leaving the screen? Right now...
  5. C

    Lag while wrapping

    It may part/parcel with GM but I notice considerable lag during an object wrap. My game assigns an hspeed to background objects (The player only appears to move). I had to write my own seamless wrapping code which places duplicate background trees beside the original. When the original is...
  6. C

    Moving objects at same hspeed

    Hey gang, My game is composed of three background objects: rocks, trees, and blossoms. The blossoms are separate objects because enemy blood splatters against it. Initially, the player object moved across the level. Now I've given the background objects a global hspeed to give the illusion of...
  7. N

    Outside room wrap issue

    I have been using the drag and drop wrap in both directions. But i am having issues with objects getting stuck outside of the room or ignoring the wrap somehow. This generally happens 10% of the time. Is there a better way of doing a wrap? Maybe with GML. If possible id rather the objects wrap...
  8. C

    Wrapping or Parallax?

    Hi all, My game is mobile device based. The player itself does not move, but rather the objects behind it (think flappy bird) when the user swipes left/right. I have a rock object that spans the entire level. People have suggested making it into a background. This is an option, though I already...
  9. C

    Is a Wrapping Background practical?

    Hi Gang, I commandeered another thread to ask this question, but the thread got buried. I'm working on a mobile game where enemies approach from left and right. Think Kung Fury: Street Rage. The player character initially moved towards enemies. But once they reached the level end it was obvious...
Top