GameSalad

GameSalad Tips Competition Winners!

ArmellineArmelline Posts: 4,397Member, PRO
edited May 31 in Working with GS (Mac)

The competition has come to an end, and prizes must now be given out! There were some fantastic tips posted, and even after more than 8 years of using GameSalad, I still got to learn something new!

A huge thanks to everyone who took part and contributed their fantastic tips to the community!

It wasn’t easy narrowing the list down to 6 winners (I miscounted the games!), so I awarded a prize to a tip that taught me something new and picked 4 others out of a hat. There were some amazing tips in the thread that everyone should know, so it's well worth reading the original thread if you didn't already!

I’ll ask the winners to PM me with their first, second and third choice games (I'll contact the winners if all their choices are already taken). A reminder, the prizes are Steam keys to:

  • Grim Fandango Remastered claimed!
  • Worms Clan Wars claimed!
  • Borderlands: The Pre-Sequel
  • 80 Days 2 claimed!
  • Her Story claimed!

Thanks again to @JSproject for donating two of the games!

With no further ado, here are our five winners!

1st Place:

@Icebox said:

Esc key works as the back button on android devices. So if you want to use the back button on android to pause your game, you can say “when key ‘esc’ is pressed / pause game”

I couldn’t put this anywhere but first as this is something I genuinely did not know and learnt from this thread. So thanks @Icebox!

2nd Place:

@tatiang said:

Don't unlock actors in a scene unless you have a good reason for doing so. Unlocking an actor creates an "instance" that can have different rules (and even attribute values) than the original "prototype" actor. While sometimes useful, if unintentional this can make troubleshooting rules tricky because actors that appear the same can have unique rules.

Also worth noting is that every time you unlock an actor on a scene, that actor is stored in the scene’s XML file. A prototype just references the actor’s stored information, but an unlocked actor copies that information. So if you place 100 prototypes on a scene, it will take up the space of the 1 prototype. If you place 100 unlocked actors on the scene, it will take up the space of 100 copies of the prototype. So unlocking actors not only complicates working with your game, it also slows down working with the project file and makes the file size of your game bigger and loading times longer!

Another great tip relating to unlocking actors came from @pHghost. Although it doesn’t win him a prize, it’s still well worth including here!

@pHghost said:

I would add to this that you can vastly expand the flexibility and functionality of your actors through self.attributes
This way, you can have only one enemy actor, with all the necessary rules, with references to self.attributes as needed. You do NOT need to unlock an instance of an actor to change its self.attributes! So you can easily change the power, animation, etc. of each instance without breaking stuff by unlocking it. And you will only need to edit one master actor to update behaviours of the whole group!

I was really glad to see this coming in at 2nd place, though! Anyone who knows me knows I’m obsessed with not unnecessarily unlocking actors! It’s the cause of so many problems!

3rd Place:

@fmakawa said:

With tables, make sure you add as many rows or columns as you will ever need. Especially important for saved level data. If not, you data will be rewritten when you make updated tables and you will lose your progress.

This is a horrendous bug/lack of feature that’s been in GameSalad for years and will likely never get fixed, so this is a really important tip! If you forget to do this, you can also add new tables to your game, so all is not lost! Don’t go overboard in the rows and columns you add, though - tables are pre-loaded by GameSalad and really big tables can slow down you game. So don’t go adding 10,000 extra rows and columns if you won’t likely ever need them!

4th Place:

@Toque said:

Often I made actors in a scene but I didn't want them visible so I changed them to alpha 0. But looking for them was difficult during editing because they were well invisible. So now I leave the alpha to 1 but the first rule in them is alpha 0. So you can't see them during game play but during editing they show up...

@Two.E touched on this idea too, but @Toque’s extra advice makes his tip a worthy winner too. Hiding actors can be super helpful, but it can be a nightmare to find them again while working on your scene! On a similar note, it’s worth keeping in mind that if your actor will never display text and will never been seen in the game, instead of changing its alpha to 0, change its “Graphics>Visible” attribute to OFF. This is more efficient, but it does also turn off the displaying of any text!

5th Place:

@AlchimiaStudios said:

You can use the max function to compare many different numbers, not just 2 numbers like it shows by default. So not just max(x,y) but max(a,b,c,x,y,z). Same with the min function.
Very useful for many things, such as a aggro system for an RPG, comparing enemy distances, comparing high scores, or maybe a targeting system for an RPG, shooter, TD, etc.

A great tip that many people don’t realise!

6th Place:

@Hopscotch said:

When you spawn actors and need to pass a value to them, use the Rotate, X or Y attributes to send a value.

This one is insanely useful. I use this constantly, and I owe a big debt to whoever first suggested it on the forums! (If it wasn’t @Hopscotch!) I've used it literally dozens of times in the last week alone, so this tip definitely has mileage!

Honourable mentions:

There were many other great tips in the thread that weren't drawn out the hat, so I thought I'd repeat a few of them here. Should any of the above decline their prize, they’ll be offered to the following people in this order:

@ElemetApps said:

Every 5 minutes click that save button or after being successful with a difficult logic. Also duplicating your gamesalad file before opening a just updated gamesalad software is a great idea.

This one is so important I probably should have given it a prize! It’s so easy to forget to save regularly, and although GameSalad is pretty crash resistant these days, it does still crash - particularly when working in unlocked actors. I find the more productive I’m being and the more I’m getting done, the less likely I am to save - so it always hits me hard when the app crashes!

@gingagaming said:

Name every rule or group in your actor in relevance to its job so when making changes or bug fixing, you know what it does!

This is a habit everyone should get into! I don’t normally do this as I’m working as it breaks my flow, but the moment I have a feature functioning correctly I go back and label everything while it’s still fresh in my mind.

@Socks said:

(random(0,1)2-1)random(1,100) . . . will give you a random value between -100 and 100 except for zero.

This one is super duper handy when you need it. I’ve only put it so low as it’s going to be applicable to fewer people than the others. I’d encourage @Socks to make a thread breaking it down and explaining it to people!

If you didn’t win a prize, please don’t be discouraged! EVERY SINGLE tip submitted in the competition thread was brilliant, and if I had more prizes there would most definitely be more winners!

Comments

  • tatiangtatiang Posts: 10,785Member, Sous Chef, PRO, Senior Sous-Chef

    Thanks, @Armelline! This was a great idea. I wasn't aware of the max(a,b,c,x,y,z) ability so yes, I learned something new, too. :)

  • JapsterJapster Posts: 297Member, PRO
    edited May 30

    This was an AWESOME thread Armelline! - Learnt some great stuff too, guys... :smiley:

    If it helps others:-

    I've had GS appear to catastrophically crash when saving a few times recently - after the 1st time it wasn't funny. So, out of desperation (I'd force closed it after 10 minutes, the first time, resulting in a completely broken project), I resorted to clicking around the menu area, and off the app, etc, ALT-Commanding to other apps, etc. Not sure what I did, but doing this for the other 3 or so times it did it, the beach ball disappeared, replaced with a lovely active cursor. I was able to save my project, and more importantly, load it back up, every time.

    Kind of like the issue where scrolling through the actors list in GS hung it frequently, damn that beach ball! - I learned to click the edges, and OFF of the app, which brought it back every single time. Before that, the air was blue! - Oh yeah, the issue above is on different OS's, different Mac's, and plenty of HD space and memory....

    On a final note - I had my project REALLY screw up over the weekend, I'd saved a large image in Photoshop, and GS REALLY didn't like it - it happily brought it in without complaining or moaning about the resolution etc, but something - combination of bit data, etc, caused it to REALLY screw up, and display garbage when I ran my project (then bork the project - unsalvagable... Argh!!). So I TinyPNG'd it. ...worked an absolute treat! - Prior to that, every single time I added the original (same res) PNG, it screwed my project up beyond (easy) repair... (Yeah I know, on the previewer, the transparencies can sometimes look weird, and some people don't think it makes a difference to project size, but on ALL of the devices I tested (iOS and Droid) it looks perfect.... :)

  • Braydon_SFXBraydon_SFX Dallas, TexasPosts: 8,838Member, Sous Chef, PRO, Bowlboy Sidekick

    Congrats to all the winners!

  • IceboxIcebox Posts: 1,327Member, BASIC

    Thanks for the competition and the generous gifts , it was an awesome thread :)

  • gingagaminggingagaming FREELANCE GS DEV Posts: 1,427Member, PRO

    Well done to all winners and more importantly, the stick the thread got so we all can learn a tip or two! Thanks for your time in organising this @Armelline

  • fmakawafmakawa Posts: 519Member, PRO

    The tip thread was an awesome idea! I need to get down to that passing a value tip. I didn't quite get it and it wasn't the only one were I learnt something new. brilliant!!!

  • SocksSocks London, UK.Posts: 12,598Member, PRO

    @Hopscotch said:
    @Armelline, this was awesome!

    A great collection of tips were made public this way and I especially enjoyed the community involvement.

    Yep, there should be one of these every week !

  • AlchimiaStudiosAlchimiaStudios Posts: 798Member, PRO

    Yeah turned out great, so many awesome tips.

  • johnnymagnejohnnymagne NorwayPosts: 101Member, PRO

    Congratulations to all the winners - still a lot to learn in Gamesalad!

  • ElemetAppsElemetApps Posts: 40Member

    Thank you for the Honourable mention @Armelline. I really appreciate it!

  • ArmellineArmelline Posts: 4,397Member, PRO

    All prizes have now been given out. Congrats to the winners, and thanks again to everyone who took part!

  • ValanValan Posts: 369Member, PRO

    Congrats on the tip winners.
    Great idea Armelline.

Sign In or Register to comment.