Page 1 of 2
Help with game scripting
Posted:
Sat Mar 17, 2007 11:12 am
by Fallen
This is my first post here, so I'll try to sound intelligent
I have been searching for a good game making software or a game I could mod since I'm not so good at coding in anything else than basic/python and I'm not able to make a game with my level of knowledge.
So I finally found game Editor and said why wouldn't I give it a try.
What I want to do is make a top down crimsonland-like zombie survival shooter. I have plenty of ideas and am able to create some graphics and I also have an experienced fella to do the rest of it. An amateur band from Croatia is willing to make some good tunes for the game so I got almost everything covered. The only thing I need is to learn how to code and if someone could just point me in the right direction and to make a simple character and enemy moving and attacking code so I could study it.
Sorry for the long post but meh... whateva
Posted:
Sat Mar 17, 2007 11:31 am
by Caaz Games
umm i dont know how to do attacking codes but walking is simple.
walking left would be
- Code: Select all
x = x - 5;
to make it walk faster make the number higher.
right would be
- Code: Select all
x = x + 5;
up would be
- Code: Select all
y = y - 5;
down would be
- Code: Select all
y = y + 5;
messs with that and you could have crazy stuff.
P.s.Can you make me a simple person from the top view please?
Posted:
Sat Mar 17, 2007 11:54 am
by Fallen
Well thanks for the help. I was also thinking about weapon switching and the weapon graphics. When you switch weapons then the whole actor graphic should be changed , right? Also I was considering meele weapons and the way they deal the damage. They should not only deal damage on the apex of the swing but multiple times when the two graphics collide. And what about a limitation on the number of weapons you can carry? Is that possible? Also consider the inventory or such but that isn't mandatory
PS here is a top view graphic. I didn't make it cause I don't have the time.
It's from a game called notrium from which I got this idea about a real zombie survival game.
Posted:
Sat Mar 17, 2007 12:08 pm
by UltimatHedgehog
invetory is possible have an item variable for the items and if you pick them change the number of the variable then make the item change to what you want for each number
i know this because i made one for one of my games
Posted:
Sat Mar 17, 2007 3:02 pm
by Fallen
But how do you make that inventory graphically? Now I'm just trying to get past the basics of GED so I hope that I will be able to start making the game soon
EDIT: And another one. How do you make so the graphic changes(or rotates) depending on the position of the mouse like in that abuse demo I saw. I obviously need that cause it's a top view game. And would it be possible to make the accuracy drop if you're shooting too fast like in crimsonland or soldat.
If you need help with the perfect no moonwalk, I'm here.
Posted:
Sat Mar 17, 2007 3:57 pm
by Hblade
If you need help with the perfect moonwalk, I'm here.
Posted:
Sat Mar 17, 2007 4:28 pm
by Fallen
erm whats a moonwalk? I've read several topics and people were saying monwalk but I dunno what it is.
Anyway have you played Crimsonland? I need the player and the enemies move like that. And to rephrase my question, are you able to rotate the graphic depending on the mouse position? like, If I could be able to just rotate the graphic below to follow the mouse pointer/crosshair?
here is a zombie graphic my graphix man made a couple of mins ago(it's just an early phase so we can kind of base the character proportions on that)
Posted:
Sat Mar 17, 2007 4:33 pm
by Hblade
FIrst, make the animations of them walking lioke that, then, send me a .ged file and I will b make it for you.
Posted:
Sat Mar 17, 2007 5:02 pm
by Fallen
Just use this image above, he's kinda lazy so he wont make the anim now.
just out of curiosity, if I wanted to change the weapons graphics the dude is holdingI should make an event so the player's graphic changes, right?
Posted:
Sat Mar 17, 2007 6:54 pm
by Hblade
Have all of the sprites in one sheet, then,, use the second option in the animation, were you can pick the frames, then, the animations the frames are reading will change along with the main animation. Meaning, thje the animation of him not holding th weapons will change, and he will be holding a weapon all the time.
Posted:
Sat Mar 17, 2007 7:22 pm
by Fallen
Could you explain how to make the animation rotate depending on the mouse position
Posted:
Sat Mar 17, 2007 7:23 pm
by Hblade
Ahh. That would depend on makslane, I don't know how to do that. Try checking out the demon on Moon Defender.
Posted:
Sat Mar 17, 2007 7:38 pm
by UltimatHedgehog
theres no demon in that game. he means the demo
Posted:
Sat Mar 17, 2007 8:01 pm
by Fallen
Well in that demo the picture isn't really rotating, it's a whole set of pictures that are changing. Guess I'll have to do it that way.
I was just wondering, how many directions should there be?
8 directions would be bad but how about 16 directions. Would that be fluid enough?
BTW whats with his weird typing
Posted:
Sat Mar 17, 2007 8:38 pm
by Hblade