Thank youu!! Works perfectly now :)
I'm loving it btw, it's very nice to work with, thank you for your work!
thanks for the response! hmmm if I do that the menu just pops out immediately. If I use set_force_width and set_force_height instead of changing the tween_width and tween_height values for the return tween, I can see the animation play but the menu is at a different position for some reasons, more at the bottom at a higher Y... Any idea what could be causing this?
Hey! Sorry about that it was just a mistake of mine actually. On another note, I have a question : how do you make a menu scale down to disappear. I understand it's by using using the tween function, and it works greatly for scaling up, but for some reasons when I try to scale down it instantly goes to the desired size and do a scale up to go in the previous size.
Here's some of my code :
//Create
box_width = 1000
box_height = 200
og_width = box_width/2
og_height = box_height/2
flex = new AutoUiFlexContainer(AuiDirection.vertical,og_width,og_height,AuiDrawAnchor.MIDCENTER);
flex.set_spacing(14)
flex.set_nine_slice_sprite(spr_black_textbox)
flex.set_padding(100,100,100,100)
flex.set_tween(true,true,true,true)
flex.reset_lerp_target(1,0)
flex.tween_type = AuiTweenType.EaseInOutExpo
flex.tween_speed = 0.05
//Alarm 1 To scale up
flex.tween_width = box_width
flex.tween_height = box_height
//Alarm 2 To scale down
flex.set_tween(true,true,true,true,function() {
//audio_play_sound(snd_clap,1,false)
obj_ui_textbox.flex.set_nine_slice_sprite(spr_blank)
obj_ui_textbox.state = 0
with obj_ui_textbox alarm_set(4,30)
})
flex.reset_lerp_target(1,0)
flex.tween_width = 1
flex.tween_height = 1
Hi! it seems i am getting compile errors when loading latest version :
Script : AutoUiScroller à la ligne 187 : got ':' expected '}'
Script : AutoUiRow à la ligne 5 : argument 0 in inheritance call is not constant or use arguments passed to function
Script : AutoUiScroller à la ligne 183 : malformed assignment statement
and i dont really know what to do about it lol
So I've bought it and literally nothing works idk what I'm missing- I'm gonna sound like the guy that didn't read the documentation but I swear I did TT I'm on IDE v2024.11.0.179 and Runtime v2024.11.0.226
I imported the package in my game and I've just followed the Getting Started tutorial in an empty room separated from my entire game, put on a background, enabled view port, checked the parent objects... Nothing appears. Not even the debugging tool can appear. The only weird thing in the code that might help find the solution is that I get a yellow "String Not Found" underline on a couple of lines such as renderer.PreRender(), renderer.Render(...) and others, but I don't know what to make of that.
I would appreciate some guidance because I don't know what did I miss