Newbie advice/questions?
Posted: Tue Nov 22, 2011 7:02 am
I had been messing with Game Editor on and off for sometime, and to be frank my knowledge of programming is slim to none.
I've recently picked up some Beginners guides for programming in C, C++ and C# and had been looking over many of the tutorials listed on these forums.
Some of the burning questions I've been wanting to know, is instead of using the "Add Actor - script editor" can I basically use the Global Code editor to do all of my coding? And if so, which programming language works best with it? C or C++ ?
Then also is there different keywords used in game editor that aren't used in C/C++ ?
(My apologies in advance for this next long explanation of what I intend to do)
Basically I want to either create an actor, either via the Add Actor function, or through the Global Code editor, and give him inherited events from the script I wrote in the Global Editor (basically for walking, jumping, health bar, attacking/attack animation and so on)
Now I am running into problems defining these variables to be used for my Actor and am coming across script errors when saving the code (obviously I know this error is on my behalf due to my lack of programming knowledge)
I've browsed the list of Game-Editor Keywords, but I was wondering if there was such a keyword for how they use the Actor Control - Events - Key Down to define in the global script?
I really appreciate any help you can offer me. If you want a general idea of the type of game I am making (side scroller) I have a brief youtube video posted when I first started goofing around with GE.
http://www.youtube.com/watch?v=03AMooXE9bs
(Please remember this was what I first made when I first started using GE
I've recently picked up some Beginners guides for programming in C, C++ and C# and had been looking over many of the tutorials listed on these forums.
Some of the burning questions I've been wanting to know, is instead of using the "Add Actor - script editor" can I basically use the Global Code editor to do all of my coding? And if so, which programming language works best with it? C or C++ ?
Then also is there different keywords used in game editor that aren't used in C/C++ ?
(My apologies in advance for this next long explanation of what I intend to do)
Basically I want to either create an actor, either via the Add Actor function, or through the Global Code editor, and give him inherited events from the script I wrote in the Global Editor (basically for walking, jumping, health bar, attacking/attack animation and so on)
Now I am running into problems defining these variables to be used for my Actor and am coming across script errors when saving the code (obviously I know this error is on my behalf due to my lack of programming knowledge)
I've browsed the list of Game-Editor Keywords, but I was wondering if there was such a keyword for how they use the Actor Control - Events - Key Down to define in the global script?
I really appreciate any help you can offer me. If you want a general idea of the type of game I am making (side scroller) I have a brief youtube video posted when I first started goofing around with GE.
http://www.youtube.com/watch?v=03AMooXE9bs
(Please remember this was what I first made when I first started using GE