Game idea for robot

Post here your demos and examples with the source files.
Forum rules
Always post the games with a screenshot.
The file must have the ged and data files (complete game source)
Use the forum attachment to post the files.
It is always better to use the first post to put the game files

Game idea for robot

Postby CoFFiN6 » Mon Sep 26, 2011 11:17 am

Hey everyone.I made this triangle movement for a robot(don't know if its been done before)
What do you think?

Arrows=Movement
Right Ctrl=shoot
Space=jump (needs improvement)

Thanx!
Attachments
Robot_Game.zip
(53.93 KiB) Downloaded 336 times
tester11.jpg
Don't run faster then the dragon, run faster than your friends :P
User avatar
CoFFiN6
 
Posts: 49
Joined: Sun Sep 11, 2011 8:17 pm
Location: South Africa
Score: 4 Give a positive score

Re: Game idea for robot

Postby savvy » Mon Sep 26, 2011 7:00 pm

This is a good idea! you need to make it so you cant re-step after already stepping, so for example midway through treading right you press right again.
aldo try using yvelocity=-8; for the jumping instead of a path.

savvy
--> For my help, i ask for a simple +1 if it helps! ^-^
--> I dont code, I type art which you dont understand.
--> I keep winning the 3D model challenge at college, teacher says: "you keep winning im not giving you prizes".
User avatar
savvy
 
Posts: 494
Joined: Wed Jun 03, 2009 11:55 am
Location: England
Score: 44 Give a positive score

Re: Game idea for robot

Postby CoFFiN6 » Mon Sep 26, 2011 10:57 pm

Thank you..yeah that would make it better..would you mind explaining how I would make code sothat when a key is pressed (like move right) it disables all movement until th triangle hits flat again? I was thinking using timer but I don't realy think that's the right way.
Don't run faster then the dragon, run faster than your friends :P
User avatar
CoFFiN6
 
Posts: 49
Joined: Sun Sep 11, 2011 8:17 pm
Location: South Africa
Score: 4 Give a positive score

Re: Game idea for robot

Postby tintran » Tue Sep 27, 2011 1:02 am

cool idea.
User avatar
tintran
 
Posts: 157
Joined: Fri Dec 24, 2010 1:34 am
Score: 30 Give a positive score

Re: Game idea for robot

Postby NERDnotGEEK » Tue Sep 27, 2011 10:08 pm

you can use it when the animation is finished or when the animpos = 0 again you can press again. So disable when pressed. then enable when the animation finishes... simple :D

So on your keydown left and right (ill just do right)
Declare a variable called "finished" as an integer ( you could also use a boolean but id normally use finished to indicate other things later on in the game)
Code: Select all
if (finished == 1)
{
ChangeAnimation("Event Actor", "r2", FORWARD);
xvelocity=3;
finished = 0;
}


Then on animation finished(Any should be fine) if not the moving animation right.
Code: Select all
finished = 1;
NERDnotGEEK
 
Posts: 75
Joined: Sat Oct 30, 2010 1:48 am
Score: 12 Give a positive score

Re: Game idea for robot

Postby CoFFiN6 » Tue Dec 13, 2011 4:26 pm

Thanx ^

Lol I haven't been here in months.want to get back in learning GE
Don't run faster then the dragon, run faster than your friends :P
User avatar
CoFFiN6
 
Posts: 49
Joined: Sun Sep 11, 2011 8:17 pm
Location: South Africa
Score: 4 Give a positive score

Re: Game idea for robot

Postby happyjustbecause » Wed Dec 14, 2011 4:25 am

Ooo, I like it a lot. You should definetly expand on this game idea, it is really an interesting movement. I also like the small reaction made in the back after shooting. The jumping animation is also pretty cool.

Thanx ^

Lol I haven't been here in months.want to get back in learning GE


So yeah, you should continue to learn gE again!
For small creatures such as we the vastness is bearable only through love.
-Carl Sagan

Night Knight Development Thread
User avatar
happyjustbecause
 
Posts: 267
Joined: Tue Jul 26, 2011 3:10 pm
Location: Frazier Park, Ca
Score: 15 Give a positive score

Re: Game idea for robot

Postby CoFFiN6 » Wed Dec 14, 2011 7:47 am

Haha thanx! :D

Yeah I do want to continue this one. But I kinda forgot a lot of code so guess its back to forum hunting. Haha but its fun anyway.

Happy coding :lol:
Don't run faster then the dragon, run faster than your friends :P
User avatar
CoFFiN6
 
Posts: 49
Joined: Sun Sep 11, 2011 8:17 pm
Location: South Africa
Score: 4 Give a positive score


Return to Game Demos

Who is online

Users browsing this forum: No registered users and 1 guest

cron