Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 831 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Windowed screen en start screen. #456826
12/11/15 14:20
12/11/15 14:20
Joined: Jul 2001
Posts: 4,801
netherlands
Realspawn Offline OP

Expert
Realspawn  Offline OP

Expert

Joined: Jul 2001
Posts: 4,801
netherlands
Is there someone that can tell me step by step how :

- When game starts in window mode the title on its bar wont say 3d engine but the name of the game.

- Change the starting up screen.

I got pro version and did read about adding a wdl but not sure how

thank you for your time


Find all my tutorials & Workshops at : www.rp-interactive.nl

Creativity starts in the brain
Re: Windowed screen en start screen. [Re: Realspawn] #456829
12/11/15 15:51
12/11/15 15:51
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Check out
video_window(...)

Regarding the startup screen, read here:
http://www.opserver.de/ubb7/ubbthreads.p...true#Post455515

There is an example code of mine somewhere near the end.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Windowed screen en start screen. [Re: Superku] #456844
12/12/15 14:52
12/12/15 14:52
Joined: Jul 2001
Posts: 4,801
netherlands
Realspawn Offline OP

Expert
Realspawn  Offline OP

Expert

Joined: Jul 2001
Posts: 4,801
netherlands
i use video_set(800,600,32,0); and that works however the name of the window (in the window bar) says A8 engine ? how to change it ?

About the start window its not clear to me i need to create
a wdl file ? but does it need to be called on by the lite_c script ?
I tried the manual links but is there not a walk through that helps
you realize it all ?

Last edited by Realspawn; 12/12/15 15:05.

Find all my tutorials & Workshops at : www.rp-interactive.nl

Creativity starts in the brain
Re: Windowed screen en start screen. [Re: Realspawn] #456845
12/12/15 15:18
12/12/15 15:18
Joined: Apr 2015
Posts: 20
Vietnam
F
Florastamine Offline
Newbie
Florastamine  Offline
Newbie
F

Joined: Apr 2015
Posts: 20
Vietnam
Originally Posted By: Realspawn
i use video_set(800,600,32,0); and that works however the name of the window (in the window bar) says A8 engine ? how to change it ?


As Superku said, use video_window(), the fourth parameter controls the window bar's title. This is the easiest way.

I don't know about the Pro version, but from reading the manual it seems you have to create a .wdl, put some window starter code in, and build the wdl with "Starter" option checked. A wdf will be produced, which you'll put into your game folder.

Last edited by Florastamine; 12/12/15 15:19.
Re: Windowed screen en start screen. [Re: Florastamine] #456846
12/12/15 15:51
12/12/15 15:51
Joined: Jul 2001
Posts: 4,801
netherlands
Realspawn Offline OP

Expert
Realspawn  Offline OP

Expert

Joined: Jul 2001
Posts: 4,801
netherlands
ehm in the video_set is no txt input place ?

video_window(vector(500,300,0),vector(800,600,0),1,NULL);

put some window start code in sounds simple yet it is not.
I tried superku's example code saved the wdl with the same name
as script then with publish i select starter and then
errors grin

wdfc.exe: No starter window definition found! ??

Last edited by Realspawn; 12/12/15 15:53.

Find all my tutorials & Workshops at : www.rp-interactive.nl

Creativity starts in the brain
Re: Windowed screen en start screen. [Re: Realspawn] #456847
12/12/15 15:53
12/12/15 15:53
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline
Expert
Kartoffel  Offline
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
video_set != video_window

video_window(NULL, NULL, 0, "window name");


POTATO-MAN saves the day! - Random
Re: Windowed screen en start screen. [Re: Kartoffel] #456848
12/12/15 16:05
12/12/15 16:05
Joined: Jul 2001
Posts: 4,801
netherlands
Realspawn Offline OP

Expert
Realspawn  Offline OP

Expert

Joined: Jul 2001
Posts: 4,801
netherlands
Thank you Kartoffel that works laugh learned and will memorize this laugh
any tips about the start view stuff ? in order to pubish my game
i need this to work laugh



Last edited by Realspawn; 12/12/15 16:14.

Find all my tutorials & Workshops at : www.rp-interactive.nl

Creativity starts in the brain
Re: Windowed screen en start screen. [Re: Realspawn] #456851
12/12/15 17:09
12/12/15 17:09
Joined: Apr 2015
Posts: 20
Vietnam
F
Florastamine Offline
Newbie
Florastamine  Offline
Newbie
F

Joined: Apr 2015
Posts: 20
Vietnam
Originally Posted By: Realspawn

put some window start code in sounds simple yet it is not.
I tried superku's example code saved the wdl with the same name
as script then with publish i select starter and then
errors grin


There's some example code in the manual
Code:
WINDOW WINSTART
{
  TITLE "My Simulator";
  SIZE 480,320;
  MODE IMAGE;	
  BG_COLOR RGB(240,240,240);
  FRAME FTYP1,0,0,480,320;
  BUTTON BUTTON_START,SYS_DEFAULT,"Start",400,288,72,24;
  BUTTON BUTTON_QUIT,SYS_DEFAULT,"Abort",400,288,72,24;
  SET FONT "Arial", RGB(255,255,255);
  TEXT "Get ready...", 0,0;
  TEXT_STDOUT "Arial",RGB(0,0,0),10,10,460,280;
  PROGRESS RGB(0,0,255), 10, 0, 300, 400, 20;
  COMMAND "-diag";
}



The reason you got the error from his code is this line
Code:
BG_PATTERN <starter_sk.bmp>,OPAQUE;



It needs starter_sk.bmp exists to be able to compile the wdf laugh

Last edited by Florastamine; 12/12/15 17:09.
Re: Windowed screen en start screen. [Re: Florastamine] #456852
12/12/15 17:36
12/12/15 17:36
Joined: Jul 2001
Posts: 4,801
netherlands
Realspawn Offline OP

Expert
Realspawn  Offline OP

Expert

Joined: Jul 2001
Posts: 4,801
netherlands
this works so what is wrong with the code example from superku ?
as that one gives the error while the starter bmp is in the folder.


Find all my tutorials & Workshops at : www.rp-interactive.nl

Creativity starts in the brain
Re: Windowed screen en start screen. [Re: Realspawn] #456855
12/13/15 07:04
12/13/15 07:04
Joined: Apr 2015
Posts: 20
Vietnam
F
Florastamine Offline
Newbie
Florastamine  Offline
Newbie
F

Joined: Apr 2015
Posts: 20
Vietnam
Originally Posted By: Realspawn
this works so what is wrong with the code example from superku ?
as that one gives the error while the starter bmp is in the folder.


Limit the file name length to 8 characters or less, and the .bmp should only be 256 colors (you can use a small free image utility ( IrfanView IrfanView) for that). Open the image, then select Image > Decrease color depth and then choose 256.


Page 1 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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