Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
4 registered members (AndrewAMD, fogman, Grant, juanex), 972 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Background effect #350881
12/19/10 23:10
12/19/10 23:10
Joined: May 2009
Posts: 5,365
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,365
Caucasus
In game "VVVVVV" there is a level, called "Gravitron", there is a good looking effect on the background.
I want to know, how can I make exactly the same in GS.
Here is the video:
Youtube video


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Background effect [Re: 3run] #350882
12/19/10 23:32
12/19/10 23:32
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
Code:
----
|\/|
|/\|
----



4 triangles and a scrolling texture.

Re: Background effect [Re: ventilator] #350883
12/20/10 00:10
12/20/10 00:10
Joined: Jul 2008
Posts: 1,178
England
M
MrGuest Offline
Serious User
MrGuest  Offline
Serious User
M

Joined: Jul 2008
Posts: 1,178
England
I'd just do it with panels, wouldn't be too much hassle.

Re: Background effect [Re: MrGuest] #350900
12/20/10 06:54
12/20/10 06:54
Joined: May 2009
Posts: 5,365
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,365
Caucasus
What about scrolling it again and again, how to make that?
Can I make that with 'parallax' scrolling?


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Background effect [Re: 3run] #350903
12/20/10 09:24
12/20/10 09:24
Joined: Dec 2008
Posts: 528
Wagga, Australia
the_mehmaster Offline
User
the_mehmaster  Offline
User

Joined: Dec 2008
Posts: 528
Wagga, Australia
I think what he means is this:-

1. You have your mesh, with four triangles:
Code:
------
|\1 /|
|4\/2|
| /\ |    
|/3 \|    
------



2. You have a 'stripey' texture, applied to each triangle with all the UV coordinates pointing outwards, so that it looks like the squares in your video.

3. In your script you position the model in the background position, filling the whole screen.

4. In the entities' action, you do something like this:
Code:
while(1)
{
    my.u += 10*time_step; // scrolls the texture, change the 'u' with 'v' if it doesn't work.
    wait(1);
}



Re: Background effect [Re: the_mehmaster] #350914
12/20/10 10:14
12/20/10 10:14
Joined: May 2009
Posts: 5,365
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,365
Caucasus
Ohh, I got it now laugh
All I need is to move textures laugh
I got idea with model too, thank very much all!!!


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1