Jump to content


larrimo

Member Since 16 Feb 2012
Offline Last Active May 08 2012 07:38 PM

Topics I've Started

Need help with setting up a variable

30 March 2012 - 11:16 PM

Hi guys

I was really trying to do this myself, but quite frankly, I'm stuck.

I'm developing not so much a game, but an application. What this application will do is:

1. The user will have a bunch of images in front of them (all same physical size), and will select up to 6 images (acting as buttons).

2. On the very top of the application, there will be six blank image slots (same physical size as the other images). I am trying to get the selected images to be replicated on the top bar with the six blank slots.

I already know that I will be using the 'change sprite' function to get the image replicated, but where I'm stuck is setting up how the blank slots accept images.

example:

____ ____ ____ ____ ____ ____


The user pushes 'car' 'bat' 'ball' 'fish'

The goal is to get the top 4 image slots to be changed to

car bat ball fish ____ ____

Should I be using a global variable like 'global.isempty' on the create event for the blank slots?


If I'm not being clear, please let me know so I can try to clarify

Any help is appreciated, whether by code or drag n drop method.

Thanks!