Page 1 of 1

Pipo Butten Errors

PostPosted: Thu Nov 09, 2006 10:45 pm
by Shmoogle
1.
Code: Select all
RLChar = new Button(this, "RotateLeftChar", null);

I made a button like so and got no errors. but when i run it causes a exception saying i dont have a sound file "button_click.wav". So i make this sound file thinking that should fix it but then it cause another exception. I've tryed setting the click sound to null but that didnt work.

EDIT: I've Fixed the problem by removing the default settings in the pipo framework. :)

PostPosted: Sat Nov 18, 2006 7:49 pm
by cuicui
Yes we added some default behaviors for the Button.
So if you don't specify an image, there is a default one, and this is the same for the sounds linked to it.
We have to change the code so that it won't prevent you from seeing the button.

But I'm interested in the other exception you had, could you post it on this topic?

Re: Pipo Butten Errors

PostPosted: Fri Apr 17, 2009 12:21 am
by anime.seal
Hello,

i have the same problem, but i don't know how to fix it in the pipo framework.
My other problem is to create a button or panel with an MouseEnter-Event for changing them BackgroundImages. Do you knew any solutions?
I am programming actually a 3D game for my final exam with this engine, so I need really fast your help please.

greetings

Re: Pipo Butten Errors

PostPosted: Fri Apr 24, 2009 9:02 pm
by Silmaryls
Well I think the best solution should be to add the sound file or change it to something else.

For the background change you can download our Ice Cube sample. The menu is using multiple background images for mouse hover and mouse click.

Silmaryls