2 registered members (TipmyPip, 1 invisible),
18,731
guests, and 7
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
A few Questions.
#67635
03/21/06 23:36
03/21/06 23:36
|
Joined: Apr 2005
Posts: 33
Cyrus
OP
Newbie
|
OP
Newbie
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
Expert
|
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
Cyrus
OP
Newbie
|
OP
Newbie
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
Expert
|
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
vlau
Serious User
|
Serious User
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: Filipe]
#67641
03/22/06 21:12
03/22/06 21:12
|
Joined: Feb 2003
Posts: 6,818 Minot, North Dakota, USA
ulillillia
Senior Expert
|
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 availableA 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
Cyrus
OP
Newbie
|
OP
Newbie
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
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|