Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Protostar

#1
Critics' Lounge / Character Sprite
Sun 15/07/2007 14:55:56
Well, this is my very first character sprite for the game I'm working on. I'd like to make her slightly less cartoonish/more colorful. Need suggestions for face and shading too.

#2
I've made a gui button, set run_script interaction called Actions_Click and told it to open new gui on click. The new gui exists, all is clickable, but first I couldn't get any interaction. So I did a little tinkering and now after clicking game crashes, saying:

Error: run_text_script1: error -1 running function 'interface_click':
Runtime error: wrong number of parameters to exported function 'interface_click' (expected 0, supplied 2)

Here's part of my interface_click script (along with one working button, so you know I can do things right):

Code: ags
#sectionstart interface_click  // DO NOT EDIT OR REMOVE THIS LINE
function interface_click() { //no parameters because it wasn't reading default ones (yes, 
                                  // I did delete the whole interface_click manually at some point :( )
}
#sectionend interface_click  // DO NOT EDIT OR REMOVE THIS LINE

#sectionstart Start_Click  // DO NOT EDIT OR REMOVE THIS LINE //working button
function Start_Click(GUIControl *control, MouseButton button) { 
character[COLBERT].SetAsPlayer();
gInterface.Visible=true; //opens interface gui
gText.Visible=false; //closes menu gui
StopMusic();
}
#sectionend Start_Click  // DO NOT EDIT OR REMOVE THIS LINE

#sectionstart Actions_Click  // DO NOT EDIT OR REMOVE THIS LINE //here's the unworking button
function Actions_click(GUIControl *control, MouseButton button) { //opening interactions window
gBody.Visible=true; //opens gui Body
}
#sectionend Actions_Click  // DO NOT EDIT OR REMOVE THIS LINE



This is pretty important because my whole interface idea depends on it. I'm pretty stuck. Help, please.
SMF spam blocked by CleanTalk