Jump to content

Recommended Posts

  • Replies 511
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

Thanks for your help Jan

Stay away from the Internet Cafes! :):D

Have fun in the Sun! :(:D

2015 - Still no flying cars, instead blankets with sleeves.

Posted

When I try to download prospeed3.0.dll and prospeed3.0.au3 from jpam's website nothing happens, if anyone has them could you please e-mail me them??

Same here, and with the Help File, have to use the old versions until Jan gets back from his Holiday.

2015 - Still no flying cars, instead blankets with sleeves.

Posted

i hope jpam doesnt mind if i post it here, but he gave me the 3.0 beforehand,

and i hope its the same version as on his website.

http://qsek.i-networx.de/prospeed3.0.rar

Thankyou for posting them, I needed them for a game I am creating and it would have been boring to wait for 10 days because of jpam's holiday :)
Posted

i hope jpam doesnt mind if i post it here, but he gave me the 3.0 beforehand,

and i hope its the same version as on his website.

http://qsek.i-networx.de/prospeed3.0.rar

thanks for hosting the files qsek !

i allso have corrected the download failure, the download php script does not like capital letters :)

Posted (edited)

thanks for hosting the files qsek !

i allso have corrected the download failure, the download php script does not like capital letters :)

Welcome back jan! :(

Is it possible to adjust the transparency of a graphics object like the PNGFX function but start with a solid graphic and fade it in/out?

MergeChannelPng kind of does this but theres no control over the level of "fade" and I guess the two images have to be the same size?

EDIT: Oops!, found the function Semi_Trans! :D

Thanks!

Edited by Lakes

2015 - Still no flying cars, instead blankets with sleeves.

Posted

Welcome back jan! :)

Is it possible to adjust the transparency of a graphics object like the PNGFX function but start with a solid graphic and fade it in/out?

MergeChannelPng kind of does this but theres no control over the level of "fade" and I guess the two images have to be the same size?

EDIT: Oops!, found the function Semi_Trans! :D

Thanks!

well , if you want to use png's with alpha channel this would be handy :(

#include <prospeed3.0.au3>

HotKeySet("{Esc}","_exit")
Opt("GUIOnEventMode", 1)

GUICreate("Png Fade in and out", 600, 600)
GUISetOnEvent(-3, "_exit")
GUISetState()

$hdc = GetHDC()

$back = LoadFileImage("Cancun-beach.jpg")
paintimage($hdc, 0, 0, 600, 600, $back, 0, 0, 0) 

;##### Fade in #################################
$png1  = ImportPng(0, "starfish1.png") ; can be any png image with alpha channel
$png2  = ImportPng(0, "trans.png")     ; needs to be a empty tranparent png image
For $i = 1 To 100
    MergeChannelPng(0, $png2, $png1, 1)
    MergeImagePng(0, $png2, $png1, 1)
    PaintPng(0, $hdc, 100, 100, $png2, $back)
    Sleep(10)
Next
FreePng(0, $png1) 
FreePng(1, $png2) 
;###############################################

;##### Fade out ################################
$png1  = ImportPng(0, "starfish1.png") ; can be any png image with alpha channel
$png2  = ImportPng(0, "trans.png")     ; needs to be a empty tranparent png image
For $i = 1 To 256
    MergeChannelPng(0, $png1, $png2, 1)
    MergeImagePng(0, $png1, $png2, 1)
    PaintPng(0, $hdc, 100, 100, $png1, $back)
    Sleep(10)
Next
$png1  = ImportPng(0, "starfish1.png")
$png2  = ImportPng(0, "trans.png")
;###############################################

While 1
    Sleep(1000)
WEnd

Func _exit()
    Freeimage($back)
    Exit
EndFunc
Posted

Is there a change log for version 3.0?, some of the function names have been changed and it would make it easier to change something I`ve been working on to work with version 3.0

Thanks.

2015 - Still no flying cars, instead blankets with sleeves.

Posted

Could the Fmod UDF play midi sound effects?, could be handy....

Something like _PlayMidi ($Intrument, $Notevalue, $Duration)

(This is not for music BTW as Soundtracker mods are much better for that) :)

Thanks.

2015 - Still no flying cars, instead blankets with sleeves.

  • 2 weeks later...
Posted

I`ve expanded on the Clock part of Jan`s demo.

First is a clocktoy that lets you position the clock hands anywhere on the face and rotate them.

ClockToy

Next is a proper clock with chimes in two sizes (400x400) and smaller (320x320) version.

Clock 400x400

Small Clock

All the separate files are on the webpage, except the chimes folder, which is included in the Zip file.

Please note the above use version 3.0 of the Prospeed dll which is included in the Zip, but you will need to goto Jan`s site if you don`t have V3.0 of the UDF.

Enjoy! :)

2015 - Still no flying cars, instead blankets with sleeves.

  • 4 weeks later...
Posted (edited)

Hi all! I have a problem.

Creating a gui and setting Background() works fine, shows my picture in the gui. Creating a gui and then creating some standard button and input controls works fine too.

But when I create a gui, then set Background() and then try to create button or input controls on top of that, only the last control remains visible! Any previously created control become invisible as soon as the next one is created, leaving only the last one.

When I move my mouse over the buttons and click in the input controls, the controls appear again and remain visible, but ugly.

See screenshot. The buttons and inputs actually form a solid matrix, but only some are visible (the ones I clicked or moved over)...

How come, and how to solve?

Directly after start: post-18991-1214423249_thumb.jpg ... and after doing some mouse-ing: post-18991-1214423132_thumb.jpg

While without using the Background() function it looks like it should:

post-18991-1214423385_thumb.jpg

Edited by SadBunny

Roses are FF0000, violets are 0000FF... All my base are belong to you.

Posted

Thanks! Works like a charm!

I was under the impression that the Background() function was needed for that, from some previous answer I got in this thread. Guess I was wrong! :)

Thanks again.

Roses are FF0000, violets are 0000FF... All my base are belong to you.

  • 3 weeks later...
  • 2 weeks later...

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...