Jump to content


Photo
* * * * * 1 votes

String Distortion


  • Please log in to reply
47 replies to this topic

#41 OMGCarlos

OMGCarlos

    GMC Member

  • GMC Member
  • 329 posts
  • Version:GM:HTML5

Posted 06 October 2011 - 05:20 AM

Whoa very nicely done! It's one of those things you don't really look for, but once you find it you can't imagine why you didn't look for it earlier lol. I am definitely using this in my next project!

The only issue I have is that you don't have the code stored in scripts. If you did that, users could call an explode script for example and set the explosion distance which would make a really cool "firecracker" effect, where different words explode in different sizes. This will give the user a lot more control, that way I could pass the mouse_x/mouse_y positions to mx/my OR the position of an object...this would allow you to have a ball bouncing around the screen pushing the letters on its own for instance.

Really though, this is an awesome set of examples!
  • 0

#42 Dark Matter

Dark Matter

    RPG Expert

  • GMC Member
  • 3196 posts
  • Version:GM:Studio

Posted 06 October 2011 - 05:45 AM

Whoa very nicely done! It's one of those things you don't really look for, but once you find it you can't imagine why you didn't look for it earlier lol. I am definitely using this in my next project!

Thanks :P

The only issue I have is that you don't have the code stored in scripts. If you did that, users could call an explode script for example and set the explosion distance which would make a really cool "firecracker" effect, where different words explode in different sizes.

Yeah, that's a good idea. I may add it in if I get some free time.
  • 0

#43 max_r_61270

max_r_61270

    GMC Member

  • New Member
  • 411 posts

Posted 06 December 2011 - 11:35 PM

This is VERY cool and I'd love it in my game. Too bad YoYoGames didn't have the foresight to develop GM Mac using Game Maker 8 instead of Game Maker 7
  • 0

#44 Dark Matter

Dark Matter

    RPG Expert

  • GMC Member
  • 3196 posts
  • Version:GM:Studio

Posted 07 December 2011 - 07:01 AM

This is VERY cool and I'd love it in my game. Too bad YoYoGames didn't have the foresight to develop GM Mac using Game Maker 8 instead of Game Maker 7

I'm pretty sure that there aren't any GM8-only functions being used in this example. If you just copy and paste the functions, it should work...
  • 0

#45 Ruub

Ruub

    GMC Member

  • GMC Member
  • 409 posts
  • Version:GM:Studio

Posted 06 December 2012 - 07:48 PM

I'm bringing this topic back to #1 yo B) B) B)
  • 0

#46 Dark Matter

Dark Matter

    RPG Expert

  • GMC Member
  • 3196 posts
  • Version:GM:Studio

Posted 07 December 2012 - 04:51 PM

Well, it's nice to see it getting some attention, but what did you actually think of the system?
  • 0

#47 Ruub

Ruub

    GMC Member

  • GMC Member
  • 409 posts
  • Version:GM:Studio

Posted 10 December 2012 - 10:52 AM

Well, I didn't do that because I thought nothing of it, did I? Though I guess I can give some critisism! :biggrin:/>/>/>

So, I love how you can for the first time ever in findable Gamemaker history, you can write in every angle on a line that is free of shape and distort it
while writing anything you want though, ofcourse there is room for improvement. Just some ideas I guess:

The angle distortion destroyes the quality of the writing, possibly having the user have to drop this way of having text angle. Though I didn't yet test it in Studio which has a new way of angle drawing.

Calculating the distance between letters so they won't 'touch' which might give a more attractive effect!

Do the same for sprites etc. For example a user may want to have a wave animation of self drawn non-font-able letters.

Just had this brilljant idea for maybe have the text move over the line: imagine it going from the left to the right over the line. Like a train.

Make some example uses for this system, there are users here who are interested in really learning how to code etc. and those who just want to make an awesome game (the bigger part I think) and don't really
care about the code itself (like me). Even an example needs to be a little atractive if most people want to appreciate it, for some did not develope enough imagination to see bigger potential.

Also I have no idea how bigger parts of the code works, that is fine because I might learn later on. It does mean though that me manipulating the code, will be really, really hard and I might have trouble if I'd want to
use this in my game in a slightly different way and can not reach that desired effect.

Edited by Ruub, 10 December 2012 - 10:55 AM.

  • 0

#48 Dark Matter

Dark Matter

    RPG Expert

  • GMC Member
  • 3196 posts
  • Version:GM:Studio

Posted 10 December 2012 - 05:33 PM

1. Yes, that's entirely down to GM's rotated text rendering system. I haven't tried it in Studio either - I'm not sure how it fares.
2. That's a possibility, although automatic kerning adjustment may make it look a little odd. One would have to play around with it and see.
3. Yeah, that's definitely a feature that could be added in the future, if I was still working on it. I don't think it'd be too hard to add yourself if you wanted.
4. You mean like <marquee>? What functional use could that possible have?
5. I could definitely write a couple of examples, but I can't think of many other uses for it other than special effects. If you have any ideas, do suggest them.
6. Yes, this system was based quite heavily off the fact that to achieve other effects users could program them in themselves - once you understand GML quite well, it's quite simply written, but it is an issue for more intermediate users. If I ever feel like working on this again, I'll try to come up with a more simplified system for working with the characters.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users