Here is the first object plugin made with Plugin Maker

General discussion forum for Ams Plugin Maker
User avatar
Admin
Site Admin
Site Admin
Posts: 25
Joined: Wed Jun 12, 2013 7:01 pm
Location: Unknown

Here is the first object plugin made with Plugin Maker

Post by Admin »

A sample object plugin is available that is created with this application
Its and object plugin named WindowsButton a Windows Button control example
similar to build-in WinButton object plugin , but this plugin was created with Lua code ;)

Attached zip archive contains source lua scripts ,so you can open that files and see how this plugin works with lua code ,i have also added some comments to explain some parts

Note: normally these scripts remain in project file , and can not be viewed without application , that was the reson of separate script files

Please read ReadMe.txt (in zip archive) before doing anything with the files in the attached zip archive
Attachments
Windows Button.zip
(76.81 KiB) Downloaded 235 times
It's me again
User avatar
abood1987
Registered User
Posts: 69
Joined: Sat Jun 15, 2013 3:03 pm
Location: Egypt مصر أم الدنيا
Contact:

Post by abood1987 »

:idea: that is good but the Event "On Click" Does not work yet
kadir_lua
Registered User
Posts: 2
Joined: Mon Jun 17, 2013 5:29 pm

Post by kadir_lua »

Yes. i tested this plugin but On Click Event does not work.
User avatar
Admin
Site Admin
Site Admin
Posts: 25
Joined: Wed Jun 12, 2013 7:01 pm
Location: Unknown

Post by Admin »

Ok, That one is fixed now , download attachment in first post again and test
It's me again
User avatar
abood1987
Registered User
Posts: 69
Joined: Sat Jun 15, 2013 3:03 pm
Location: Egypt مصر أم الدنيا
Contact:

Post by abood1987 »

:idea: Ok but the Sounds Does not work highlight and Click
User avatar
Admin
Site Admin
Site Admin
Posts: 25
Joined: Wed Jun 12, 2013 7:01 pm
Location: Unknown

Post by Admin »

abood1987 wrote:Ok but the Sounds Does not work highlight and Click
This is a windowed object and windowed objects do not work like buil-in button object
if you want to play sound on mouse events then you should do it in your plugin

cursor and sound effect options of AMS are not for windowed objects

was other windowed object plugins play sound effects :?:
It's me again
User avatar
abood1987
Registered User
Posts: 69
Joined: Sat Jun 15, 2013 3:03 pm
Location: Egypt مصر أم الدنيا
Contact:

Post by abood1987 »

ok what about the tooltip ? :lol:
User avatar
abood1987
Registered User
Posts: 69
Joined: Sat Jun 15, 2013 3:03 pm
Location: Egypt مصر أم الدنيا
Contact:

Post by abood1987 »

ok what about the tooltip ?

Image
User avatar
milano88
Registered User
Posts: 2
Joined: Sun Jun 23, 2013 12:04 am

Post by milano88 »

thanksss
User avatar
BadKaiPanda
Registered User
Posts: 95
Joined: Fri Jun 14, 2013 8:49 pm

Post by BadKaiPanda »

Hey man, I will give this a good rest for you tomorrow, seems we have a ams specialist member here.

What things would you like testing ? Any events you would like testing ?
BunnyHop CDD Obscurer Post | Home Page
Post Reply