Jump to content

Recommended Posts

Posted (edited)

Ok, the thing that annoyed me the most was the fact that the balls did no appear to be round because the color grey was different from the color of the GUI. I just used AutoIt Window Info tool to get the exact color and edited the image... here's my new ball image:

ball.bmp

Otherwise, great program there are some pretty neat things you can do with this, and I didn't know it was even possible in AutoIt... I guess if you are determined you can make just about anything with AutoIt eh? Nice work, keep the updates coming.

EDIT: Lol, this one is super glitchy the balls keep getting stuck together...

stuck_together.gef.txt

Yeah, sorry about that, I'm using the old windows theme, I like that one, so the ball fits fine on mine

I love that stuck together one, I guess that'd never happen in real life, so I'll need to keep working... Also, I really wanted the part inside the group control white... I can't use a disabled image, because it covers up the other ones, and I can't use GUICtrlSetBkColor for a group, and I don't want the full GUI white... any ideas?

Edited by magician13134
  • 2 weeks later...
Posted

for programs like this i'd wish Object-Oriented Programming for AutoIt. too bad that dream will never come true.

Posted (edited)

LMAO! i must be doing something wrong. i created a object ball, but nothing ever showed up. So i ran the simulation and the whole window fell and bounced on the bottom of my screen lol!

LMFAO, nice!

Yeah, sorry about that, I'm using the old windows theme, I like that one, so the ball fits fine on mine

I love that stuck together one, I guess that'd never happen in real life, so I'll need to keep working... Also, I really wanted the part inside the group control white... I can't use a disabled image, because it covers up the other ones, and I can't use GUICtrlSetBkColor for a group, and I don't want the full GUI white... any ideas?

You could make a sticky material?

this works good, its awesome. but when its supposed to bounce it sticks, as you said it doesnt work properly... Good Job on it though!

Make the code so that you can have more than just a ball....

Dim $NewObj[64]
$ObjList = _FileListToArray(@ScriptDir&"\Objects", "*.bmp", 1)
For $i = 0 To $ObjList[0]
    $Name = StringTrimRight($ObjList[$i], 4)
    $NewObj[$i] = GUICtrlCreateMenuitem($Name, $NewObject)
Next

and make the rest of the script compatible, that would make it better :whistle:

Edited by Joscpe

-Joscpe

  • 10 months later...
Posted

i really really love this script thank you !

decades ago i wrote a billard script; i would have been lucky to own your script then.

finally i failed in calculating the collision and speed effects of 16 balls in real time, though i found a quite simple collision formula (but i lost it).

j.

Spoiler

I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.OixB7.jpgDon't forget this IP: 213.251.145.96

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...