Simple game
in
Programming Questions
•
1 year ago
Hello, I am a beginner in processing but need to create an interactive game for a class using processing.
I am taking my inspiration from the film Clueless, and turning her closet into an interactive game.
I want to have multiple outfit combinations that the user must flip through and pair up. I will give a situation, like "pick the perfect outfit for a day at the beach!" or "pick the perfect outfit for a day at the ski lodge!"
it's suposed to be an easy and simple game.
I already have bits of code to help me understand how i might be able to do this
- // variables to keep track of which image you are showing:
- int currentTop;
- int currentBottom;
- // the arrays of images for the tops and bottoms:
- PImage[] tops = new PImage[15];
- PImage[] bottoms = new PImage[18];
- // how you'll actually draw the items of clothing:
- image( tops[currentTop], 10,10 );
- image( bottoms[currentBottom], 10,10 );
- // a very rough start at how the user will flip through the items:
- if ( keyPressed )
- {
- currentTop = currentTop + 1;
- }
my questions are:
how can i load the images into arrays like that?
how can i create a title screen before the box comes up?
how do i put a retro 90's bevel effect on shapes such as triangles and rectangles to make them appear like a button?
and generally
how do i really begin doing all of this? im so lost and all i have is the main screen down
thanks so much in advance!!!!
1