Pipo Butten Errors

All about our 2D gui.

Moderator: cuicui

Pipo Butten Errors

Postby Shmoogle on Thu Nov 09, 2006 10:45 pm

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. :)
Game Logic is a very confusing thing.
Shmoogle
Brume Rookie
 
Posts: 8
Joined: Sat Oct 21, 2006 1:19 am
Location: Uk, Lincoln

Postby cuicui on Sat Nov 18, 2006 7:49 pm

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?
User avatar
cuicui
Brume Team Member
 
Posts: 4
Joined: Sat Oct 07, 2006 7:59 am
Location: Seine et Marne

Re: Pipo Butten Errors

Postby anime.seal on Fri Apr 17, 2009 12:21 am

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
anime.seal
Brume Rookie
 
Posts: 1
Joined: Fri Apr 17, 2009 12:10 am

Re: Pipo Butten Errors

Postby Silmaryls on Fri Apr 24, 2009 9:02 pm

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
User avatar
Silmaryls
Brume Team Member
 
Posts: 340
Joined: Tue Feb 21, 2006 10:09 pm
Location: Paris - France


Return to Pipo 2D framework

Who is online

Users browsing this forum: No registered users and 1 guest

cron