Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, RealSerious3D, BrainSailor), 1,265 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 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,439
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,439
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 | chip programmers | 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