Welcome, Guest. Please login or register.

Author Topic: Hollywood  (Read 2093 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline NickTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1189
    • Show only replies by Nick
Hollywood
« on: October 25, 2003, 06:21:52 PM »
I`ve started my little project even though I won`t be able to complete it all until I get a suitable version with layers and data input. I can still get the GUI working (to a point) and get into Hollywood at the same time.

If you didn`t read my other "Hollywood Strings" thread...I`m using v1.0 (hope to upgrade soon).

I can`t seem to compile anything to a decent standard. They`re always asking for a resolution. I want a borderless window on my DOpus/Workbench screen. I can`t get examples to compile on there either. I can display them there or compile them just to display them. I just can`t create an executable which will do what I want. I`ve tried a few ways. Which way is the correct way?

Thanks
 

Offline NickTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1189
    • Show only replies by Nick
Re: Hollywood
« Reply #1 on: October 25, 2003, 06:45:00 PM »
Actually I don`t think I`ll go completely borderless. Still got the compiler problem. Can better versions of Hollywood direct the window onto any screen you want, when ever?

Edit
--

When I say "Compiler problems" I mean "compiling problems". It is after all me that isn`t operating correctly. :-)
 

Offline cgutjahr

  • Hero Member
  • *****
  • Join Date: Feb 2003
  • Posts: 697
  • Country: 00
    • Show only replies by cgutjahr
Re: Hollywood
« Reply #2 on: October 25, 2003, 08:10:20 PM »
You need to specify some tooltypes / CLI parameters to tell the *compiled* executable. In your case, WINDOW would tell the app to open a window on the frontmost pub screen:

yourcompiledapp WINDOW

A borderless window can be achieved with BORDERLESS:

yourcompiledapp WINDOW BORDERLESS

Check the manual for more parameters. The size of the application's window is determined by the size of the background picture.
 

Offline NickTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1189
    • Show only replies by Nick
Re: Hollywood
« Reply #3 on: October 26, 2003, 05:38:39 PM »
Hmm....Thats what I did. It still asks for the resolution for its own screen, when I run the executable.
 

Offline NickTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1189
    • Show only replies by Nick
Re: Hollywood
« Reply #4 on: November 02, 2003, 10:00:06 PM »
I`ve sorted that compiler thing now.

I`ve got a new problem. I`ve been making my programs include images in the exetuable, but now I wnt to load them instead, to make my app skinable. I can`t seem to get this to work. I`ve started again essentially, as I hadn`t got too far into the development anyway. It just won`t display, and comes up with a sort of default sized, black window. I think its loading the image, but won`t display it. Its a standard IFF image. If I give it a false path then it complains. Gives me the impression its loading. Its a very simple program at the moment, so there isn`t much to go wrong. Is this a Hollywood v1.0 problem or me?

I`ve ordered the update to v1.5 now. If that helps. :-)
 

Offline cgutjahr

  • Hero Member
  • *****
  • Join Date: Feb 2003
  • Posts: 697
  • Country: 00
    • Show only replies by cgutjahr
Re: Hollywood
« Reply #5 on: November 02, 2003, 11:43:37 PM »
Sorry, seems I missed your last answer (I'm often only reading threads that appear on the front page).

The only possible cause for your problem that comes to mind would be that your datatype can't handle the picture(s), i.e. it is unable to decode 24bit pictures - try if Multiview is able to display the picture(s) (if it is, the the datatype works fine).

If that doesn't work, send me an e-mail with your project, I'll have a look at it.
 

Offline NickTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1189
    • Show only replies by Nick
Re: Hollywood
« Reply #6 on: November 08, 2003, 01:31:52 AM »
I`ve checked that Multiview can load it and it can. Its a simple 24bit iff. I`ll have a try with a different format tomorrow. Also I`ll install v1.5, though that probably won`t make too much difference really.
 

Offline NickTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1189
    • Show only replies by Nick
Re: Hollywood
« Reply #7 on: November 09, 2003, 12:54:12 PM »
That pic is perfectly OK. I`ve installed the update to v1.5 now. I`ve restarted again using v1.5 to make sure its even more simple and made for v1.5 and not v1.0. Now I get a messege.


Surely theres nothing wrote with this:

LoadBGPic(1,"Ram:Main.jpg")
DisplayBGPic(1)  

The messege is:

"You cannot free the background picture that is currently your background picture!"

I haven`t tried loading a brush yet, but I`m not sure that be any different. I`ll try that anyway.
 

Offline cgutjahr

  • Hero Member
  • *****
  • Join Date: Feb 2003
  • Posts: 697
  • Country: 00
    • Show only replies by cgutjahr
Re: Hollywood
« Reply #8 on: November 09, 2003, 06:53:49 PM »
Quote

Surely theres nothing wrote with this:

LoadBGPic(1,"Ram:Main.jpg")
DisplayBGPic(1)

Yes, this is the right way to do this.

It's hard to help if I only know two lines of the script ;) Either post the full script here, or send me an e-mail  with the whole project.
 

Offline NickTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1189
    • Show only replies by Nick
Re: Hollywood
« Reply #9 on: November 10, 2003, 10:07:05 PM »
Hehe I only posted those 2 lines cause theres not much more to the thing at the moment, as I`ve started it again. Here is the full thing. Seems a bit too simple to me, and I kee getting the feeling I`ve missed something,

%HOLLYWOOD      = 1/5

%TITLE = " "

%Code

LoadBGPic(1,"Ram:Main.jpg")
DisplayBGPic(1)
Waitleftmouse