BROO's Forum Posts

  • At the moment Construct doesn't seem to support unicode characters. AFAIR that was meant to be fixed after v1.00.

  • You create sprites. Each of them is different sprite.

    You give every of these sprites two animations:

    -> Default (that is made at sprite creation)

    -> MouseIsOver (in animator editor you press "Add New Animation" and you rename new animation name)

    In animation "Default" go into edition of frame (double-click on frame) and then load graphics from PNG file - that's second button from top toolbox in picture editor. Load your graphics of Mouse-NOT-Over.

    Do the same with frame in "MouseIsOver", but load Mouse-Over.

    When you made one sprite with one button, make rest three the same way.

    Now each of those sprites give family - on the left properties bar you select -> "Groups -> Families -> Add New". All sprites must belong to the same family.

    Also create "Mouse & Keyboard" object in layout editor.

    Now in event sheet editor add event:

    Conditions: MouseKeyb -> Mouse Is Over Object? -> Select that Family

    Actions: Family -> Set Animation -> "MouseIsOver"

    Add new Event (below this one)

    Conditions: System -> Else (now you should see that those events are connected, meaning that "else" is related to the event above)

    Actions: Family -> Set Animation -> "Default"

    I'll try that in a minute.

    Edit: works

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That's much problems at once . I can provide some advise about "order of taken items". IMO ListBox Object would do just fine, since it allows adding, insertion and deleting items in every place. So even rearranging their positions would be easy.

  • I'm quite surprised that "Create Object Sprite" didn't modify SOL for "Friend" family .

    In that case you'll have to pass two parameters with function: mouseX and mouseY and affect only object(s) which has those X Y coordinates:

    <img src="http://www.republika.pl/tymczasownik/events.png">

    You can also do it with "initialization" private value (I'd recommend that one since it's more universal). In that case you give all object of this family a private value "init" with default value 0. And in function "NewThing" you select only those, whose "init" = 0. When their actions (in this case flashing) is started, then you set their "init" to 1. Also on start of level you set all objects' "init" to 1 to avoid them flashing when first object is created.

    <img src="http://www.republika.pl/tymczasownik/events2.png">

  • I don't quite understand what you're saying. But if you're about to make event create the same object, as it was picked from family, then you can do this trick:

    1. Add to every object from family a Private Variable (name it for example "thisObjectName") - make it have a string.

    2. For every type of sprites give this PV a name of objects name. So if you have in family objects like:

    SpriteA

    SpriteB

    SpriteC...

    Populate their "thisObjectName" PV with:

    "SpriteA" for SpriteA object

    "SpriteB" for SpriteB object

    "SpriteC" for SpriteC object and so on

    When family object is selected by an event in event sheet, you can make use of System's action: "Create Object By Name". This one doesn't need you to select object from list, you just can order it creating an object with string you store in "thisObjectName" private variable.

    If your family is "green" then you write green('thisObjectName') to return its PV value.

  • Math doesn't tell a thing about how many memory is allocated for initialization of object in VRAM and how much single pixel needs bits to be represented.

    Aeal now try to figure out if I know what does these things mean .

  • Since Text needs place in memory to render its text I'm quite sure it also needs some VRAM allocated.

    What Aeal does with his plugin in nothing of my concern. However, I don't like the idea to have this 'local variables system' integrated with IDE (meaning they'll go into 'System' ACEs or they'll be included as standard plugin in every new Construct build).

    Aeal your behaviour is clearly irritating now. Consider changing it, because it's troublesome to have conversation with people calling others "stupid".

  • The first problem with this topic is calling "using Sprite's PVs" a workaround. This is so intuitive and easy to handle local variables that it doesn't even deserve to be called "a workaround".

    Please don't add unnecessary ACEs to "System" object. Construct needs compromise between number of ACEs to master and their power. The more there are ACEs, the harder is Construct to learn.

    Quazi I hope you don't get serious Aeal's talking about "saving VRAM". He can't be serious ^^.

  • If there's a guy that'll come to conclusion "Oi! I need local variables" faster than noticing "Sprite object has private variables" then I'll be surely surprised.

    The more ACEs or Plugin duplicating the existing ideas, the bigger mess you get in ACE list / Plugin list.

    Edit:

    I mean, I don't mind you guys making plugins. But if you won't make really helpful one, then nobody will bother downloading it. And even if some novice guy will use it, but he'll later encounter a problem and send up Needing-Your-Plugin CAP file, I won't be bothered searching for CSXes or even installing provided one. That'll make mess in my nice and tidy Construct Sanctuary and will force me to get to know new solution's I won't use (what for?).

  • 404'ed.

  • Applying Local Variables mechanism would take much more memory than single small sprite Aeal, believe me.

  • Do not want it. This is just another source of data (we have PVs, Hash Tables, Arrays, Global Variables at the moment, it's much enough). And it'll take some more ACE entries.

  • "Celebrities" ^^'. I don't know why some of you are getting excited because of the "famous boys" coming to Scirra Forums? What would that change? I just don't understand, would anybody explain it to me please?

  • If you mention some guys you find to be popular, add some links please.

  • Rectangle selection example. Use it if you want x---).

    Screenshot:

    http://www.republika.pl/tymczasownik/rect.png

    [attachment=0:1uhlia9c][/attachment:1uhlia9c]