Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Layers?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Castle Paradox Forum Index -> The Arcade
View previous topic :: View next topic  
Author Message
Burst




Joined: 19 Feb 2007
Posts: 8

PostPosted: Mon Feb 19, 2007 8:44 pm    Post subject: Layers? Reply with quote

Hello everyone, i'm Burst, and i'm new to OHRRPGCE.
Well, i have a question:

How do i use layers? Can i have transparencies when using layers?
I can't find any topics on this nor any help docs.


I wanna start making something cool right away!

Thanks in advance!
Back to top
View user's profile Send private message
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Mon Feb 19, 2007 10:54 pm    Post subject: Re: Layers? Reply with quote

Burst wrote:
Hello everyone, i'm Burst, and i'm new to OHRRPGCE.
Well, i have a question:

How do i use layers? Can i have transparencies when using layers?
I can't find any topics on this nor any help docs.


I wanna start making something cool right away!

Thanks in advance!


This is a brand new feature, only available in the most recent nightly WIP builds. Nobody has written any documentation yet, but here is the short of it:

Press CTRL+L to enable layers.

Press PgUp and PgDn to change which layer you are working with.

Layer 1 is the ground. it is not transparent
Layer 2 is also the ground, but it is transparent.
Layer 3 is over your head. it is transparent.

Report any bugs you find.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
J.A.R.S.
In umbram deo, ex nihilo...




Joined: 11 May 2005
Posts: 451
Location: Under the rainbow...

PostPosted: Mon Feb 19, 2007 10:56 pm    Post subject: Reply with quote

the layers are a bew addition to a non-official release (known as nightly: progresses that are unstable). For this reason, they are not documented yet, but there is a thread that describes the general idea.
Wohhh, Jaimes beated me to it XD
Back to top
View user's profile Send private message
Burst




Joined: 19 Feb 2007
Posts: 8

PostPosted: Mon Feb 19, 2007 11:35 pm    Post subject: Reply with quote

Thanks alot! Big grin
Back to top
View user's profile Send private message
Jes42
Tourist




Joined: 07 May 2006
Posts: 17
Location: The green fuzzy bit on Google Earth

PostPosted: Tue Feb 20, 2007 11:58 am    Post subject: Reply with quote

On the subject of layers, I was just wondering what this will mean for messing with the maps using plotscripting. How will commands like write map block be affected?
_________________
my stuff: http://www.pumphrey.free-online.co.uk/jessica
Back to top
View user's profile Send private message Visit poster's website
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Tue Feb 20, 2007 1:21 pm    Post subject: Reply with quote

Jes42 wrote:
On the subject of layers, I was just wondering what this will mean for messing with the maps using plotscripting. How will commands like write map block be affected?


Readmapblock and writemapblock each have a new optional layer argument at the end. If you leave it off, it will only operate on layer 0, but you can also specify layer 1 and layer 2.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Burst




Joined: 19 Feb 2007
Posts: 8

PostPosted: Tue Feb 20, 2007 3:30 pm    Post subject: Reply with quote

Ok, i tried using layers. Layer 2 will always be my first drawn tile, i can't change it. If i try putting another tile, it will just overwrite a tile on layer 0.
How can i set tiles on layer 2 without affecting layer 0?

Thanks again.
Back to top
View user's profile Send private message
Jack
the fool




Joined: 30 Jul 2004
Posts: 773

PostPosted: Tue Feb 20, 2007 3:57 pm    Post subject: Reply with quote

Layer 2 is supposed to overlap lay 0 and 1. That's exactly what it's there for. You have to use the first black (i'm pretty sure) for pixels you wish to keep transparent.
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Artimus Bena
Admiral




Joined: 17 Aug 2004
Posts: 637
Location: Dreamland.

PostPosted: Tue Feb 20, 2007 4:15 pm    Post subject: Reply with quote

Even though the other layers are activated, in the game I only see layer 0. Is there something simple I'm doing wrong?
_________________
SACRE BLEU!

|||Compositions!
|||Eldardeen Soundtrack!
|||Red Mercury!
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Newbie_Power




Joined: 04 Sep 2006
Posts: 1762

PostPosted: Tue Feb 20, 2007 4:33 pm    Post subject: Reply with quote

You need to press PageUp and PageDn to edit the other layers, and place tiles on them.
Back to top
View user's profile Send private message
Burst




Joined: 19 Feb 2007
Posts: 8

PostPosted: Tue Feb 20, 2007 4:40 pm    Post subject: Reply with quote

Oh yeah! it works. Thanks alot Newbie_Power. Big grin
Back to top
View user's profile Send private message
Newbie_Power




Joined: 04 Sep 2006
Posts: 1762

PostPosted: Tue Feb 20, 2007 4:43 pm    Post subject: Reply with quote

o_O

... But my post was directed to Artemis_Bena! >_<
Back to top
View user's profile Send private message
Burst




Joined: 19 Feb 2007
Posts: 8

PostPosted: Tue Feb 20, 2007 7:21 pm    Post subject: Reply with quote

Burst wrote:
Ok, i tried using layers. Layer 2 will always be my first drawn tile, i can't change it. If i try putting another tile, it will just overwrite a tile on layer 0.
How can i set tiles on layer 2 without affecting layer 0?

Thanks again.


Basically the same problem Big grin
Back to top
View user's profile Send private message
Artimus Bena
Admiral




Joined: 17 Aug 2004
Posts: 637
Location: Dreamland.

PostPosted: Tue Feb 20, 2007 11:34 pm    Post subject: Reply with quote

Nonono.


I have NO problem editing the actual layers. In the editor it all looks golden.

Once I run the game trhough Game.exe, layer1 and layer2 are not visible, only layer 0 and the sprites.
_________________
SACRE BLEU!

|||Compositions!
|||Eldardeen Soundtrack!
|||Red Mercury!
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Wed Feb 21, 2007 8:50 am    Post subject: Reply with quote

Artimus Bena wrote:
Nonono.


I have NO problem editing the actual layers. In the editor it all looks golden.

Once I run the game trhough Game.exe, layer1 and layer2 are not visible, only layer 0 and the sprites.


That is what I would expect to see if you were using an old copy of game.exe that does not support layers yet.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> The Arcade All times are GMT - 8 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group