Silly Games from a Silly Dragon

Game Editor comments and discussion.

Silly Games from a Silly Dragon

Postby sillydraco » Sat Apr 04, 2009 4:49 am

hello! my name is Draco, and ive been playing with the game all afternoon and i think i got some stuff down, but there is still a lot of things i want to do! i was inspired to make a game from playing Cave Story (lol lame i know but XD) and i wanted to make my own! all ive got so far is just some practice with movement and floors, but im pleased with it so far! i took some Tails (sonic the hedgehog) sprites and put them in, and i took 5 mins to make my own floor. all it does so far is jump and land on the platform, and he falls off the edge and thats pretty much it. i want to do more, i want to make the rest of the game! but one step at a time i suppose, ill learn more tomorrow!

EDIT:
oh lol the controls!

Left = <
Right = >
Jump = F
Attachments
PracticeWithTails.zip
Practice with Tails
(749.12 KiB) Downloaded 133 times
Time for sleepy, dream of new things...new life, new reality, new wings.
Image
User avatar
sillydraco
 
Posts: 71
Joined: Fri Apr 03, 2009 7:54 am
Score: 3 Give a positive score

Re: Silly Games from a Silly Dragon

Postby Azou » Sat Apr 04, 2009 11:18 pm

That's ok! Keep going!
User avatar
Azou
 
Posts: 514
Joined: Thu Sep 13, 2007 1:12 pm
Score: 35 Give a positive score

Re: Silly Games from a Silly Dragon

Postby sillydraco » Sat Apr 04, 2009 11:35 pm

now i wanna make some baddies! i can't seem to find any baddie tutorials here, and the wiki is empty :3 i just want them to walk back and forth along a path (or fly) and destroy the player's actor when touched, or maybe have three damage and boom!
User avatar
sillydraco
 
Posts: 71
Joined: Fri Apr 03, 2009 7:54 am
Score: 3 Give a positive score

Re: Silly Games from a Silly Dragon

Postby skydereign » Sun Apr 05, 2009 1:07 am

The caveman demo that comes with gameEditor, I think, has what you are looking for. There are three main ways of doing this, the easiest would be by path, shown in the caveman demo. Another is using timers. This link has a demo called knights. You could use the code that moves the knights, and alter the directions and times as you please. Such as making them only move left and right. If you are making a performer it may take a little work.
http://game-editor.com/forum/viewtopic.php?f=4&t=6423&start=45
The last way is just creating your won AI system, which is essentially what you were doing anyways, just adding triggers for you enemy. I can explain further or make a demo of this method or any other method if you wish.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Silly Games from a Silly Dragon

Postby jimmynewguy » Sun Apr 05, 2009 2:19 am

i will probably make a demo an enemies since many people ask about it. ill try to display a few ways so people can choose which kind they like best :) i might also make a demo request topic, i think there used to be one, but i cant remember........
Working on a probably too ambitious project! Wild-west-adventure-RPG-shooter-thing.
User avatar
jimmynewguy
 
Posts: 1137
Joined: Sat Mar 31, 2007 6:27 pm
Score: 89 Give a positive score

Re: Silly Games from a Silly Dragon

Postby skydereign » Sun Apr 05, 2009 3:36 am

Yeah, this is it. Not that many demos came from this though. You should probably make a new thread as you suggested.
http://game-editor.com/forum/viewtopic.php?f=6&t=4938&
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Silly Games from a Silly Dragon

Postby jimmynewguy » Sun Apr 05, 2009 5:56 pm

Working on a probably too ambitious project! Wild-west-adventure-RPG-shooter-thing.
User avatar
jimmynewguy
 
Posts: 1137
Joined: Sat Mar 31, 2007 6:27 pm
Score: 89 Give a positive score

Re: Silly Games from a Silly Dragon

Postby sillydraco » Sun Apr 05, 2009 7:23 pm

there should be a reference page with like all kinds of scripts for simple Platform stuff:

moving left and right with arrow keys (i think its in the program itself)

jumping (also there), double jumping, and limiting the jump

health bar, ammo bar, etc bar

picking up items/weapons and a simple inventory at the top of the screen that functions with < and > and "X" to select

item functions: shoot projectiles (and projectile functions), heal, ammo, event item (for the storyline), keys, etc

doors, locked and open

moving from level to level, or room to room via doors / teleporters

enemies and bosses, simple movements (back and forth along paths or until collide), functions and damage

loading screen and in game menu

checkpoints, save points (going back to them when you fall in pits or take too much damage)

falling into pits = die

i cant think of anything else :3
User avatar
sillydraco
 
Posts: 71
Joined: Fri Apr 03, 2009 7:54 am
Score: 3 Give a positive score

Re: Help with some code!

Postby sillydraco » Tue Apr 07, 2009 7:47 am

Code: Select all
If ("Draco" Animation = "StandRight");
 {
  xvelocity = 8;
  ChangeAnimation("Energy1", "Energy1", FORWARD);
 }

If ("Draco" Animation = "StandLeft");
 {
   xvelocity = -8;
   ChangeAnimation("Energy1", "Energy2", FORWARD);
 }

If ("Draco" Animation = "WalkRight");
 {
  xvelocity = 8;
  ChangeAnimation("Energy1", "Energy1", FORWARD);
 }

If ("Draco" Animation = "WalkLeft");
 {
  xvelocity = -8;
  ChangeAnimation("Energy1", "Energy2", FORWARD);
 }


alright, i have an event on my Player "Draco", Down Key > Create Actor (Energy1). i also have an event on "Energy1" Create Actor > Script Editor. i am trying to make it so that when i push "F" an energy bullet shoots out from "Draco". i am trying to make an If Then code so that if "Draco" is standing left, the energy is shot out to the left, with the animation "Energy2" (which is the reversed animation shooting to the left) and etc for the others if "Draco" is standing right, or walking left or walking right. but i keep getting the error "Error Line 1, 7, 13, 19, Undeclared Identifyer If". i dunno what else to do :3
Time for sleepy, dream of new things...new life, new reality, new wings.
Image
User avatar
sillydraco
 
Posts: 71
Joined: Fri Apr 03, 2009 7:54 am
Score: 3 Give a positive score

Re: Silly Games from a Silly Dragon

Postby jimmynewguy » Tue Apr 07, 2009 8:44 pm

you have to use animindex funtion

Code: Select all
if(animindex == getAnimIndex("standright") ||
             animindex == getAnimIndex("walkright"))
{
CreateActor("energy1", "energy1", "(none)", "(none)", 0, 0, false);
energy1.xvelocity = 8;
}
else if(animindex == getAnimIndex("standleft") ||
    animindex == getAnimIndex("walkleft"))
{
CreateActor("energy1", "energy1", "(none)", "(none)", 0, 0, false);
energy1.xvelocity = -8;
}


the two line || mean or :)
Working on a probably too ambitious project! Wild-west-adventure-RPG-shooter-thing.
User avatar
jimmynewguy
 
Posts: 1137
Joined: Sat Mar 31, 2007 6:27 pm
Score: 89 Give a positive score

Re: Silly Games from a Silly Dragon

Postby skydereign » Tue Apr 07, 2009 11:34 pm

Well, just some syntax for you, you cannot use If, you must write it as if. Also if you are doing a comparison equals, you must make it ==. So,
Code: Select all
if (a==b) // compares a to b
{
    b=c; // sets b to equal c
}
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron