HOWWWWW??

Non-platform specific questions.

Re: HOWWWWW??

Postby skydereign » Wed Jan 14, 2009 8:35 am

I don't really have time right now, but I found this from long ago when I was first trying out gameEditor. It is very poorly coded, sorry. I'll get back to you, I changed the sprites to your ship design. The sprites I used should work for what you want.
Attachments
space.zip
(10.62 KiB) Downloaded 102 times
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: HOWWWWW??

Postby johnstone000 » Wed Jan 14, 2009 11:37 pm

awesome thats exactly what I wanted

but now there is a problem with the way he shoots =\

the shots will not follow him when he turns they will just go straight up
For example my ship is facing left but now the bullets just come from the side of him and go straight up
johnstone000
 
Posts: 25
Joined: Sun Jan 11, 2009 7:20 am
Score: 0 Give a positive score

Re: HOWWWWW??

Postby skydereign » Thu Jan 15, 2009 12:51 am

Here. There is a glitch or flaw... You can't shoot while moving nw, sw, or se. This I believe is caused by the keyboard event reading by gameEditor. If you change the firing button it should be fine. It does not like space... Or it could be my keyboard, we shall see. The space2 one has a little cleaner code, if you care. It uses similar code to DST's example. The only real difference is the animations.
Attachments
space2.zip
(8.28 KiB) Downloaded 99 times
space.zip
(8.17 KiB) Downloaded 96 times
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: HOWWWWW??

Postby johnstone000 » Thu Jan 15, 2009 1:32 am

cool tyvm!
johnstone000
 
Posts: 25
Joined: Sun Jan 11, 2009 7:20 am
Score: 0 Give a positive score

Re: HOWWWWW??

Postby johnstone000 » Thu Jan 15, 2009 11:17 pm

how do i make background....I draw and then do I just lock it?
johnstone000
 
Posts: 25
Joined: Sun Jan 11, 2009 7:20 am
Score: 0 Give a positive score

Re: HOWWWWW??

Postby skydereign » Fri Jan 16, 2009 12:15 am

Just make the actor, set the zdepth, and lock it. Locking it is unnecessary but is helpful so you don't move it.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: HOWWWWW??

Postby DST » Fri Jan 16, 2009 12:32 am

Take a look at this....its space2, but i changed the shot script.
Now there's only one animation needed for shot; In the createactor, i marked out the existing code (/* */) and replaced it with one line.

You can do this to the ship, too.
Attachments
space3.zip
(10.86 KiB) Downloaded 104 times
It's easier to be clever than it is to be kind.
http://www.lostsynapse.com
http://www.dstgames.com
User avatar
DST
 
Posts: 1117
Joined: Sun Apr 15, 2007 5:36 pm
Location: 20 minutes into the future
Score: 151 Give a positive score

Re: HOWWWWW??

Postby johnstone000 » Fri Jan 16, 2009 12:41 am

skydereign wrote:Just make the actor, set the zdepth, and lock it. Locking it is unnecessary but is helpful so you don't move it.

whats the zdepth?
johnstone000
 
Posts: 25
Joined: Sun Jan 11, 2009 7:20 am
Score: 0 Give a positive score

Re: HOWWWWW??

Postby skydereign » Fri Jan 16, 2009 12:42 am

Yeah, didn't think of that... That way is a lot better, and looks much cleaner too.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: HOWWWWW??

Postby skydereign » Fri Jan 16, 2009 12:45 am

Oh, zdepth is the visual priotiry of sprites, kind of. 0 is the lowest, 1 is the highest or 'closest' to the screen.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: HOWWWWW??

Postby johnstone000 » Sat Jan 17, 2009 2:42 am

my ship starts off to the right side how do i fix this?
johnstone000
 
Posts: 25
Joined: Sun Jan 11, 2009 7:20 am
Score: 0 Give a positive score

Re: HOWWWWW??

Postby skydereign » Sat Jan 17, 2009 3:30 am

Umm... just move it? Explain.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: HOWWWWW??

Postby johnstone000 » Sat Jan 17, 2009 4:02 am

he can move fine but i just want him to start facing forward not 2 the rite
Attachments
n.png
i want him to start like this
n.png (265 Bytes) Viewed 1419 times
e.png
starts off like this
e.png (288 Bytes) Viewed 1419 times
johnstone000
 
Posts: 25
Joined: Sun Jan 11, 2009 7:20 am
Score: 0 Give a positive score

Re: HOWWWWW??

Postby skydereign » Sat Jan 17, 2009 6:43 am

Set a Create Actor event, and set the angle or direction, I don't know which you are doing, but set it to the up position. Check the draw actor script for the up button event.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Previous

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron