Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (OptimusPrime, AndrewAMD), 14,580 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Background Technique for Side Scrolling Game #100416
11/30/06 01:28
11/30/06 01:28
Joined: Jul 2004
Posts: 59
T
ToddWorld Offline OP
Junior Member
ToddWorld  Offline OP
Junior Member
T

Joined: Jul 2004
Posts: 59
Does anybody have any 'recommended good techniques' for backgrounds in a side scrolling platform game (think Mario or old-school Rayman).

Just a guess, but I don't think a gigantic sprite is the way to go for a "painted backdrop".

...but I could be wrong.

I've looked through the AUM and haven't seen anything on this, but could have missed it.

Thanks,
Todd

Re: Background Technique for Side Scrolling Game [Re: ToddWorld] #100417
11/30/06 10:25
11/30/06 10:25
Joined: Jan 2003
Posts: 4,305
Damocles Offline
Expert
Damocles  Offline
Expert

Joined: Jan 2003
Posts: 4,305
Why dont you just make a 3D Backround?
Making a 2D bakcround using panels is not trivial, and actually more complicated than using
a Block-level.

Re: Background Technique for Side Scrolling Game [Re: ToddWorld] #100418
11/30/06 12:29
11/30/06 12:29

A
Anonymous
Unregistered
Anonymous
Unregistered
A



It's easy to set up a real 2D-Szenario (real 2D faked 3D ).



Define different Layers. One for the static background, one or two or three for the backgrounds, the one for the action (player) and one or more for the foreground.

Now listen:
- the player-layer is always centered with the game view. (player.view_x=static, player.virtual_x=changing)
- the other layers x-position is set relative to the factor you can see. (the more far away the smaller is the move-factor, X-pos depending on the player.virtual_x pos)

Each layer can be just one panel or set up by many panels.

Hope this is what you want to know?

mercuryus

Re: Background Technique for Side Scrolling Game [Re: ] #100419
11/30/06 17:36
11/30/06 17:36
Joined: Jul 2004
Posts: 59
T
ToddWorld Offline OP
Junior Member
ToddWorld  Offline OP
Junior Member
T

Joined: Jul 2004
Posts: 59
Mercuryus, it sounds like you're describing a parallax scrolling system...which would be cool...awesome in fact, but a little more than I'm needing to understand at the moment. Most likely I'll be working up to that though. One thing at a time.

You mentioned layers, but that doesn't describe the actual "art" that's on the layer. Are you describing a series of panels, sprites, or models?

And the reason I'm not building it in 3d, just as an example, we're talking about background stuff with mountain scape, city skylines, sunsets, clouds..etc. And I'm going for a cartoony/painterly type feel.

Just to clarify, the player and all things he/she interacts with is 3d...we're just talking about the stuff behind the play area.

Thanks,
Todd



Last edited by ToddWorld; 11/30/06 17:38.
Re: Background Technique for Side Scrolling Game [Re: ToddWorld] #100420
11/30/06 22:04
11/30/06 22:04
Joined: Aug 2000
Posts: 7,490
O
Orange Brat Offline

Senior Expert
Orange Brat  Offline

Senior Expert
O

Joined: Aug 2000
Posts: 7,490
A way to get a 2D look with 3D blocks is to build the level/backgrounds out of thin, parallel to one another blocks. Only set the side that faces the camera to visible and the rest to none.


My User Contributions master list - my initial post links are down but scroll down page to find list to active links
Re: Background Technique for Side Scrolling Game [Re: ToddWorld] #100421
11/30/06 22:12
11/30/06 22:12

A
Anonymous
Unregistered
Anonymous
Unregistered
A



Quote:

You mentioned layers, but that doesn't describe the actual "art" that's on the layer. Are you describing a series of panels, sprites, or models?



It depends on your ideas, on your knowledge.
If you are a good draftsman, make sprites (and use it with panels in fact of the more easy z-order by layer=). This way you can have a realy "flat" look.
Or use models. This can make it look deeper.

(An other idea is to use a large seamless texture on a block as background and scroll it by setting the u/v-value)


mercuryus

Re: Background Technique for Side Scrolling Game [Re: ] #100422
12/05/06 03:08
12/05/06 03:08
Joined: Nov 2006
Posts: 3
H
hyperlink Offline
Guest
hyperlink  Offline
Guest
H

Joined: Nov 2006
Posts: 3
okay I get what you guys are saying about the 2d scrolling games .....great. But What if I wanted to make a forward scrolling game? (e.g. starfox64 ) how should I even start? I'm new to 3dgs and I don't now where to start. I have models and I wrote out all the enemies but when I sit infront of teh engine....I draw a blank. Can someone please help me?


Those who are different change the world, those who are the same keep it that way
Re: Background Technique for Side Scrolling Game [Re: hyperlink] #100423
12/06/06 12:56
12/06/06 12:56

A
Anonymous
Unregistered
Anonymous
Unregistered
A



starfox64 is a causal 3d-game with all the "problems" every 3d-game have.
You have to decide if you want to make a big "level in an box" flying around or an endless szenarion, which is a little more complex than an "level in a cube".

mercuryus


Moderated by  HeelX, rvL_eXile 

Gamestudio download | 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