How do I design a Logo via Fonts

0 favourites
  • 15 posts
From the Asset Store
Forget about default textbox restrictions, you can create sprites atop of the textbox
  • Hello,

    i just stumbled over some nice demos via Mathematica.

    I want to now if its possible to edit TTF Fonts via C2 like it is done in this demos found on mathematica.

    Its nice to have the abitlity to edit "vector" files rather then sprites.

    You need to have a CDF Player from Wolfram but you can see the preview via GIF animation.

    http://demonstrations.wolfram.com/IntegerRotationPatterns/

    http://demonstrations.wolfram.com/CharacterRotationPatterns/

    http://demonstrations.wolfram.com/DesigningALogo/

  • C2 does not support vector graphics by default. Although there is nothing stopping you from just using multiple text objects with webfonts and rotating/arranging them as you please.

    You might be able to do something with the Canvas or Paster plugins by rojohound as well.

  • Thanks, any chance for a simple mechanic tut via capx?

  • Thanks, any chance for a simple mechanic tut via capx?

    Canvas and Paster definitely sound like your best options if you want to change fonts geometrically.

    I have no tutorials as I've only ever seen them in action but not tried them myself.

    Although I managed to create a decent bit of animation on the title card of one of my games.

    I don't have a gif but the link to it is the first icon you'll find on my sig.

    I cut the title card into several segments and simply put sine behavior and different effects on each.

  • https://www.dropbox.com/s/zlwgowk8mny96 ... .capx?dl=0

    Seemed like a quick fun exercise. I started running into some issues though, so I didn't finish.

    PS - 7s seem particularly interesting to work with, I'll be filing that away for future use myself <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

  • oosyrag U Sexy MF <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

    could you please give some inside details about your code mechanic?

    some parts seems to be higher thinking.

    e.g.: "repeat int(TextBox(1).Text) times" or: System pick by evaluate Text2.IID>0

    Also here is the orginal with some more functions:

    http://imgur.com/TxOVQ1C

    in mathematica the sliders have a little play & pause buttons, the slider plays from 1 to last value automatically. Is this possible too.

    the last Value Size seems not to work.

    is it possible to get colored fonts too?

    Why is there a debug field, how can it be helpful.

    When i look at your code i see that my way in learning C2 is only a few steps from a start away.

    i have to LEARN HARDER!

  • I made heavy use of Instance IDs since it was a quick hack. I don't recommend using this type of approach in any larger project. It isn't very easily readable, as you can see, and also can introduce problems when creating/destroying objects. In this case it was a controlled scenario so I used IIDs.

    Repeat int(TextBox(1).Text) - This means take text in instance 1 of textbox (the second one), and convert it to an integer

    System pick by evaluate Text2.IID>0 - This means pick every instance of Text2 as long as the IID is greater than 0. This basically means pick all Text2s except for the very first one.

    Yes it is possible. You can set the slider bar value through actions in your events.

    Didn't get around to size, as I said I didn't finish it. I got stuck on rotation - the rotation amount gets reset when changing the other values.

    It is possible to get colored texts through events as well. Refer to the manual.

    I always use debug sprites/variables as a sanity check to see if and when events run (by making debug sprite visible in an event, I know that event ran), as well as checking what values get returned by expressions (by saving the result into a debug variable)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hello oosyrag, whats is the better approach or alternative to Instance IDs? Can you show a example?

    The Value in the C2_Designer is a number, can it easyly converted to the ABC?

    Any chance we see a fixed version for your last version on the size value, as it seems i can fix it by myself.

  • Basically, IIDs can change if you destroy or create new instances of the same object. That is why it is normally best not to use IID when you need to refer to a specific instance. Using UID or an identification instance variable is generally more reliable.

    The value can be easily converted into ABC - Set the slider properties minimum and maximum to allow 26 values, and then convert to each letter. For example If Slider value=0, then set Textbox to A. If 1, then B, if 2, then C, ect. An array or dictionary may be useful here to keep it clean, but not required.

    I could finish it myself, but you stand to gain much more if you do it. Use event 3 as a template, give it a shot. Post what you've tried and I can let you know how to continue.

  • Thank oosyrag will fiddle on & give results here.

  • oosyrag,

    i little more into it, thanks for your help.

    here a version with working bolderness and some grouping done.

    a method for the ABC instead of numbers.

    not working because the second sliderbar is reseting back to numbers.

    as you wrote above :"an integer" can only hold numbers?

    how can i hide the middle number/symbol?

    https://www.dropbox.com/s/vpuaw20lvx3t2 ... .capx?dl=0

  • Ok I'm going to answer you from this last post rather than the PMs, it is very hard to follow what issues you have and haven't fixed when you send me so many messages (I have to sleep and work too). Also there is a capx here to work with so -

    First off, you can hide the center symbol a few ways - the simplest is to make it invisible on start of layout. A second way is to have it invisible by default, and whenever you create new instances, set those visible upon creation. A third way would be to not have it exist at all. Technically it isn't necessary, but I thought it was nice to have a point of reference for the other events, as well as a visual representation of the various slider settings. It would be my intention to hide/remove it for a final version anyway.

    So I had used event 2 to set every textbox to the slider value every tick to have a realtime representation of the slider values. (I tried the sliderbar "on changed" condition as well, but this only triggers when you let go of the sliderbar, so I decided to go with every tick). This event as it is only works for numbers though. Since you have letters now, you'll need to make an exception for that slider. You can do this by changing the first TextBox only to the correct letter after all the other TextBoxes have been updated.

  • Here is the example for what I talked about in the previous post (still recommend you give it a shot yourself first) - https://www.dropbox.com/s/tahx4o10h5c6f ... .capx?dl=0

    I also solved the rotation issue too. There are still small issues with the font size (changing the other sliders after you set the size) but you should be able to figure that one out on your own at this point!

  • thanks oosyrag, yes after you teased me with this little code image, i got into it and questions came up like wow. thanks for giving out excellent details on solving this kind of stuff. will give some updates later.

  • Hey,

    so this is the last one, i have got. i would love to get a list of different fonts to select via sliderbar.

    Any chance to get a example of a range limiter for the sliderbars e.g. the first sliderbar select the ABCs.

    i want to be able only to set up a range for N-M.

    https://www.dropbox.com/s/xhn58ufjcqrgd ... .capx?dl=0

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)