|
Problem with Sidescroller like R-Type
#433586
12/03/13 10:01
12/03/13 10:01
|
Joined: Aug 2005
Posts: 512 Bayern
Schmerzmittel
OP
User
|
OP
User
Joined: Aug 2005
Posts: 512
Bayern
|
Hello everyone,
i have a strange problem and i don't know what to do. If you look on YouTube the videos of R-Type longplay, than you see, that the Level moves from right to left. Sometimes it move up or down. The Player can move his ship in every direction and can fire.
The ship itself is not the problem. I have the problem, that i cant get to work, that the level moves and the player can move his ship like that R-Type ship.
I've tryed to move the levelentitys, but if you collide with it, then it stops and the parts that don't get hit by your ship moves without the other parts (modular levelbuild). Otherwise, if i move the ship with a constant value on the x axis, then the collissiondetection don't work properly.
Can someone give me a hint how i can realise that movement of level (models) and the camera and the ship.
Greetings Schmerzmittel
A7 Com V7.80
|
|
|
Re: Problem with Sidescroller like R-Type
[Re: Schmerzmittel]
#433587
12/03/13 10:23
12/03/13 10:23
|
Joined: Dec 2003
Posts: 1,225 germany
gri
Serious User
|
Serious User
Joined: Dec 2003
Posts: 1,225
germany
|
hi,
you move the whole level ?
why not moving the camera with an threadmilling system. So your collision detection would work independend how crazy the camview is shacking.
"Make a great game or kill it early" (Bruce Shelley, Ensemble Studios)
|
|
|
Re: Problem with Sidescroller like R-Type
[Re: gri]
#433589
12/03/13 10:49
12/03/13 10:49
|
Joined: Aug 2005
Posts: 512 Bayern
Schmerzmittel
OP
User
|
OP
User
Joined: Aug 2005
Posts: 512
Bayern
|
What's a threadmilling system?
I have tryed to move the camera only with the x axis. Or do you mean the camera should move along a curve(Path)?
When the camera is moving, how can i get to work, that the ship moving with the camera, but can fly in every direction without loss of speed? (f.e. the camera moves to the right, but when the ship moves to the left, it get very slow) The the next problem is, i can't set the "fly area" to the screen size.
I realize that i have nothing done with gamestudio for a long time. How can i forgot everything? It's sad but true.
A7 Com V7.80
|
|
|
Re: Problem with Sidescroller like R-Type
[Re: sivan]
#433600
12/03/13 12:19
12/03/13 12:19
|
Joined: Aug 2005
Posts: 512 Bayern
Schmerzmittel
OP
User
|
OP
User
Joined: Aug 2005
Posts: 512
Bayern
|
I know. It's hard to explain in english... If the camera follows the ship or the ship the camera, then the ship is only in the middle of the screen. But it should be possible to fly to the right, left, up, and down side of the screen. The camera should follow the level (or path or whatever). Look here: http://www.youtube.com/watch?v=9Br8nOkLkHUIn that way i will make it. But after 5 hours of trial and error, i don't get it. Today i get an idea. I'll try it the next days. Hope it works. How can such a old thing be so hard?
A7 Com V7.80
|
|
|
Re: Problem with Sidescroller like R-Type
[Re: sivan]
#433611
12/03/13 13:57
12/03/13 13:57
|
Joined: Dec 2003
Posts: 1,225 germany
gri
Serious User
|
Serious User
Joined: Dec 2003
Posts: 1,225
germany
|
ups sorry.....Treadmill whithout "h". You could find some info and example in AUM online search for "Treadmill".
"Make a great game or kill it early" (Bruce Shelley, Ensemble Studios)
|
|
|
Re: Problem with Sidescroller like R-Type
[Re: rayp]
#433622
12/03/13 15:31
12/03/13 15:31
|
Joined: Aug 2005
Posts: 512 Bayern
Schmerzmittel
OP
User
|
OP
User
Joined: Aug 2005
Posts: 512
Bayern
|
Thats right. I thinked about it. And now i have some ideas. It's not that hard. Most of my time get hard things work and easy ones not.
So thanks to all. I'll try it out and hope it works.
A7 Com V7.80
|
|
|
Re: Problem with Sidescroller like R-Type
[Re: Schmerzmittel]
#433626
12/03/13 15:48
12/03/13 15:48
|
Joined: Jul 2008
Posts: 2,107 Germany
rayp
X
|
X
Joined: Jul 2008
Posts: 2,107
Germany
|
Most of my time get hard things work and easy ones not This is true yes, same for me ^^ [ g e r m a n ] Man darf nicht den Fehler machen und sagen "Ich mache mal SCHNELL..." dann dauerts immer ewig [/ g e r m a n ]
Acknex umgibt uns...zwischen Dir, mir, dem Stein dort... "Hey Griswold ... where u gonna put a tree that big ?" 1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected rayp.flags |= UNTOUCHABLE;
|
|
|
|