HOWWWWW??

Non-platform specific questions.

HOWWWWW??

Postby johnstone000 » Sun Jan 11, 2009 8:53 am

I WANT TO MAKE A GAME!!!! HOWWWWW?????
johnstone000
 
Posts: 25
Joined: Sun Jan 11, 2009 7:20 am
Score: 0 Give a positive score

Re: HOWWWWW??

Postby skydereign » Sun Jan 11, 2009 11:24 am

This really depends on what type of game... If you need help and already have a concept then we'll need a bit more info to help. If you want to know how to use gameEditor, I suggest running through some demos, just to get a feel for it.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: HOWWWWW??

Postby johnstone000 » Sun Jan 11, 2009 10:23 pm

i would like to make a simple dodge game and i basically know nothing =\
johnstone000
 
Posts: 25
Joined: Sun Jan 11, 2009 7:20 am
Score: 0 Give a positive score

Re: HOWWWWW??

Postby skydereign » Mon Jan 12, 2009 3:46 am

Well, again I suggest you learn how to give basic actions to actors. So the game you want is to have your main actor move around, avoiding objects? That would be relatively easy... But first you really need to know how to use the actors. For your game idea I would create an actor that is constantly moving around the screen that randomly creates other actors, which would destroy or injure your main actor. Also have a count going on, assuming there is a point system. I can explain further when you know more about the gameEditor system. Most of the demos are pretty short and easy to understand.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: HOWWWWW??

Postby Caaz Games » Mon Jan 12, 2009 5:30 am

johnstone000 wrote:i would like to make a simple dodge game and i basically know nothing =\

took me a while but i found my old game, is it something like this you want to make?
viewtopic.php?f=6&t=3083
you cal look in the code
You are welcome to join my forum. 4 active members lol but it's a cool place. active... much talking :D it's fun!
http://caaz.freeforums.org/
User avatar
Caaz Games
 
Posts: 729
Joined: Wed Feb 14, 2007 9:09 am
Location: California....knows how to party!
Score: 25 Give a positive score

Re: HOWWWWW??

Postby johnstone000 » Mon Jan 12, 2009 6:12 am

oops dont read this
Last edited by johnstone000 on Mon Jan 12, 2009 6:15 am, edited 1 time in total.
johnstone000
 
Posts: 25
Joined: Sun Jan 11, 2009 7:20 am
Score: 0 Give a positive score

Re: HOWWWWW??

Postby johnstone000 » Mon Jan 12, 2009 6:14 am

Caaz Games wrote:
johnstone000 wrote:i would like to make a simple dodge game and i basically know nothing =\

took me a while but i found my old game, is it something like this you want to make?
viewtopic.php?f=6&t=3083
you cal look in the code


ya but like on a loop =] and i found out how to make my guy move!!! YAY!
johnstone000
 
Posts: 25
Joined: Sun Jan 11, 2009 7:20 am
Score: 0 Give a positive score

Re: HOWWWWW??

Postby johnstone000 » Mon Jan 12, 2009 6:33 am

It wont let me make my guy move diagonally

To make my guy move south-west I think I would only have to do this...

1. Right click Actor and select Actor Control
2. Click Events: Add then Key Down
3. Type in left, down(using arrow keys)
4. Execute When: All keys are pressed
5. Click Add Action then Move To
6. Actor: Actor1
7. Relative to: Actor1
8. Position x:-5
9. Position y:-5
10. Velocity:8
11. Now click Add then Immediate Action

Now shouldn't this work to make my guy move south-west when I press the left and right arrow keys together?
Any ideas?
johnstone000
 
Posts: 25
Joined: Sun Jan 11, 2009 7:20 am
Score: 0 Give a positive score

Re: HOWWWWW??

Postby skydereign » Mon Jan 12, 2009 6:50 am

I suggest using a separate keydown event for each direction. Up, Down, Left, Right, and each moves the proper direction. Then when holding both, left and down, it will move you diagonally.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: HOWWWWW??

Postby johnstone000 » Mon Jan 12, 2009 7:07 am

what do you mean?
johnstone000
 
Posts: 25
Joined: Sun Jan 11, 2009 7:20 am
Score: 0 Give a positive score

Re: HOWWWWW??

Postby skydereign » Mon Jan 12, 2009 8:10 am

Add a keydown events, choose script editor script editor
right key
Code: Select all
x+=5;

left key
Code: Select all
x-=5;

up key
Code: Select all
y-=5;

down key
Code: Select all
y+=5;
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: HOWWWWW??

Postby johnstone000 » Mon Jan 12, 2009 11:17 pm

I dont get it :roll:
johnstone000
 
Posts: 25
Joined: Sun Jan 11, 2009 7:20 am
Score: 0 Give a positive score

Re: HOWWWWW??

Postby skydereign » Mon Jan 12, 2009 11:55 pm

These are the steps.
1. Right click Actor and select Actor Control
2. Click Events: Add then Key Down
3. Type in right(using arrow keys)
4. Click Add Action then Script Editor
5. Type
Code: Select all
x+=5;

6. Click Add, then Immediate action
7. Close

2. Click Events: Add then Key Down
3. Type in left(using arrow keys)
4. Click Add Action then Script Editor
5. Type
Code: Select all
x-=5;

6. Click Add, then Immediate action
7. Close


2. Click Events: Add then Key Down
3. Type in up(using arrow keys)
4. Click Add Action then Script Editor
5. Type
Code: Select all
y-=5;

6. Click Add, then Immediate action
7. Close


2. Click Events: Add then Key Down
3. Type in down(using arrow keys)
4. Click Add Action then Script Editor
5. Type
Code: Select all
y+=5;

6. Click Add, then Immediate action
7. Close


Another way, ignore this if it is too complicated... I prefer this method as I prefer doing most of my code in the script editor, but it requires a small amount of coding knowledge...
1. Right click Actor and select Actor Control
2. Click Events: Add then Draw Actor
3. Click Add Action then Script Editor
5. Type
Code: Select all
char *key=GetKeyState();
if (key[KEY_RIGHT]==1)
{
   x+=5;
}
if (key[KEY_LEFT]==1)
{
   x-=5;
}
if (key[KEY_DOWN]==1)
{
   y+=5;
}
if (key[KEY_UP]==1)
{
   y-=5;
}

6. Click Add, then Immediate action
7. Close
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: HOWWWWW??

Postby johnstone000 » Tue Jan 13, 2009 12:05 am

dont read this
Last edited by johnstone000 on Tue Jan 13, 2009 12:23 am, edited 2 times in total.
johnstone000
 
Posts: 25
Joined: Sun Jan 11, 2009 7:20 am
Score: 0 Give a positive score

Re: HOWWWWW??

Postby skydereign » Tue Jan 13, 2009 12:18 am

If you are doing it by the keydown event, then you can change the setting, repeat, to disable. This will create one bullet each time it you press space.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Next

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron