im new here

Game Editor comments and discussion.

im new here

Postby JoKeR » Thu Mar 29, 2007 12:24 pm

hi, uhh im new here and i know pretty much the baciks of programming and i just want to know how all those variables work and how i can alter em.
I'm caaz's bro
JoKeR
 
Posts: 1
Joined: Thu Mar 29, 2007 12:21 pm
Score: 0 Give a positive score

Postby makslane » Thu Mar 29, 2007 12:46 pm

I'm not sure what you need, but take a look in this tips:

1) How can I change the appearance of my actors?

Change the animation of the actor (even if you have a single image)

2) How can I make my actor live?

The behavior of an actor is made by using events and actions.
For example, when the user hit a key (event), move the actor 3 steps right (action)

3) How can I change a property of an actor?

All actors have pre built properties like position (x, y), transparency (transp)... The properties (or variables) can be changed by using a Script Editor action:

Image

So, if you need move the actor to the right, just put something like:

x = x + 3;

4) How can I create a new variable?

In the Script Editor, you can use the Variables button:

Image

And click on the Add button:

Image

To track the actor's live, for example, create your variable live, integer and not global (choose the type Actor). So, each actor will have your own life count.

Read more at:
http://game-editor.com/docs/scripting.htm
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron