Page 1 of 1

Useful Game Editor tips!

PostPosted: Sun Jan 06, 2013 6:16 pm
by lcl
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.

ADVANCED TIPS:

1. It's better to use Script Editor for all actions than the separate action dialogs.
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'd better not make overlapping script editor actions.
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!

Re: Useful Game Editor tips!

PostPosted: Sun Jan 06, 2013 7:43 pm
by GEuser
Thanks for the tips. I knew about the title settings but it doesn't work for me. Will have to try again...

Re: Useful Game Editor tips!

PostPosted: Sun Jan 06, 2013 7:51 pm
by lcl
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. :)

Re: Useful Game Editor tips!

PostPosted: Fri Feb 01, 2013 8:42 pm
by lcl
Added the tip about font antialiasing. :)

Re: Useful Game Editor tips!

PostPosted: Sat Feb 02, 2013 11:58 am
by tzoli
NIce turotial for new members :)
Btw the tittle shows up at gamemode too if it's in windowed mode.

Re: Useful Game Editor tips!

PostPosted: Sat Feb 02, 2013 12:19 pm
by lcl
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!

Re: Useful Game Editor tips!

PostPosted: Sat Feb 02, 2013 12:57 pm
by lcl
Added a tip concerning the use of Mouse Wheel in Game Editor.
Also sorted the tips to Basic ones and Advanced ones. :)

Re: Useful Game Editor tips!

PostPosted: Sun Mar 24, 2013 7:10 pm
by lcl
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. :)

Re: Useful Game Editor tips!

PostPosted: Tue Mar 26, 2013 4:15 am
by bamby1983
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.

Re: Useful Game Editor tips!

PostPosted: Fri Oct 09, 2015 8:32 am
by Turon
Code in the script editir can be saved into seperate catagories? How?

Re: Useful Game Editor tips!

PostPosted: Fri Oct 09, 2015 8:58 am
by lcl
Turon wrote:Code in the script editir can be saved into seperate catagories? How?

He means Global Code.

Re: Useful Game Editor tips!

PostPosted: Fri Oct 09, 2015 5:11 pm
by Turon
Oh, well it'd be real nice if the same applied to the regular script editor events...

Re: Useful Game Editor tips!

PostPosted: Thu Oct 29, 2015 5:08 am
by Zivouhr
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.