Useful Game Editor tips!

Learn how to make certain types of games and use gameEditor.

Useful Game Editor tips!

Postby lcl » Sun Jan 06, 2013 6:16 pm

Some tips about using Game Editor. These are mostly things I've noticed too many people don't know about yet. :)

BASIC TIPS:

1. List of all GE script functions with their syntaxes
WHERE: Here: http://game-editor.com/docs/script_reference.htm
HOW TO USE: Whenever you need to know how some function works, just go to the web page above,
and search for the function's name (search with F3 or CTRL+F) and you'll find a good, compact description of it.
(I suggest everyone to add this to their browsers bookmarks, it really is very useful!)

2. You can lock actors so that you don't have to be afraid of them moving from their place.
HOW TO: Just right click the actor and choose 'Lock actor'. To unlock, do the same, but select 'Unlock actor'.
lockUnlock.png


3. You can set a title to your game (i.e. the text that appears on the top bar of the game window).
HOW TO: Go to 'Config' -> 'Game Properties' and write the title you want to the 'Game title'-field.
title.png


4. Setting transparency to 1 (full) isn't a good way to make an actor invisible, because it will still be a little visible. However there is a simple fix for that.
HOW TO: Go to what ever event you want to make the actor invisible in (for example Create Actor so when the actor is created) and from actions select 'Script Editor' and from there,
go to 'Variables / Functions' and choose VisibilityState. You can select the actor, but in this case it's event actor, which is default. Then set the state to 'disable'. And in event where you want it
to be seen again, do the same but instead of 'disable', choose 'enable'. To add the script editor event, just click 'Add' and 'Immediate Action'.
visibilityState.png


5. If you make your game with multiple GEDs you don't have to export them all as .exe-files.
You can make it so that the file you want to be opened first is exe and the rest of the files are exported just as .dat-files, making it impossible to run them on their own.
This makes your game be smaller in size, since Game editor engine is only included in the exe file, and it also makes much more sense to only be able to open the main menu of your game than all levels, too. :)

6. You can make fonts SOFT.
When adding a new font to your game, you can set it to be soft -> i.e. have antialiased edges.
HOW TO: When adding the font, just set the 'Soft' option from 'No' to 'Yes'.
smooth.png


7. You can use the mouse wheel.
This is something that most people don't know, because GE supports it in kinda weird way.
HOW TO: Go to 'Mouse Button Down' or 'Mouse Button Up' -event and when you have to specify the mouse button, don't click anything, but roll the wheel to the direction you want.
There will not be a text saying something like: 'mouse wheel roll up', it actually seems like as if you haven't specified a button at all! But, when you go and make an action and test it, it works.
mouseWheel.png


8. You can zoom in and out.
Just use + and - or , and . to zoom in and out in game editor.

9. Don't make players click text actors.
This is a pretty common annoyance in games people make with Game Editor. It is pretty easy to end up with this design flaw in your game. When adding a menu to a game, most of the time the different menu items consist of text (new game, load game, options, exit, etc.) and at that point, text actors are the way to go, as they make it easy to display text on the screen. But here's where many of us stumble: when it comes the time to add functionality to the menu, it seems that the common thought is that because the text actors show the different options, they should also contain the functionality. But that's not good.
WHY: Have you ever tried clicking letters on the screen? Depending on the font size the difficulty of this task varies from uncomfortable to infuriating. Positioning the cursor over the couple of pixels that form the shape of a letter requires extreme precision and feels very awkward. And the feel matters, everything in your game, from graphics, sounds and gameplay to the usability of the main menu are part of the player's experience with your game, and with every bit of annoyance served their way, your game becomes less fun, less likeable. And the fact that the main menu is often among the first things the player will encounter in your game only pronounces the significance of having a nice and easy to use menu.
HOW TO: Just give the players something that is easier to click. You could add some visible, interactive buttons behind the text, or just simply place a Filled Region actor over each text actor and using that to register the clicks. This way the player doesn't have to have their cursor spot-on above the pixels of a letter, but instead can just click at the general area of the menu option. Below is an example of a "New game" option covered with a Filled Region.
clickFilledRegion.png


10. Make buttons act on Mouse Button Up
WHY: Just try it, it just feels right. Having a game jump somewhere just as you press the mouse button down feels unnatural. Also, test the buttons in the operating system you use. You can press the mouse button down and hold the button pressed as long as you want, and it won't do anything apart from having changed the button to appear as clicked.
HOW TO: Just move the actions from your Mouse Button Down events to Mouse Button Up events. You can now use the Mouse Button Down event to just make the button change its animation to a "pressed" state.



ADVANCED TIPS:

Disclaimer: The following tips are, to some extent, matters of preference.

1. It's better to use Script Editor for all actions than the separate action dialogs (in my opinion).
WHY: Because it allows you to have all the things happening same time in one place. All the things you can do in separate action dialogs are possible to be done in script editor too.
This greatly reduces the amount of actions listed in actors events, because instead of one action in the list for one action of the actor there is one action in the list for all the actors action in that event.
instead.png


2. You should not make overlapping script editor actions (in my opinion).
WHY: Because they are simply useless because the scripts of two script editor actions in same event can be put to one script editor action in that event.
It's also frustrating to try to guess which one of the script editor actions is the one you are looking for.
multipleVSsingle.png



That's all for this list for now. If you have something that you consider being a good thing to add to the list, don't hesitate to send me PM about it. :)

I hope this helps someone!
Last edited by lcl on Mon Apr 23, 2018 4:38 pm, edited 6 times in total.
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Useful Game Editor tips!

Postby GEuser » Sun Jan 06, 2013 7:43 pm

Thanks for the tips. I knew about the title settings but it doesn't work for me. Will have to try again...
GEuser
 
Posts: 204
Joined: Thu Jan 05, 2012 3:08 pm
Score: 19 Give a positive score

Re: Useful Game Editor tips!

Postby lcl » Sun Jan 06, 2013 7:51 pm

GEuser wrote:Thanks for the tips. I knew about the title settings but it doesn't work for me. Will have to try again...

The title is shown only in exported version of your game. :)
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Useful Game Editor tips!

Postby lcl » Fri Feb 01, 2013 8:42 pm

Added the tip about font antialiasing. :)
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Useful Game Editor tips!

Postby tzoli » Sat Feb 02, 2013 11:58 am

NIce turotial for new members :)
Btw the tittle shows up at gamemode too if it's in windowed mode.
Creepers are capable of climbing ladders, despite lacking arms. (Minecraft wiki)
User avatar
tzoli
 
Posts: 343
Joined: Sat Jun 12, 2010 6:54 pm
Location: Behind you
Score: 15 Give a positive score

Re: Useful Game Editor tips!

Postby lcl » Sat Feb 02, 2013 12:19 pm

tzoli wrote:NIce turotial for new members :)
Btw the tittle shows up at gamemode too if it's in windowed mode.

Thanks! :)
Oh, I hadn't noticed that, I will correct the information on the post.
Thanks for pointing that out!
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Useful Game Editor tips!

Postby lcl » Sat Feb 02, 2013 12:57 pm

Added a tip concerning the use of Mouse Wheel in Game Editor.
Also sorted the tips to Basic ones and Advanced ones. :)
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Useful Game Editor tips!

Postby lcl » Sun Mar 24, 2013 7:10 pm

Added a link to GE Script Reference, it's the tip number 1 on the basic tips section.
Total of 10 tips currently. :)

Do you have a good tip for using GE? Want to share it here?
Just PM it to me and I'll add it to the first post, with you mentioned as the submitter of it. :)
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Useful Game Editor tips!

Postby bamby1983 » Tue Mar 26, 2013 4:15 am

Here's a tip I found pretty handy and didn't figure out for a while. When coding using the script editor, you can select the actor name from the "Actors" drop down list instead of trying to recall and type it manually.

Also, code in script editor can be saved in separate categories so they can be grouped and navigation becomes easier.
bamby1983
 
Posts: 112
Joined: Tue Jul 31, 2012 11:36 pm
Score: 8 Give a positive score

Re: Useful Game Editor tips!

Postby Turon » Fri Oct 09, 2015 8:32 am

Code in the script editir can be saved into seperate catagories? How?
Turon
 
Posts: 862
Joined: Sun Jan 24, 2010 5:23 pm
Score: 32 Give a positive score

Re: Useful Game Editor tips!

Postby lcl » Fri Oct 09, 2015 8:58 am

Turon wrote:Code in the script editir can be saved into seperate catagories? How?

He means Global Code.
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Useful Game Editor tips!

Postby Turon » Fri Oct 09, 2015 5:11 pm

Oh, well it'd be real nice if the same applied to the regular script editor events...
Turon
 
Posts: 862
Joined: Sun Jan 24, 2010 5:23 pm
Score: 32 Give a positive score

Re: Useful Game Editor tips!

Postby Zivouhr » Thu Oct 29, 2015 5:08 am

Good list of tips LCL.
One of my favorite features of Game Editor is building a big list of proven scripts and then saving them, and later loading them into a new game in the required spot (draw actor, create actor, collision, etc) of the script Editor to save a ton of time.
City of Rott Game created on Game Editor http://cityofrott.wordpress.com/
User avatar
Zivouhr
 
Posts: 549
Joined: Sat May 17, 2014 2:12 pm
Score: 59 Give a positive score

Re: Useful Game Editor tips!

Postby lcl » Mon Apr 23, 2018 4:39 pm

Added two new tips:
  • Don't make players click text actors
  • Make buttons act on Mouse Button Up
Check the top post for full explanations.
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Useful Game Editor tips!

Postby MrJolteon » Mon Apr 23, 2018 8:05 pm

I'll just go ahead and make this a sticky thread.
Join us on Discord!
Game Editor 2
These are the best ways to reach me these days


Your local Community Janitor, always lurking in the shadows...
User avatar
MrJolteon
 
Posts: 2326
Joined: Sat Aug 09, 2008 3:25 pm
Location: Stranded under endless sky
Score: 105 Give a positive score

Next

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest

cron