Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

Disable Scaling Entirely?

  • #1, by ygmantell 8 years ago Zitieren
    So my game is an isometric type game, similar to STASIS.  Because of this, I really don't need the scaling functionality at all, and it's causing problems when setting waypoints, etc.

    Is there a way to just disable it entirely?
    (Maybe a checkbox in the main game settings in future versions? smile )

    Thanks!
  • #2, by esmeralda 8 years ago Zitieren
    I don't think there is a global setting for it, but if you don't set the scale via the waypoints there will be no scaling. That means "no scaling" is the default state of every game.
    Plus you can untick the checkbox in the character properties regarding the scaling.
  • #3, by ygmantell 8 years ago Zitieren
    Hm... So I made my character a little bigger than I needed, then changed the scale factor to 50 in the character properties so it is the size I want.  I guess that's what messed it up.  But, if I don't set any scale in the waypoints, it still messes up.  So, I set the first point to 50 then it was fine from then on.
    I guess I just misunderstood the scaling system to begin with.

    Thanks!
  • #4, by esmeralda 8 years ago Zitieren
    Changing the general scaling factor only works if you tick the scale-character-box.
    But it doesn't show in the preview in the wayponts-tab. So it's a bit harder to find the right size. Especially if you combine general scaling and scaling via waypoints. (which I don't recommend)

    So you could just use the general scaling and forget about setting the size in the waypoints. But you need to start the game to see if the size of your character is the right size.

  • #5, by ygmantell 8 years ago Zitieren
    Got it.  I did experiment a bit and found that 50 is the right size for my character. But, it seems that even if I don't set a scale factor per waypoint (and just leave it at -1) it still gives me issues.  I could just work around it and set it individually per waypoint though.

    Thanks!
  • #6, by afrlme 8 years ago Zitieren
    Just create 2 way points on vertical axis outside of the way border for each scene. Set same value for both. Leave all way points inside of the way border set as -1.

    Also if you disable scaling for the character via the properties tab, you could set a custom scale value for the character with Lua script.
    game.CurrentCharacter.CharacterSize = 50

  • #7, by ygmantell 8 years ago Zitieren
    Ah, got it! Thanks so much!
    ...Stupid question: Would that lua bit go in the script editor as a seperate script, or in an execute script action part?

    Thanks!
  • #8, by afrlme 8 years ago Zitieren
    You could call it at the start of each scene. Or add it inside of an execute a script action part for the first frame of each of all your characters animations. Calling it once at the start of the scene should be enough though.
  • #9, by ygmantell 8 years ago Zitieren
    Cool, thanks!