What is a possible way to make game graphics for C

2019-03-06 01:47发布

问题:

I have been developing a simple iPhone/Android game with Corona SDK. The game itself does not use imported graphics, only regular shapes. Now, I am faced with the problem of making the graphics for the title-screen, end-screen and buttons. I just need to know a possible way to do this. If anyone could help, that would be great.

回答1:

I don't really understand what you mean, could you give some examples?

Maybe this?

local options = {
    defaultFile = image_path,
    overFile = image_path_o,
    onRelease = function ()
        --code here
    end
}

local img_button = widget.newButton(options)