Space ship engine with parallax and screen rotation

Post your own tutorials, guides and demos.

Post » Thu Sep 04, 2008 2:38 pm

a quick engine i put together, quite similar to scavenger..left click to mouse the space ship towards the mouse. The screen scrolls and even rotates... and parallaxing and stuff all should work.
B
4
S
2
G
5
Posts: 641
Reputation: 3,011

Post » Thu Sep 04, 2008 3:28 pm

That effect looks really cool. :) I found that decreasing the bottom layer scroll speed by 2% and increasing the top layer speed by the same ammount made the effect stand out better, though.
Moderator
B
98
S
36
G
19
Posts: 1,584
Reputation: 17,717

Post » Thu Sep 04, 2008 5:16 pm

That works really well, looks like a real 3D engine.
B
2
S
2
G
5
Posts: 156
Reputation: 1,962

Post » Thu Sep 04, 2008 11:04 pm

That screen rotating trick just game me an idea for a platform game.

A very evil platform game :twisted:
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Fri Sep 05, 2008 12:11 am

@deadeye: Hopefully not like the Sonic bonus stages ... :shock: :wink:
B
2
S
2
G
5
Posts: 391
Reputation: 2,432

Post » Fri Sep 05, 2008 1:25 am

it looks better if you add:
start of layout: set sprite5.angle towards (sprite.x, sprite.y)
set display angle to sprite5.angle

that way it doesn't rotate really fast at the beginning
B
2
G
4
Posts: 35
Reputation: 1,120

Post » Fri Sep 05, 2008 4:15 am

[quote="Jeswen":1pnk4o1x]@deadeye: Hopefully not like the Sonic bonus stages ... :shock: :wink:[/quote:1pnk4o1x]

Mhuahahahahahaaa
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Thu Sep 18, 2008 10:04 am

Does this still work? Doesn't seem to work for me or my friend... The ship just stays there.
B
2
S
2
G
5
Posts: 448
Reputation: 2,546

Post » Thu Sep 18, 2008 10:07 am

Yeah, a recent physics update was necessary to fix some stuff, but it broke old applications.

Fortunately there's an easy fix, click on the space ship, and change the world X/Y scale to 3%.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Thu Sep 18, 2008 10:29 am

Ah thanks yeah that works nicely.
B
2
S
2
G
5
Posts: 448
Reputation: 2,546

Next

Return to Your tutorials & example files

Who is online

Users browsing this forum: No registered users and 1 guest