samples/99_genre_arcade/sound_golf/app/main.rb
def queue_click_feedback args, x, y, w, h, *color
  args.state.click_feedbacks << args.state.new_entity(:click_feedback) do |c| # declares feedback as new entity
    c.solid =  [x, y, w, h, *color, 255] # sets color
  end
end
# Color of click feedback changes depending on what button was clicked, and whether the guess is right or wrong
# If a button is clicked, the inside of button is purple (see input_mouse method)
# If correct note is clicked, screen turns green
# If incorrect note is clicked, screen turns red (again, see input_mouse method)
Color of click feedback changes depending on what button was clicked, and whether the guess is right or wrong
If a button is clicked, the inside of button is purple
If correct note is clicked, screen turns green
If incorrect note is clicked, screen turns red (again, see input_mouse method)
Color of click feedback changes depending on what button was clicked and whether the guess is right or wrong If a button is clicked the inside of button is purple If correct note is clicked screen turns green If incorrect note is clicked screen turns red ( again see input_mouse method )
def queue_click_feedback args, x, y, w, h, *color
  args.state.click_feedbacks << args.state.new_entity(:click_feedback) do |c| 
    c.solid =  [x, y, w, h, *color, 255] 
  end
end
def queue_click_feedback args , x , y , w , h , * color args . state . click_feedbacks << args . state . new_entity ( :click_feedback ) do | c | c . solid = [ x , y , w , h , * color , 255 ] end end
Color of click feedback changes depending on what button was clicked, and whether the guess is right or wrong
If a button is clicked, the inside of button is purple (see input_mouse method)
If correct note is clicked, screen turns green
If incorrect note is clicked, screen turns red (again, see input_mouse method)
Color of click feedback changes depending on what button was clicked and whether the guess is right or wrong If a button is clicked the inside of button is purple ( see input_mouse method ) If correct note is clicked screen turns green If incorrect note is clicked screen turns red ( again see input_mouse method )
# declares feedback as new entity # sets color
args
x
y
w
h
color