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.

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!
Last edited by lcl on Sun Mar 24, 2013 7:06 pm, edited 5 times in total.
SABRE (semi-3D engine) official development topic: viewtopic.php?f=6&t=12644
A game project that utilizes SABRE: viewtopic.php?f=4&t=13297
User avatar
lcl
 
Posts: 2241
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 265 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. :)
SABRE (semi-3D engine) official development topic: viewtopic.php?f=6&t=12644
A game project that utilizes SABRE: viewtopic.php?f=4&t=13297
User avatar
lcl
 
Posts: 2241
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 265 Give a positive score

Re: Useful Game Editor tips!

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

Added the tip about font antialiasing. :)
SABRE (semi-3D engine) official development topic: viewtopic.php?f=6&t=12644
A game project that utilizes SABRE: viewtopic.php?f=4&t=13297
User avatar
lcl
 
Posts: 2241
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 265 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: 339
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!
SABRE (semi-3D engine) official development topic: viewtopic.php?f=6&t=12644
A game project that utilizes SABRE: viewtopic.php?f=4&t=13297
User avatar
lcl
 
Posts: 2241
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 265 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. :)
SABRE (semi-3D engine) official development topic: viewtopic.php?f=6&t=12644
A game project that utilizes SABRE: viewtopic.php?f=4&t=13297
User avatar
lcl
 
Posts: 2241
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 265 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. :)
SABRE (semi-3D engine) official development topic: viewtopic.php?f=6&t=12644
A game project that utilizes SABRE: viewtopic.php?f=4&t=13297
User avatar
lcl
 
Posts: 2241
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 265 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?
User avatar
Turon
 
Posts: 824
Joined: Sun Jan 24, 2010 5:23 pm
Location: In Your Imagination
Score: 31 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.
SABRE (semi-3D engine) official development topic: viewtopic.php?f=6&t=12644
A game project that utilizes SABRE: viewtopic.php?f=4&t=13297
User avatar
lcl
 
Posts: 2241
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 265 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...
User avatar
Turon
 
Posts: 824
Joined: Sun Jan 24, 2010 5:23 pm
Location: In Your Imagination
Score: 31 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: 546
Joined: Sat May 17, 2014 2:12 pm
Score: 58 Give a positive score


Return to Tutorials

Who is online

Users browsing this forum: No registered users and 0 guests

cron