Hi there,
I did a few basic tutorials etc, but I dont know if Im even on the right track
I would like to make an image or "image button" based puzzle game, handling images and text but no animation, where you go to different Rooms to pick up pieces of the puzzle and put them in your inventory, or drop pieces of the puzzle from your inventory to the location you are in to achieve the puzzle objective.
In a Nutshell:
Display a grid of image buttons [2 x 3], pressing a button changes which buttons are displayed.
The basic idea is to have buttons represent different places, where you can pickup or drop an item, and if you drop the right objects in the right place you win.
Example:
2 top buttons [2 x 1] represent your inventory of 2 items (or empty slots), the 4 bottom buttons represent a 2x2 "map" with 4 "locations" buttons (to emulate locations on a map).
You press a specific "location" and the 4 bottom buttons are replaced:
the middle row is a "map" button to return to the map (with the 4 location buttons) and a "?" button to have a full screen text with info on the current location(which items to bring there) and an exit button to return.
the bottom row are 2 items found in that location, and
The 2 bottom items can be picked up, these items were randomly placed upon setup of the game, or dropped there by you, if you click on an item button at the bottom it highlights and you must click on a slot in your inventory at the top where the item (or nothingness) goes to replace what was there (item or empty slot). If you select an empty slot button at the bottom of a location and switch it with an item in your top inventory you effectively drop the item from your inventory to that specific location.
Can this be done with javascript? Is it better to use HTML5?
I would appreciate any help, advice, relevant tutorial link, or code snippet you can throw my way
many thanks
Ice
I did a few basic tutorials etc, but I dont know if Im even on the right track
I would like to make an image or "image button" based puzzle game, handling images and text but no animation, where you go to different Rooms to pick up pieces of the puzzle and put them in your inventory, or drop pieces of the puzzle from your inventory to the location you are in to achieve the puzzle objective.
In a Nutshell:
Display a grid of image buttons [2 x 3], pressing a button changes which buttons are displayed.
The basic idea is to have buttons represent different places, where you can pickup or drop an item, and if you drop the right objects in the right place you win.
Example:
2 top buttons [2 x 1] represent your inventory of 2 items (or empty slots), the 4 bottom buttons represent a 2x2 "map" with 4 "locations" buttons (to emulate locations on a map).
You press a specific "location" and the 4 bottom buttons are replaced:
the middle row is a "map" button to return to the map (with the 4 location buttons) and a "?" button to have a full screen text with info on the current location(which items to bring there) and an exit button to return.
the bottom row are 2 items found in that location, and
The 2 bottom items can be picked up, these items were randomly placed upon setup of the game, or dropped there by you, if you click on an item button at the bottom it highlights and you must click on a slot in your inventory at the top where the item (or nothingness) goes to replace what was there (item or empty slot). If you select an empty slot button at the bottom of a location and switch it with an item in your top inventory you effectively drop the item from your inventory to that specific location.
Can this be done with javascript? Is it better to use HTML5?
I would appreciate any help, advice, relevant tutorial link, or code snippet you can throw my way
many thanks
Ice
Comment