Sunnyside Smash Dev Blog 1

Lou Bagel Logo

Lou Bagel

April 16, 2022

Sunnyside Smash

Sunnyside Smash

The other day I saw this Asset Pack, by Daniel Diggle, on sale. I don't really use asset packs but it looked pretty good so figured why not, just buy it.

So after buying it I figured I'd just put it together into Construct and see what I could make of it. Also decided to stream it on Twitch - a little live GameDev action.

It didn't go great but eventually got something thrown together that you can play below. Below that is the stream video and then screenshots of the Construct event sheets with a short explanation of each.

smash attack in sunnyside smash
Smash!

Hoping to add a bit to this, something as simple as keeping score and smooth restarts, and any other small tweaks to make it a bit more playable. Wanted to post this before making any further changes not from the stream, in case anyone wants to use this like a tutorial.

Project

Here is the project after the first game dev session. You can play below, here on this page, but annoyingly the arrow keys will move the page up and down on some browsers.

Click here to open the above game in a new window

If playing in a new window you shouldn't have to worry about the arrows scrolling the page.

Simply use the arrow keys to move and space bar to attack. Smash as many people as you can without getting smashed yourself. If you do die, you will just have to refresh the page. Yes, so many things to add to get this in a good state.

Uncut GameDev Stream

Here is the un-edited stream where I made the above. I am not sure if it is worth watching it all unless you are really looking for how something was specifically done.

Objects in Project

I thought it would make sense to first overview the objects used in the project. That way looking at the event sheets may make more sense with less explanation.

construct 3 screenshot of properties bar
Objects Screenshot from Construct 3 Properties Bar

Objects:

The families are also shown in the screenshot above, which is only the family called zindex. I can simply add any sprite that I wanted sorted with the zindex to this family and nothing else needs to be done.

Event Sheets

construct 3 screenshot of event sheets and layouts
Event Sheets Screenshot

Master Event Sheet

The master event sheet is the one connected to Layout 1. All other event sheets are included on the master sheet, therefore only serve the purpose of orginization. Also, the master event sheet acts as a catch-all.

screenshot of master event sheet
Master Event Sheet

Notes:

Animations Event Sheet

The animations here deal mostly with mirroring depending on which direction they are moving as the walk animation simply loops. The second half here deals mostly with the attack, so might have made more sense to put it on the attack event sheet.

screenshot of animations event sheet
Animations Event Sheet

Notes:

Attack Event Sheet

An attack function where you can pass it any personBase UID. Also, the event that watches for an attack to finish to return to the walk animation.

screenshot of attack event sheet
Attack Event Sheet

Notes:

Pathfinding Event Sheet

Pretty simply pathfinding here by using random numbers.

screenshot of pathfinding event sheet
Pathfinding Event Sheet

Notes:

Z-Index Event Sheet

Sorting the zIndex of characters, houses, and the doors in the z index family.

screenshot of z index event sheet
Z-Index Event Sheet

Notes:

Last Words

If you enjoyed this shoot me a comment on one of the socials below. If you would like a mini-tutorial on one of the mechanics I might be able to do that. Or if you enjoy playing and looking forward to see those edits - let me know! It might push it up the priority list!