Page 1 of 1

sample .geds??? and other useful tutorials

PostPosted: Sat Aug 29, 2009 12:14 pm
by amanuob
hello there!!!
(XD) :mrgreen:

I'm new in GE and I don't know much about programing neither, when it comes to instructions i get little bit/more confused, because when I read an instruction that tells me to make something and the procedure skips one or two steps i get utterly confused. (>,<). I do try learning but somethings can't just be taught that quickly especially if you have no background experience at all. :roll:

So I humbly ask to all you intellectual people out there to share some of your vast knowledge in order for me increase my own.
(XD) :mrgreen:


he he he!!! :mrgreen:

can I have a ready made .ged file that has a simple HP bar and a moving char left,right,left_stop,right_stop,and jump.(moonwalk bug fixed)

and if possible can anyone direct me in some or other .ged file samples or tutorial involving GE commands.

And to all who kindly helped and spared some time in this questions, THANK U :)
and let there be peace on earth and money rain. :?: :?: :?: :mrgreen: :lol: :mrgreen: :?:

Re: sample .geds??? and other useful tutorials

PostPosted: Sat Aug 29, 2009 12:29 pm
by jimmynewguy
Welcome!

In GE starting off is the hardest part and i understand that. I'm not good at explaining things, at least not as much as i am at showing things....well if you need help just ask (im pretty good[not the best]just good). And i'll set you up with three demos to chew on.

DEMOS
Mario and the Golden Key
Thanks to ~ BeeAnt
Shows how to make a platformer/mario game
http://game-editor.com/forum/viewtopic.php?f=6&t=6028

Top Down Shooter
Thanks to ~ ummmm me lol
Shows how to make a topdown shooter (Has a health bar aswell [Health bar thanks to Dst?......i think])
http://game-editor.com/forum/viewtopic.php?f=6&t=6463

Fighting Engine
Thanks to ~ Dillodude
Shows how to make a platform game with fighting
http://game-editor.com/forum/viewtopic.php?f=6&t=6191

Oh and if you love platformers, check out Pyrometal's stuff....it will blow you away (and if you're smart try to figure out the codes lol)

See around and good luck

Re: sample .geds??? and other useful tutorials

PostPosted: Sun Aug 30, 2009 12:56 am
by amanuob
Ive got a question,
when I tried copy pasting some of the codes in the game within the links I got this error what should I do first :?: :mrgreen:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Script Editor: view -> Key Up (d)
--------------------------------------------
switch ((int)getLastKey())
{
case KEY_s: keys[kD] = 1; break;
case KEY_d: keys[kR] = 1; break;

case KEY_SPACE: keys[kJ] = 1; break;


}
--------------------------------------------
Error line 3: Undeclared identifier keys
Error line 3: Illegal assignment operation
Error line 4: Undeclared identifier keys
Error line 4: Illegal assignment operation
Error line 6: Undeclared identifier keys
Error line 6: Illegal assignment operation

There are script code errros that need to be corrected before your program will execute.
Proceed anyway?
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
So where do I declare stuff?
And why is assignment operation illegal?
So if that's true why do teachers give us assignments, should they put in jail??? :?: :?: :?: :mrgreen: :lol: :mrgreen: :?:

Re: sample .geds??? and other useful tutorials

PostPosted: Sun Aug 30, 2009 1:45 am
by cforall
Hey man :)
if you change your code like this:
Code: Select all
int keys[256];
int kD=1, kR=2, kJ=3;

switch (getLastKey())
{
case KEY_s:
keys[kD] = 1; break;
case KEY_d:
keys[kR] = 1; break;
case KEY_SPACE:
keys[kJ] = 1; break;
}

you will get no error...you need to declare those vars first.
if you want to use these vars in other events or functions, you should declare them in Global Code.
function getLastKey() return a int var, so no need to use (int)getLastKey.

but I do not get why you put these codes in view -> Key Up (d) ?

Re: sample .geds??? and other useful tutorials

PostPosted: Sun Aug 30, 2009 4:32 am
by amanuob
he he he (>,<) the truth is I don't know what I'm doing. :oops:

so where should I put this codes?
actor->something :?:

by the way how did you make the dot fire tiny dot bullets in the zombie game?

and how do you change a actors speed when moving?? does it have to do with x,y velocity ???

Re: sample .geds??? and other useful tutorials

PostPosted: Sun Aug 30, 2009 5:32 am
by amanuob
I'm trying to understand this.... (-,-)
Hmmmmmmm. :?:


int keys[256]; //array declaration (int type), keys (name of the array?), [256] (no. of arrays?)
int kD=1, kR=2, kJ=3; // assign array 1 as kD, 2 as kR, 3 as kJ???

switch (getLastKey()) // I don't know about the code below, but I would like to know what this code do though???
{ // and how do you use GetKeyState(); what is it for?
case KEY_s:
keys[kD] = 1; break;
case KEY_d:
keys[kR] = 1; break;
case KEY_SPACE:
keys[kJ] = 1; break;
}

Re: sample .geds??? and other useful tutorials

PostPosted: Mon Aug 31, 2009 12:11 am
by cforall
Oh man :D :D
Actually I am a beginner..I will tell you what I know.
You can find how to use getLastKey()/GetKeyState() @GE Installation Folder/Docs/script_reference.htm
as for switch() there is a C Language Reference @http://msdn.microsoft.com/en-us/library/fw5abdx6%28VS.80%29.aspx

by the way how did you make the dot fire tiny dot bullets in the zombie game?
and how do you change a actors speed when moving?? does it have to do with x,y velocity ???


Have you watched tutorials on Help Menu? that will walks you through the basic use of GE
also there are some great tutorals @GE Installation Folder/Docs/tutorials.htm
most important...download those good demos and figure how it works!

Re: sample .geds??? and other useful tutorials

PostPosted: Mon Aug 31, 2009 10:40 am
by amanuob
Yeah. I'm doing it right now I actually looked upon those items but I got a little confused so I went searching for some good tutorials and I found this

"Creating Games with Game Editor/Chapter 1" continues to chapter three.
in
"http://game-editor.com/Creating_Games_with_Game_Editor/Chapter_1"

but some of the parts are missing like sample pictures for the tutorial, I ended up skipping some parts due to the lack of these pictures. like in chapter 2 I think, the tutorial is missing a sample .png called cargun000.png and that sample had an animation so i can't totally complete the objectives in the instructions.

where do you find the help menu? :mrgreen:

Re: sample .geds??? and other useful tutorials

PostPosted: Mon Aug 31, 2009 10:45 am
by amanuob
:mrgreen: :mrgreen: :mrgreen: yeah!!!

this is what I needed, I didn't even know that Docs folder held so much information.
Tnx man.(>,<) :mrgreen: :mrgreen: :mrgreen:

Re: sample .geds??? and other useful tutorials

PostPosted: Mon Aug 31, 2009 11:40 am
by cforall
Sorry I did not express myself well :) :) :)
Snap1.png
Snap1.png (1.95 KiB) Viewed 1434 times

Snap2.png

Re: sample .geds??? and other useful tutorials

PostPosted: Mon Aug 31, 2009 11:53 pm
by amanuob
Oh that menu I thought it was some other menu in the internet.
(>,<)....hehehehe :lol: :mrgreen:

Re: sample .geds??? and other useful tutorials

PostPosted: Mon Sep 07, 2009 5:31 pm
by bat78
i think
for game editor 1.9.9 kg version
here the one is change maybe

i have a register in one sait there were many demonstrations
and you can download game editor full version and kg