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
1 registered members (TipmyPip), 18,449 guests, and 6 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
A few Questions. #67635
03/21/06 23:36
03/21/06 23:36
Joined: Apr 2005
Posts: 33
C
Cyrus Offline OP
Newbie
Cyrus  Offline OP
Newbie
C

Joined: Apr 2005
Posts: 33
Okay. Is there any way to protect the files generated by the Publish button? How can I prevent someone from altering the files once they are finished?

Second. I defined a bitmap like this:

bmap CustomButton_Plain = <CustomButtonPlain.tga>

The panel came out as a funky yellow pic.

Cyrus


Cyrus.TurnInto OBJECT_CYRUS_DOLL, CyrusDoll DummyEffect CyrusDoll, Body, FIRE, TRUE CyrusDoll.SetScared TRUE CyrusDoll.RunTo CIRCLES TakeObjectFromHero OBJECT_DIGNITY Target.Kill Hero CYRUS, SLOW SetFlag PNWED, TRUE
Re: A few Questions. [Re: Cyrus] #67636
03/22/06 01:48
03/22/06 01:48
Joined: Jun 2004
Posts: 2,234
Wisconsin USA
FoxHound Offline
Expert
FoxHound  Offline
Expert

Joined: Jun 2004
Posts: 2,234
Wisconsin USA
If you have the pro edition then you can resource the game. If not there are some installers out there you can get that will encrypt the files for you.

As for the bmap, change the bmap to antoher one, and trying something other then a tga. I've never used them for panels so I don't know if that's the problem, but try a bmp instead.


---------------------
There is no signature here.


QUIT LOOKING FOR ONE!
Re: A few Questions. [Re: FoxHound] #67637
03/22/06 03:09
03/22/06 03:09
Joined: Apr 2005
Posts: 33
C
Cyrus Offline OP
Newbie
Cyrus  Offline OP
Newbie
C

Joined: Apr 2005
Posts: 33
Thanks man. It worked, resourcing it i mean. I used a tga because I was told it has an alpha channel that works in 3dgs. Am I wrong?

Cyrus


Cyrus.TurnInto OBJECT_CYRUS_DOLL, CyrusDoll DummyEffect CyrusDoll, Body, FIRE, TRUE CyrusDoll.SetScared TRUE CyrusDoll.RunTo CIRCLES TakeObjectFromHero OBJECT_DIGNITY Target.Kill Hero CYRUS, SLOW SetFlag PNWED, TRUE
Re: A few Questions. [Re: Cyrus] #67638
03/22/06 06:53
03/22/06 06:53
Joined: Jun 2004
Posts: 2,234
Wisconsin USA
FoxHound Offline
Expert
FoxHound  Offline
Expert

Joined: Jun 2004
Posts: 2,234
Wisconsin USA
It does. I'm not sure how that works with panels though.


---------------------
There is no signature here.


QUIT LOOKING FOR ONE!
Re: A few Questions. [Re: FoxHound] #67639
03/22/06 11:07
03/22/06 11:07
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline
Serious User
vlau  Offline
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
You may done like this with version 6.40.2:

panel myPanel
{
...
bmap = <Image.bmp>;
flags = visible, transparent;
}

function main()
{
....
....
myPanel.alpha = 80; // play with the value
}

use bitmap instead of any image file with alpha channel.


Last edited by vlau; 03/22/06 11:11.
Re: A few Questions. [Re: vlau] #67640
03/22/06 12:15
03/22/06 12:15
Joined: May 2005
Posts: 338
Brasil
Filipe Offline
Senior Member
Filipe  Offline
Senior Member

Joined: May 2005
Posts: 338
Brasil
i've had no problem with alpha channel on panels.
works fine.

Re: A few Questions. [Re: Filipe] #67641
03/22/06 21:12
03/22/06 21:12
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
ulillillia Offline
Senior Expert
ulillillia  Offline
Senior Expert

Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
I, too, have no problem with alpha channel in panels. Look at my 2D game's clouds once or the scene in general and nearly everything you see has alpha channel (the sky (not the space effect) and the ground don't). In fact, my 2D game is likely the most extreme game made with panels as there are over 200 of them!

My latest screenshot available
A second screenshot - near the ground

The clouds have varying transparency, the edges of the mountains have it, practically all objects have it (except the hills as they don't as they need to be redone anyway - they're from version 1.x).

As to publishing, if you have Pro edition, resource it. If you have a lower edition, look into getting some file packer. Molebox is a great one to look into. I use it. Not only does it encrypt files, but it also compresses them.


"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip My 2D game - release on Jun 13th; My tutorials
Re: A few Questions. [Re: ulillillia] #67642
03/23/06 18:09
03/23/06 18:09
Joined: Apr 2005
Posts: 33
C
Cyrus Offline OP
Newbie
Cyrus  Offline OP
Newbie
C

Joined: Apr 2005
Posts: 33
Alright, re-read the manual, it says you can use .tga in skins. What would be an application for this? I mean, why would you want an alpha channel on a 3d model? Er, I can see that, NVM, lol. Thank you for all the help.

Cyrus


Cyrus.TurnInto OBJECT_CYRUS_DOLL, CyrusDoll DummyEffect CyrusDoll, Body, FIRE, TRUE CyrusDoll.SetScared TRUE CyrusDoll.RunTo CIRCLES TakeObjectFromHero OBJECT_DIGNITY Target.Kill Hero CYRUS, SLOW SetFlag PNWED, TRUE

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