Search found 13 matches

by UKDeveloper99
Thu Jul 09, 2015 1:32 pm
Forum: R.U.B.E discussion
Topic: Image resize script using PTM ratio and level building
Replies: 10
Views: 48513

Re: Image resize script using PTM ratio and level building

Yes you're right my apologies. I think the problem was actually coming from some of my other scripts, I posted it here for your convenience. A simple script to align an image's bottom corner to the origin in the editor. ImageAlignOrigin.rs (with error) float PTM = 30.0f; image[] imgs = si(); //selec...
by UKDeveloper99
Wed Jul 08, 2015 5:59 pm
Forum: R.U.B.E discussion
Topic: Image resize script using PTM ratio and level building
Replies: 10
Views: 48513

Image resize script using PTM ratio and level building

I think this is kinda a bug maybe not a bug but more just a problem that I ran in to. Because I use pixel accuracy in the rube editor for images I want my images to match exactly the dimensions on the device. So of course I used the script that resizes images to their pixel height. However the funct...
by UKDeveloper99
Wed Jun 10, 2015 6:48 pm
Forum: R.U.B.E discussion
Topic: Couple of questions about using rube
Replies: 1
Views: 6321

Couple of questions about using rube

1. The snap to grid only works from the center position, is there a way to get it to snap to the bottom left corner for example. I was trying to snap an image to 0,0 in the world but the only way I could find to do it was to position it manually with the translate [T] function. 2. Is it more efficie...