Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: Entity containers scalable??  (Read 3039 times)

0 Members and 1 Guest are viewing this topic.

organican

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 74
    • View Profile
Entity containers scalable??
« on: October 01, 2004, 06:15:24 PM »

I tried to make an entity (entiry container) inside a window to be resized or Scaled.
It just couldn't work.

In the entity's script I added
 this.Scalable=true;
this.Scale=50;

It still didn't work.
I made sure I had SCALABLE=TRUE in the entyty's entity file.
It still didn't work.

What am I doing wrong?
Ordinary entities inside the scenes can be scaled.

This would be really cool cause I'm using pictures during conversations and stuff.
I'm also using it to display what item you're currently using.

So as you can see this would be really neat.

So I'm just asking: can this be done?
« Last Edit: October 01, 2004, 06:21:20 PM by organican »
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Entity containers scalable??
« Reply #1 on: October 01, 2004, 06:25:18 PM »

The entities stored in entity containers are intentionally non-scalable. I made it so, because it was quite confusing when the entity in a window got affected by scene scaling depending on window's position.
But the truth is, it was done before the .Scale attribute has been introduced. Now it would be better if entites were non-scalable only unless the user manually overrides the scale. Good point, organican, I'm adding it to my TODO list.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.022 seconds with 19 queries.