Kazan's Forum Posts

  • This is probably fairly basic but maybe I've been trying to do this for too long.

    I'm trying to do a simple effect really. When I left click with the mouse I want a specific layer to rotate smoothly to -30 degrees.

    Using lerp this is what I got:

    Set layer 0 angle to lerp(layerangle(0),-30,0.5*dt)

    Now that works...kinda, but when I click it only rotates in small increments, it doesn't completely rotate in one smooth motion to -30 degrees. I have to keep clicking repeatedly.

    Tried doing this with other layer effects as well like scale and position, same deal.

    Oddly enough, if I use an on mouse button down instead of just clicking it works fine (well, it repeats endlessly but it works).

  • Kyatric

    I've been watching a lot of The Wire lately :P

    Great input so far, differentiating characters by having them swear more is interesting.

    Seems that so far the general consensus is to take it easy with the cuss words and to use them for "impact". I agree, I don't want dialogue revolving entirely around harsh language of course. But it's surprisingly difficult to find a middle ground with it sometimes.

    I'm not quite sure how swear words would "pull" me out of the game though so maybe someone could clarify. Do you mean that if a character says the "F" word for example you might find it say.. shocking? And that's what breaks your immersion?

    Thanks a lot guys!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I prefer Zbrush's UV master, but 3D coat is indeed a tool I mess around with a lot.

    Glad to see it's getting more and more popular.

  • Hi there guys, I would like some of your opinions on cursing in video games.

    I've been writing a game script, a murder mystery set in the modern day. You play as a police detective who is... *shock* trying to catch a serial killer.

    I'm keeping the content fairly adult oriented for the most part. So a little bit of swearing is natural. But I find that when it comes to writing the dialogue for these characters that I just want to make every other word a curse word for some reason. It's just how a lot of people talk nowadays, especially in the police profession.

    My question is, how much do you think is too much? Does it not bother you at all? Do you hate it? Are certain words not appropriate compared to others? etc. etc.

    This is actually an issue that as a writer I've been struggling with for some time. You're feedback will be most appreciated :)

    Discuss!

  • <img src="smileys/smiley26.gif" border="0" align="middle" />

    Thanks lol

  • Hmm, this is getting there. One more issue has cropped up though.

    If you try using the same destination text box (DestText) more than once, the text gets displayed immediately instead of being typed out. Most likely because you haven't told the count to reset, so it stays at whatever value it ended at.

    How do you reset the value of "len(DestText.text)" though.

  • And that will work completely offline? Wow. It's confusing to me though, if I can just import a font, why do I need a .css sheet at all?

    Oh well...

    Thanks a lot Wildmedia, I'll try this out when I get home tomorrow!

  • Hi all,

    I'm working on a desktop game, exported with awesominium, a game that has a LOT of dialogue in it. I want to use a custom font for the game but I'm really running into some road blocks trying to do that.

    Bitmap fonts are out of the question, the Spritefont plugin creates multiple cached textures of each text instance, so that just isn't realistic when it comes to performance. Especially in a game that has 50+ text instances on each layout. I may as well just create static .png files of each dialogue in photoshop >.<

    Web fonts are also a no go, I can't force players into a game that requires an always on internet connection just to download a single font.

    *sigh* This is getting quite depressing actually.

    Then I saw this: ruel.me/blog/2011/02/03/using-google-fonts-locally

    If I'm reading that right, I understand I can download a custom font, but basically "fake" it as a web font, even though it's stored locally.

    Would that work? I'm not able to test this myself as I won't be able to get in front of Construct for the next few days. I hope it does, I'm out of options here =

    Any ideas?

    Thanks for listening to me ramble...

  • Thanks, I'll mess with it but I seriously doubt math will ever be my friend.

    Would anyone be able to provide a simple example using this method with what I want to do? Would make learning this a whole lot easier.

  • I just want to do some basic things with my menus and a few in-game sprites. A dialog box sliding in from below, or buttons and text sliding in from offscreen for example. By themselves w/o input from the player.

    I tried using some dt expressions but that seems needlessly complicated for some simple automatic movement and I couldn't figure out how to stop them from moving either. animating this in seems wasteful too. Any help?