Dieses Thema ist schon älter. Manche Angaben beziehen sich vielleicht auf eine frühere Version von Visionaire Studio. Aktuelle Anleitungen
Die kostenlose Version reicht für bis zu 25 Szenen pro Projekt. Für mehr Szenen und den Verkauf deines Spiels brauchst du eine Lizenz. Hier im Forum bekommst du das Indie Bundle mit dem Code FORUM15 15 % günstiger: 84,15 € statt 99 €, gültig bis 31.12.2026.Black Friday: Bis 01.12.2026 gibt es das Indie Bundle 30 % günstiger, 69,30 € statt 99 €. Der Code BLACKFRIDAY ist schon eingetragen.
15 % Rabatt sichern Kostenlos testen-- get visibility
Interfaces["int_example"].Buttons["btn_example"].Visibility
-- set visibility
Interfaces["int_example"].Buttons["btn_example"].Visibility = 50
-- set visibility with tweening (fade between current value to another value over time)
Interfaces["int_example"].Buttons["btn_example"]:to(1000, {Visibility = 50})Change the location? As for the transparency/visibility field, I believe that's tied to the button itself & not the sprite.example:-- get visibility Interfaces["int_example"].Buttons["btn_example"].Visibility -- set visibility Interfaces["int_example"].Buttons["btn_example"].Visibility = 50 -- set visibility with tweening (fade between current value to another value over time) Interfaces["int_example"].Buttons["btn_example"]:to(1000, {Visibility = 50})
Thank you that worked very well for my purposessadly the documentation is all over the place, there are useful snippets in the wiki and a more up to date list on the luadocs. That's where you can find the Visibilty attribute.http://www.visionaire-studio.com/luadocs/index.html#buttons-2If I understand correctly, the two states provided by active and inactive image of the button are not enough for your purpose. You could use animations and force specific animation frames to display.ActiveAnimations["name"].AnimationFirstFrame = 1
ActiveAnimations["name"].AnimationLastFrame = 1
Dieses Thema ist geschlossen, weil hier seit über einem Jahr niemand geantwortet hat. Stell deine Frage gern in einem neuen Thema.
Neues ThemaDeponia, The Whispered World und über 160 weitere Spiele sind mit Visionaire Studio entstanden. Die kostenlose Version reicht für bis zu 25 Szenen. Für mehr Szenen gibt es Visionaire Studio PRO ab 75 €, für den Verkauf deines Spiels das Indie Bundle für 99 €.
Bis 01.12.: das Indie Bundle mit dem Code BLACKFRIDAY 30 % günstiger, 69,30 € statt 99 €.