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
3 registered members (TipmyPip, AndrewAMD, NewbieZorro), 16,660 guests, and 7 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
Loading a logo in little-c #286081
08/22/09 22:25
08/22/09 22:25
Joined: Aug 2009
Posts: 34
X
xDoug Offline OP
Newbie
xDoug  Offline OP
Newbie
X

Joined: Aug 2009
Posts: 34
Hey everyone,

I have a small logo that I want to show in my game underneath the title.
Is there a way to load the logo in the script editor instead of having to add the logo to the actual level?
I thought something like that:

FONT* varLogo = "logo.bmp";

TEXT* logo =
{
pos_x = 0;
pox_y = 0;
font = varLogo;
flags = VISIBLE;
}

However is giving me the following error:

Range over font size.

Thanks in advance,

Doug

Re: Loading a logo in little-c [Re: xDoug] #286083
08/22/09 22:37
08/22/09 22:37
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
you need PANEL*

Re: Loading a logo in little-c [Re: Pappenheimer] #286084
08/22/09 22:41
08/22/09 22:41
Joined: Aug 2009
Posts: 34
X
xDoug Offline OP
Newbie
xDoug  Offline OP
Newbie
X

Joined: Aug 2009
Posts: 34
Okay

I tried

BMAP varLogo = <"Logo.bmp">;

PANEL* DisplayLogo
{
pos_x = 20;
pos_y = 20;
bitmap = varLogo;
flags = VISIBLE;
}

And not working, what am i missing?

thanks

Re: Loading a logo in little-c [Re: xDoug] #286085
08/22/09 22:45
08/22/09 22:45
Joined: Aug 2009
Posts: 34
X
xDoug Offline OP
Newbie
xDoug  Offline OP
Newbie
X

Joined: Aug 2009
Posts: 34
Nevermind,

I got it wink

Re: Loading a logo in little-c [Re: xDoug] #286088
08/22/09 23:00
08/22/09 23:00
Joined: Aug 2009
Posts: 34
X
xDoug Offline OP
Newbie
xDoug  Offline OP
Newbie
X

Joined: Aug 2009
Posts: 34
So now that I figured out the panel stuff,
I want my program to have a presentation screen that displays a logo and a title, and after 3 seconds start the game and erase that logo and title and start the game.
Any ideas on how to do that?

Re: Loading a logo in little-c [Re: xDoug] #286096
08/23/09 00:42
08/23/09 00:42
Joined: Aug 2003
Posts: 7,440
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,440
Red Dwarf
DisplayLogo.flags2 |= VISIBLE;
wait(-3);
DisplayLogo.flags2 &= ~VISIBLE;


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: Loading a logo in little-c [Re: Michael_Schwarz] #286106
08/23/09 03:50
08/23/09 03:50
Joined: Aug 2009
Posts: 34
X
xDoug Offline OP
Newbie
xDoug  Offline OP
Newbie
X

Joined: Aug 2009
Posts: 34
Cool, that was easy wink

Thanks!

Just one quick question, is there a good website to learn lite-c stuff? I know the online tutorial and that's about it

Thanks

Last edited by xDoug; 08/23/09 17:06.
Re: Loading a logo in little-c [Re: xDoug] #286153
08/23/09 14:18
08/23/09 14:18
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Little-C, hilarious grin

To learn Lite-C, you'll have to open your manual and mind. wink

Re: Loading a logo in little-c [Re: Cowabanga] #286197
08/23/09 19:59
08/23/09 19:59
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
There is a Workshop on the Downloadsite.


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