Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Nymphodora), 485 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Gallery
Next Gallery
Print Thread
Rate Thread
Page 7 of 8 1 2 3 4 5 6 7 8
RELEASED Overlay Window Project #340545
09/05/10 13:53
09/05/10 13:53
7 Images
Joined: Jul 2009
Posts: 1,198
Berlin, Germany
L
Liamissimo Offline OP
Serious User
RELEASED Overlay Window Project

Hey Guys,

I am sure some of you can remeber how I cried about the white window that appears if you are starting the engine. Well, Richi007 wrote me and we started a little project to create an overlay window that you can customize.

You can create a design yourself, it should be around 600x400 if you are having some transparency in it. If you don't you can make it 500x350 to cover the white window. You can do several things with our starter:

  • start your game
  • close the starter and don't start the game
  • search for an update of your game
  • play a sound in the background
  • can show a text in an external window with greetings, a help or something you want to tell everybody
  • after your game you can have a window that is showing up and that will guide the user to your homepage or whatever
  • edit the design and everything with an xml file


The code is done by Richi007 (Felix) and the designs are from me, you can use them if you want.

The Version is finished, download it here
Link


72 Comments
Re: Overlay Window Project [Re: chrisp1] #353369
01/09/11 18:47
01/09/11 18:47
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
it's also possible with gamestudio a5 grin
you need to setup the styles.xml and your project
the game has to change it's window title to work with the overlay
this title has to be written in code and in the style.xml


Visit my site: www.masterq32.de
Re: Overlay Window Project [Re: MasterQ32] #354902
01/23/11 09:26
01/23/11 09:26
Joined: Nov 2010
Posts: 125
Germany
chrisp1 Offline
Member
chrisp1  Offline
Member

Joined: Nov 2010
Posts: 125
Germany
hey i think this doesnt work for me. The overlay window closes before the white window appears.
(Same as in your demo)


---------------------------------------------------
My new project: www.sfc.de.to
My old project: www.littlesubmarine.de.to
My Youtubechannel: http://www.youtube.com/user/darkchrisp#p/a/u/0/5idMXmCDdmA
---------------------------------------------------
Re: Overlay Window Project [Re: chrisp1] #354905
01/23/11 09:32
01/23/11 09:32
Joined: Aug 2002
Posts: 2,183
Germany, BaW�
Rondidon Offline
Expert
Rondidon  Offline
Expert

Joined: Aug 2002
Posts: 2,183
Germany, BaW�
Yes, right. It`s just a launcher, no overlay window project. But it`s a good one.

Re: Overlay Window Project [Re: Rondidon] #354917
01/23/11 10:45
01/23/11 10:45
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
Originally Posted By: Rondidon
Yes, right. It`s just a launcher, no overlay window project. But it`s a good one.

Hu? Richie already said why this happens in the demo and how to fix it... Its not just a launcher.


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: Overlay Window Project [Re: chrisp1] #356062
01/30/11 19:19
01/30/11 19:19
Joined: Nov 2010
Posts: 125
Germany
chrisp1 Offline
Member
chrisp1  Offline
Member

Joined: Nov 2010
Posts: 125
Germany
Would be great if he could fix the problem because i need an overlay window and not only a launcher


---------------------------------------------------
My new project: www.sfc.de.to
My old project: www.littlesubmarine.de.to
My Youtubechannel: http://www.youtube.com/user/darkchrisp#p/a/u/0/5idMXmCDdmA
---------------------------------------------------
Re: Overlay Window Project [Re: chrisp1] #356076
01/30/11 20:01
01/30/11 20:01
Joined: Aug 2009
Posts: 1,438
Spain
painkiller Offline
Serious User
painkiller  Offline
Serious User

Joined: Aug 2009
Posts: 1,438
Spain
Originally Posted By: chrisp1
Would be great if he could fix the problem because i need an overlay window and not only a launcher


To fix the problem you have to do this:

Originally Posted By: Richi007
hey guys
i checked my samples out and they worked without recompiling
simple debugging and i found my fault:
in my stlye.xml:
Code:
<style windowtitle="EngineWindow">


and the you need to call a simple line of code in your main function:
Code:
video_window(NULL,NULL,NULL,"EngineWindow");



this "EngineWindow" is the most important part!
this is the Title of the engine window
my program searches for this title and as long as this title does not exists, the overlay window won't work correct!



3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB
Re: Overlay Window Project [Re: painkiller] #356078
01/30/11 20:07
01/30/11 20:07
Joined: Aug 2002
Posts: 2,183
Germany, BaW�
Rondidon Offline
Expert
Rondidon  Offline
Expert

Joined: Aug 2002
Posts: 2,183
Germany, BaW�
Ok thanks for clearing this laugh Nice.

Re: Overlay Window Project [Re: Liamissimo] #356349
02/01/11 14:29
02/01/11 14:29
Joined: Nov 2010
Posts: 125
Germany
chrisp1 Offline
Member
chrisp1  Offline
Member

Joined: Nov 2010
Posts: 125
Germany
Thanks laugh


---------------------------------------------------
My new project: www.sfc.de.to
My old project: www.littlesubmarine.de.to
My Youtubechannel: http://www.youtube.com/user/darkchrisp#p/a/u/0/5idMXmCDdmA
---------------------------------------------------
Re: Overlay Window Project [Re: chrisp1] #374348
06/17/11 21:01
06/17/11 21:01
Joined: Apr 2011
Posts: 67
Balkan
Pavle Offline
Junior Member
Pavle  Offline
Junior Member

Joined: Apr 2011
Posts: 67
Balkan
Thanx for this nice starter, it is a very useful application:)
Btw is it possible to start the game automatically, without pressing the button? I tried few things but nothing worked.


>>Demos free3DModels Tutorials<<
>>>>>>> by Pavle Nikolic <<<<<<<
Re: Overlay Window Project [Re: Pavle] #374395
06/18/11 11:48
06/18/11 11:48
Joined: Apr 2011
Posts: 67
Balkan
Pavle Offline
Junior Member
Pavle  Offline
Junior Member

Joined: Apr 2011
Posts: 67
Balkan
..unfortunately I still can't figure out the command that will start the game automatically:(

This is the original line of code:

<startbutton name="start" style="button_click" text="Spiel starten" file="Game\main.exe" x="16" y="16" width="75" height="24" backcolor="WhiteSmoke" forecolor="Maroon"/>

I've tried things like:
<open file="Game\main.exe"/>
<start file="Game\main.exe"/>
<startup file="Game\main.exe"/>
<main file="Game\main.exe"/>
..and few others but nothing worked, I was still forced to manually click on the button to start the game:(

Maybe someone has some ideas on what to use in order for this to work?


>>Demos free3DModels Tutorials<<
>>>>>>> by Pavle Nikolic <<<<<<<
Page 7 of 8 1 2 3 4 5 6 7 8

Moderated by  jcl, Realspawn, Spirit 

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