KawaiiNya's Recent Forum Activity

  • Ok, finally get it =(

    It's ObjectName.VariableName

    Double sorry =)

    And triple thanks.

  • Or Object.Name or similar.

  • Nope. Still dont get how to do it.

    I have Mouse - On button Clicked... and then im stuck.

    Ok, I have "Console" text area... I know I can to add text to it.

    But which expression i have to use?

    There isn't something like Object.Get("Name")

  • When you click the bush it gets the variable from it but you need to store it somewhere to compare later. Then you can pick all instances again and limit them by where name = variable and destroy them.

    Yes. And that is my question - how to get variable to store... or... ahh, im starting to understand - when i clicked an object i already get all variables from it and just need to store that i need.

    Many thanks!

  • If you use the mouse object condition 'on object clicked' it will pick the instance you are clicking, then as an action you can set a variable to object.name and you have it stored.

    I dont need to set variable, i need to get variable.

    For example i have 10 bushes, 5 roses and 5 daisies.

    I click for random buch and need to destroy all bushes of the same type.

  • I have 10 same sprites, some with same value of variable "Name" (string), and some with different value.

    I need to get "Name" of clicked sprite to change all sprites with same "name".

  • For example to sprite or SVG?

    Tagged:

  • You do not have permission to view this post

  • So i cannot use CSS to style game objects by normal means, only to style HTML elements that opened via browser object?

  • Have a layout "Title" with 3 buttons.

    One of buttons have an ID "ng"

    Have a title.css with a simple code

    	#ng {
    		border-radius: 10px;
    	}
    

    It doesn't work. Do i need to somehow include title.css in layout?

    And how to style all buttons at once?

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
KawaiiNya's avatar

KawaiiNya

Member since 18 May, 2021

None one is following KawaiiNya yet!

Trophy Case

  • 3-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

5/44
How to earn trophies