Corona Sample #03 – Colour Canvas

My third sample with the Corona SDK is something I called the Colour Canvas.

It didn’t really turn out how I had first thought – although I’m not sure what my goal here was, other than to have a look at masking and alphas. Basically you start with a black background, and as you click / touch parts of the screen, a new colour spot is created. This is assigned a random colour. The spots move on 5 different layers, each moving at a different speed and amount. As colours come into contact, they merge while overlapped.

I will probably do a follow up sample at some point, using masking and colours differently – in a slightly more useful way ;)

You can download the full source here: [Download]

Posted in Corona Mobile SDK | Leave a comment

Corona Samples #02 – Starfields

The second entry into my corona samples is another traditional demo effect – the Starfield.

This effect was another easy one to convert, so made it appealing for early learning.

I have included two types:
– 3D (where the stars move towards the viewer)
– 2D (where the stars move using parallax scrolling to simulate depth)

Both classes have been made easily customisable and should be fairly easy to follow. I also added an additional movement function to the 2D starfield to give its movement more life.

You can download the full source here: [Download]

Posted in Corona Mobile SDK | Leave a comment

Corona Samples #01 – Plasma Demo

To kick start my Corona Samples is a port of an old demo effect – a traditional plasma.

About 17 – 18 years ago, I was very interested in the demo scene and writing graphical effects. This is a very straight forward effect, which made it perfect for my first interaction with the Corona SDK. I’ve kept optimisation minimal to make the code easy to follow.

You can download the full source here: [Download]

Posted in Corona Mobile SDK | Leave a comment

Corona SDK Samples

For the last month I have been playing with the Corona SDK for iPhone and Android mobile development. After spending a few weeks (before that) looking at different SDKs and engines for the iPhone and Android, I decided to push ahead with Corona and see what I can come up with. What I love about Corona is it’s lua based – which is something I’m familiar and comfortable with.

The goal at this stage is to develop my own game for a portable device. Since I am getting to grips with the Corona SDK, I have decided to put together a number of samples along the way, to help get myself into the SDK. As I go, I will post up source available for download. Some of it you will find useful, some you will wonder why I bothered – but at the end of the day, I’d like to learn as much as I can about it and will share as I go.

I’ll leave it at that for now – but for more information on Corona, you can can visit their website here: http://www.anscamobile.com/corona/

Posted in Corona Mobile SDK | Leave a comment

Handles and coin door holes cut

With today being a public holiday (Australia Day), I decided to spend an hour in the garage cutting some holes out for the handles and coin door.

I had been debating with myself about the value of handles on each side of the cocktail. In the end I figured they would be useful for moving it around (since there will be no wheels). I like that it will also mean people won’t need to lift the cocktail by the top panel, and instead just use the handles which should avoid any stress on the table top panel.

The handles are a vented set – I used the same ones on the door of my pac man cab – so will add some passive ventilation. They are also set into the panel itself, meaning there is nothing sticking out. The black colour will also fit in well with the DK theme.

Once the holes for both handles were cut and the rough edged sanded back, I moved onto the coin door. Placement for the coin door is a little tight. It can’t sit too high where the control panel will be, and it can’t be too central where the monitor will be. A grill will be located on the left for the speaker, so in the end, I opted for a lower right positioning (not that I had much choice). The hole was cut, and the coin door fitted perfectly.

The next bit is going to be a little tricky. Cutting the grill slots for the speaker will require some practice, so might spend some time seeing if I can come up with some sort of template or rig that will assist. After that will be designing the control panel, making sure it will fit – and then finally getting the base of the cocktail built.

Posted in Donkey Kong Cocktail | Leave a comment

Control panel artwork arrived

A tiny update, but the artwork for the control panels arrived today from GameOnGrafix.

Very happy with the quality – measuring 565 x 195mm, I plan to cut it down a little but not much.

There are two bits there – one for each control panel.

Posted in Donkey Kong Cocktail | Leave a comment

CGA monitor installed

This has been a very busy week working on the cab.

Firstly, my new monitor arrived Many, many thanks to a friend on Aussie Arcade for his assistance in getting it to my door!

I was not going to continue the quest with sorting out the jumping on the VGA monitor. The solution set me back around $240 for the monitor and chassis (with postage) but it puts an end to the problem and I can get the cab complete Plus it means I can play Wonderboy (and now Bubble Bobble too) with an awesome display Since the monitor had arrived, I organised a mate to lend a hand with it’s installation the following saturday (and any issues that were to be encountered).

So first up was to pull the VGA monitor and frame out, and put in a new one. I spent the first night building a new frame. It was done the same way as the first – a flat panel, with a huge hole cut in the middle. I added some raised parts for the actual monitor frame to attach to. Primed and painted with a few coats (over the rest of the week).

I wanted to have more room to attach all the wiring, so created two additional (smaller) floor panels that I could use to group and screw the wires down onto. Once cut, both were given two coats of white paint to match the rest of the cab internally. I’ve tried to keep things as organised and separated as possible. There is still a little more work to do, but it’s mostly there now. (Since the photo was taken, the monitor has been wired up). I also built (and painted) a second side panel (for the left side) where the monitor board would be attached.

With the wiring almost complete, I installed the monitor and the frame.

I managed to get everything ready for my mates visit about an hour before he showed. After going over what had been done, andy had a look over the monitor wiring and set to work. After a few set backs with the 110V stepdown and the display backwards, it was running.

It might not be clear in the picture, but the colours are not correct – I’m told a degaussing wand here will fix it up.

So anyway – 4 hours later, the game is still running fine with no jumping.

So from here, all the remains is:

1) Fix colours
2) Get bezel artwork printed up

Meanwhile, I can at least play Wonderboy :D

Posted in Pac Man Arcade Cabinet | Leave a comment

Quiet week on the cocktail front

With most of my energies devoted to my Pacman cab project this week, I didn’t get time to work on the construction. The main piece of news on this project is I ordered 40ft of white t molding and also the slot cutter from t-molding.com. I had been waiting for them to get the slot cutters back in stock, so once they did, I placed my order so I wouldn’t miss out.

I expect the postage will take around 3 weeks to arrive, but no real hurry :)

Posted in Donkey Kong Cocktail | Leave a comment

Side panels cut

I managed to sneak away to the garage for a little bit this weekend, so have a few minor things to update with

Firstly, I cut out the left and right panels to their correct sizes, and also rounded off the lower corners as per my design.

With that done, I was also able to finalise the size for the front and back panels (which will face player 1 and 2).

This also means the base panel size can be finalised and cut, although I will save that for another day.

Finally, I decided to create a basic stencil that I will use for cutting out the coin door hole (in the Player 1 panel). I had a scrap offcut from my last cab laying around which was a good size so I got to work. In my previous cabs, I decided to create my own door. This looked ok and allowed me to create a bigger door at a nice price. This time, since the cocktail cab is much smaller, I can get away with a smaller coin door. I looked around and found this set at Austin Amusements – Two coin metal coin doors, a coin mech, two locks and coin door bolts for $45 – which is not half bad! (Link)

After resizing the stencil a few times, I got a nice fit – so this will end up being used to help size the hole correctly. I plan to spend some time and sand it down somewhat though before using to get it more event. Something you will see in a future update.

The Donkey Kong control panel artwork was ordered last weekend from GameOnGrafix – so I expect that will arrive in another week or so (can’t recall how long it took last time).

Meanwhile, I will get the router out and look at how to go about creating the round lines for the speaker (as seen on the donkey kong cab – left – below the control panel).

Posted in Donkey Kong Cocktail | Leave a comment

Initial parts purchased

A minor update – parts purchased from a few places.

In2Amusments and AustinAmusments being the main two online stores I’ve purchased from. Initial planning has paid off as it has helped save on postage by grouping parts together where possible to limit the number of orders required.

Also the control panel artwork has been purchased from GameOnGrafix – I hope to have that in a week or so.

Posted in Donkey Kong Cocktail | Leave a comment