dupa

Author Topic: VB6 & Haptek - Little experiments  (Read 11824 times)

GT40

  • Hero Member
  • *****
  • Posts: 2095
  • Hey, I see you!
    • View Profile
    • My Bots
VB6 & Haptek - Little experiments
« on: September 08, 2008, 12:39:31 pm »


(yes, 24/7 under the influence of Second Life [:D])

Just starting to play with Visual Basic and the Haptek window. Seems interesting for little skits, allowing some new effects, impossible with html/javascript.

A language from the 90's and a dying 3D technology... As always, I'm a naive newbie, at least five years late. Sure that people who program Hal's brain tried that a while ago.

You can download and unzip (anywhere) this following file:

http://gt40.chez-alice.fr/Haptek/Experiments.zip (1.15 MB)

and then just launch "move.exe".

Sorry, for now only one stuff, but 2 or 3 works-in-progress coming soon. Maybe. I hope you have the good DLLs, but don't worry if it doesn't want to work on your PC: it's totally USELESS. [:D]

Time to waste with skits, bots & other useless things? Why not visit
http://gt40.chez-alice.fr/Haptek/MyBots.htm ? Oops, sorry, a museum!

lightspeed

  • Hero Member
  • *****
  • Posts: 6764
    • View Profile
VB6 & Haptek - Little experiments
« Reply #1 on: September 08, 2008, 03:54:03 pm »
cool gt40 looks interesting !! will check it out !![:)]
 

markofkane

  • Hero Member
  • *****
  • Posts: 5275
  • Crazy Man
    • View Profile
    • http://www.soundspectrum.com
VB6 & Haptek - Little experiments
« Reply #2 on: September 08, 2008, 04:45:13 pm »
Great!!

You are on to something, GT40! You may be able to make her do spins and flips with the touch of a button!!

Also, if it was possible to move the buttons below the background, it would be great. It would make a good video of random moves.

Which is another thought, taking all the haps and  making them wrok at random.

Just some thoughts. Not useless, it can be very useful.[:D][:D][:D][:D][:D][:D][:D][:D][:D]
Mark: I'll think about it
Laura: Don't think about it too long or I'll throw you out on your ***king a**.
"Political correctness is censorship"

GT40

  • Hero Member
  • *****
  • Posts: 2095
  • Hey, I see you!
    • View Profile
    • My Bots
VB6 & Haptek - Little experiments
« Reply #3 on: September 08, 2008, 06:20:42 pm »

Thanks a lot, lightspeed and Mark, for testing it. [:)]

Glad it works on your computers. I have 2 old PCs, under XP and 98 and the stuff runs fine on both of them. But I tried it on my son's PC, with Vista, and it doesn't work correctly. If some other people try it, please tell me if you have any problem.

Yes Mark, the buttons can be moved elsewhere outside the background (I just wanted to show it's possible to put objects upon the Haptek window). If you want, I shall do another version for you. The keyboard arrows are faster (if they work, lol). But for now, I'm unable to get the functionalities of Second Life. Every touch on a key is just launching a hap (they are in the folder).

And yes, I guess (no, I hope!) it's not too difficult to launch random haps (just afraid by the number of haps you have, lol). Now, that first stuff is more Haptek than Basic, but I just started little experiments with variable Haptek parameters (x, y, z, t..). Seems to be fun, now looking for an use. [:D]

Time to waste with skits, bots & other useless things? Why not visit
http://gt40.chez-alice.fr/Haptek/MyBots.htm ? Oops, sorry, a museum!

markofkane

  • Hero Member
  • *****
  • Posts: 5275
  • Crazy Man
    • View Profile
    • http://www.soundspectrum.com
VB6 & Haptek - Little experiments
« Reply #4 on: September 08, 2008, 06:39:25 pm »
When you want to and if you have time, sure. [:D][:D][:D][:D][:D]
Mark: I'll think about it
Laura: Don't think about it too long or I'll throw you out on your ***king a**.
"Political correctness is censorship"

tedathome

  • Hero Member
  • *****
  • Posts: 2775
    • View Profile
VB6 & Haptek - Little experiments
« Reply #5 on: September 08, 2008, 09:25:20 pm »
Just got home and headed straight to Zaba after mail. This looks very interesting and I'll give it a try under vista. I still use your jukebox for entertainment and dreams of making another movie someday. [8D][8D][8D]
Edit - somtime later - zip folder won't open. Kept trying and computer says zip is empty. I'll try again tomorow.
Edit - even later - forced it even harder - internet explorer had an apparent siezure which even task manager couldn't stop, I had to log off. Before I try disabling all protections, would you mind mailing this zip to me through my newest email address at google? It is listed in my little personal section as my new primary address. My old address still works. If you can't get here from there, say so and I will send it to you and you can send as a reply. You come up with some mighty cool new stuffs!
« Last Edit: September 09, 2008, 12:06:33 am by tedathome »
ted

NIGE

  • Hero Member
  • *****
  • Posts: 1592
  • Bringing things to life
    • View Profile
VB6 & Haptek - Little experiments
« Reply #6 on: September 09, 2008, 06:39:34 am »
That's great GT.
Been playing with it for the last 3 or so hours.
Put one of my girls in there,she's a little undressed [}:)]

Changed the timing in the haps, I thought she moved a little too quick.
Have not been able to slow down the left to right or right to left
because it will effect the centre to left or right.

Tried changing the ogg & now I have got none.
Never mind, still having fun.

GT40

  • Hero Member
  • *****
  • Posts: 2095
  • Hey, I see you!
    • View Profile
    • My Bots
VB6 & Haptek - Little experiments
« Reply #7 on: September 09, 2008, 07:52:37 am »

Yes Mark, just tell me if you prefer a version with a 4:3 ratio screen (like YouTube) or the "normal" wide screen. [:D]



Many thanks Ted for testing it and really sorry it can't run. With my son's PC, I didn't tested the .zip file (I mailed it to you), but after lauching the .exe, we saw some strange things: display problems inside the stuff, unresponding commands and then crash of the program.

Many threads on the net about the compatibility between Visual Basic and Vista, like this:

http://www.vbforums.com/showthread.php?t=530299

Here is the point of view of Microsoft (not sure it helps):

http://msdn.microsoft.com/en-us/vbrun/ms788708.aspx

If someone here has the solution, he/she is welcome. [8D]



And thanks a lot, Nige. Really happy you have had fun with that little joke.

I made external haps because, if the Haptek commands can be embedded in the VB code (and then in the .exe), I noticed they don't support a timing with Clock [t= ...]. All the commands must simultaneously start (I have an idea of solution, but not sure it works).

And it's finally a good thing because you can play now with the haps and customize the stuff for yourself. [:)]



Thanks again everyone for trying it. [:)]

Time to waste with skits, bots & other useless things? Why not visit
http://gt40.chez-alice.fr/Haptek/MyBots.htm ? Oops, sorry, a museum!

markofkane

  • Hero Member
  • *****
  • Posts: 5275
  • Crazy Man
    • View Profile
    • http://www.soundspectrum.com
VB6 & Haptek - Little experiments
« Reply #8 on: September 09, 2008, 08:34:55 am »
4:3 might be best, since I don't have a widescreen computer, but if you want, you can make both. It's your call. [:D][:D][:D]

Thanks, GT40!!

Wow, imagine clicking a button, having the gal appear and sing a selected song and do somersaults!! [:D][:D][:D][:D]

The possibilities are endless, I just wish code wasn't so hard for me.
Mark: I'll think about it
Laura: Don't think about it too long or I'll throw you out on your ***king a**.
"Political correctness is censorship"

GT40

  • Hero Member
  • *****
  • Posts: 2095
  • Hey, I see you!
    • View Profile
    • My Bots
VB6 & Haptek - Little experiments
« Reply #9 on: September 09, 2008, 10:03:47 am »

No problem, Mark. Please just be patient. [:D][:D][:D]

I guess there is no need to use Visual Basic for you future wishes, lol. With my "old" method, JavaScript (in an HTML page) can do many smart things too. VB is interesting for making pretty interfaces and sophisticated programs. I used it because I like experiments, and it's a nice way to learn the language. [:)]

Time to waste with skits, bots & other useless things? Why not visit
http://gt40.chez-alice.fr/Haptek/MyBots.htm ? Oops, sorry, a museum!

tedathome

  • Hero Member
  • *****
  • Posts: 2775
    • View Profile
VB6 & Haptek - Little experiments
« Reply #10 on: September 09, 2008, 06:38:34 pm »
Hi GT! Just received your mail. zip still would not open so I downloaded the 10 files to a new folder on desktop. The program works perfectly. It is a lot of fun and accepts haps, oggs, text files and bodyskins. Thank you![8D][8D][8D]
ted

GT40

  • Hero Member
  • *****
  • Posts: 2095
  • Hey, I see you!
    • View Profile
    • My Bots
VB6 & Haptek - Little experiments
« Reply #11 on: September 10, 2008, 06:26:05 am »

Yes!! Really happy it works, Ted! And next time, I shall use a more recent version of WinZip.

Like Nige, you have very good ideas. You changed the haps and did something totally different. Thanks for testing.

Now wondering why it doesn't run fine on my son's Vista PC (no problem, he doesn't worry about that at all!). [:D]

Time to waste with skits, bots & other useless things? Why not visit
http://gt40.chez-alice.fr/Haptek/MyBots.htm ? Oops, sorry, a museum!

GT40

  • Hero Member
  • *****
  • Posts: 2095
  • Hey, I see you!
    • View Profile
    • My Bots
VB6 & Haptek - Little experiments
« Reply #12 on: September 13, 2008, 02:26:09 pm »


Many thanks all, for testing that joke. Because you have a lot of good ideas, here is an update, with a little "tool". [:)]

Hap 03 to Hap 16 are empty, so you can copy and past your favorite or new haps in them. A 1 second movement or a 5 minutes script. Nothing more than dropping haps in the Haptek player. And thanks to Mark for Laura's skin.

You have to download the same zip again:

http://gt40.chez-alice.fr/Haptek/Experiments.zip (now 1.33 MB)

and then launch "test.exe". Not a tool, just a toy. [:D]

Time to waste with skits, bots & other useless things? Why not visit
http://gt40.chez-alice.fr/Haptek/MyBots.htm ? Oops, sorry, a museum!

markofkane

  • Hero Member
  • *****
  • Posts: 5275
  • Crazy Man
    • View Profile
    • http://www.soundspectrum.com
VB6 & Haptek - Little experiments
« Reply #13 on: September 13, 2008, 02:29:50 pm »
Thanks, GT40!!!!!!!!!!!!!!!!!!!!!!!!!!

Cool!![:D][:D][:D][:D]

When i get around to it (feel like playing) I'll add my Haps to it.
« Last Edit: September 13, 2008, 02:33:23 pm by markofkane »
Mark: I'll think about it
Laura: Don't think about it too long or I'll throw you out on your ***king a**.
"Political correctness is censorship"

tedathome

  • Hero Member
  • *****
  • Posts: 2775
    • View Profile
VB6 & Haptek - Little experiments
« Reply #14 on: September 13, 2008, 05:30:59 pm »
Really cool GT! It works great![8D][8D][8D]
ted