xboxscene.org forums

Pages: 1 ... 4 5 [6]

Author Topic: Rotativ Background ( Xboxbg.xbx )  (Read 538 times)

fornorst

  • Archived User
  • Newbie
  • *
  • Posts: 22
Rotativ Background ( Xboxbg.xbx )
« Reply #75 on: October 18, 2003, 01:36:00 AM »

rar et mail me your default.xip at [email protected] I will do the changes. It might work.
Logged

Dramlin

  • Archived User
  • Newbie
  • *
  • Posts: 21
Rotativ Background ( Xboxbg.xbx )
« Reply #76 on: October 24, 2003, 11:55:00 PM »

CODE
// Select the style of the menu you want for your Main Menu Items
// options are either musicstyle or newstyle
// 1 = musicstyle
// 2 = newstyle

//  Dash Menu
   subMenutype1 = 1;

//  Apps Menu
   subMenutype2 = 2;

//   Emu Menu
   subMenutype3 = 1;

//  Games Menu
   subMenutype4 = 2;


If a menu is set to newstyle now it reboots.. I've triple checked others default.xap and config.xap files. And their bg codes are exactly the same as mine. Ive never had this problem before. I am using files that dont have a problem until after i apply these background codes.

So now im confused as to why this is happening. Anyone have any clue of how to fix this?

thanks
Logged

Dramlin

  • Archived User
  • Newbie
  • *
  • Posts: 21
Rotativ Background ( Xboxbg.xbx )
« Reply #77 on: October 27, 2003, 10:15:00 AM »

lil' bump
Logged

polx

  • Archived User
  • Newbie
  • *
  • Posts: 16
Rotativ Background ( Xboxbg.xbx )
« Reply #78 on: November 07, 2003, 01:44:00 AM »

CODE


DEF myBackgroundList Group
{
 children
 [
     DEF background0 Background{ skyColor 0 0 0 backdrop ImageTexture { url "xboxbg.xbx" }}
     DEF background1 Background{ skyColor 0 0 0 backdrop ImageTexture { url "xboxbg1.xbx" }}
     DEF background2 Background{ skyColor 0 0 0 backdrop ImageTexture { url "xboxbg2.xbx" }}
     DEF background3 Background{ skyColor 0 0 0 backdrop ImageTexture { url "xboxbg3.xbx" }}
     DEF background4 Background{ skyColor 0 0 0 backdrop ImageTexture { url "xboxbg4.xbx" }}
     DEF background5 Background{ skyColor 0 0 0 backdrop ImageTexture { url "xboxbg5.xbx" }}
     DEF background6 Background{ skyColor 0 0 0 backdrop ImageTexture { url "xboxbg6.xbx" }}
     DEF background7 Background{ skyColor 0 0 0 backdrop ImageTexture { url "xboxbg7.xbx" }}
     DEF background8 Background{ skyColor 0 0 0 backdrop ImageTexture { url "xboxbg8.xbx" }}
     DEF background9 Background{ skyColor 0 0 0 backdrop ImageTexture { url "xboxbg9.xbx" }}
]
}

function loadBackground() {
var n = Math.round(Math.random() * (myBackgroundList.children.length() - 1));
myBackgroundList.children[n].isBound = true;  
}



but still not work.
07.11.2003
Bydgoszcz POLAND
Logged

polx

  • Archived User
  • Newbie
  • *
  • Posts: 16
Rotativ Background ( Xboxbg.xbx )
« Reply #79 on: November 18, 2003, 04:35:00 AM »

CODE

DEF theBackground Background
{
 skyColor 0 0 0
}


to

CODE

DEF theBackground Background
{
 skyColor 0 0 0
 backdrop ImageTexture { url nomBackground[i-1] }
}


but after I deleted it, it works.
I'm so happy.
smile.gif
Logged

rjsachse

  • Archived User
  • Full Member
  • *
  • Posts: 128
Rotativ Background ( Xboxbg.xbx )
« Reply #80 on: November 18, 2003, 01:05:00 PM »

CODE
DEF theBackground Background
{
skyColor 0 0 0
backdrop ImageTexture { url nomBackground[i-1] }
}


all together or you alest meant to change it to
CODE
DEF myBackgroundList Group
{
children
[
    DEF background0 Background{ skyColor 0 0 0 backdrop ImageTexture { url "xboxbg.xbx" }}
    DEF background1 Background{ skyColor 0 0 0 backdrop ImageTexture { url "xboxbg1.xbx" }}
    DEF background2 Background{ skyColor 0 0 0 backdrop ImageTexture { url "xboxbg2.xbx" }}
    DEF background3 Background{ skyColor 0 0 0 backdrop ImageTexture { url "xboxbg3.xbx" }}
    DEF background4 Background{ skyColor 0 0 0 backdrop ImageTexture { url "xboxbg4.xbx" }}
    DEF background5 Background{ skyColor 0 0 0 backdrop ImageTexture { url "xboxbg5.xbx" }}
    DEF background6 Background{ skyColor 0 0 0 backdrop ImageTexture { url "xboxbg6.xbx" }}
    DEF background7 Background{ skyColor 0 0 0 backdrop ImageTexture { url "xboxbg7.xbx" }}
    DEF background8 Background{ skyColor 0 0 0 backdrop ImageTexture { url "xboxbg8.xbx" }}
    DEF background9 Background{ skyColor 0 0 0 backdrop ImageTexture { url "xboxbg9.xbx" }}
]
}

function loadBackground() {
var n = Math.round(Math.random() * (myBackgroundList.children.length() - 1));
myBackgroundList.children[n].isBound = true;  
}


and mate i know you have trouble understanding english but you will get there
Logged

Joshua Wood

  • Archived User
  • Sr. Member
  • *
  • Posts: 362
Rotativ Background ( Xboxbg.xbx )
« Reply #81 on: November 20, 2003, 11:37:00 AM »

CODE

DEF myBackgroundList Group
{
   children
   [
       DEF background0 Background{ skyColor 0 0 0 backdrop ImageTexture { url "xboxbg.xbx" }}
       DEF background1 Background{ skyColor 0 0 0 backdrop ImageTexture { url "xboxbg1.xbx" }}
       DEF background2 Background{ skyColor 0 0 0 backdrop ImageTexture { url "xboxbg2.xbx" }}
       DEF background3 Background{ skyColor 0 0 0 backdrop ImageTexture { url "xboxbg3.xbx" }}
       DEF background4 Background{ skyColor 0 0 0 backdrop ImageTexture { url "xboxbg4.xbx" }}
//   DEF background5 Background{ skyColor 0 0 0 backdrop ImageTexture { url nomBackground[i-1] }}
   ]
}

function loadBackground()
{
//    var BGn = Math.round(Math.random() * (myBackgroundList.children.length() - 1));
   if (BGn == 6) { BGn = 0 }    
   myBackgroundList.children[BGn].isBound = true;  
   BGn = (BGn + 1);
}

and then further down in the function initialize():
CODE

var BGn;

function initialize()
{
   BGn = 0;     // choose default BG
....etc }


Now I'm not sure if I should put this in initialize(), but I'm not sure how else or where to define a starting value. It doesn't error here though ;0
Trial and error (commenting all lines and uncommenting 1 at a time, this line causes an error:
if (BGn == 6) { BGn = 0 }    
I would guess because BGn isn't a gobal for some reason?

One more thing:
DEF background5 Background{ skyColor 0 0 0 backdrop ImageTexture { url nomBackground[i-1] }}
causes an error also. I'd like the option to remove the BG - looks ok, looking at what was there before. But it doesn't like it for some reason.

Anyways, the rest is the same (eg the OnRightThumb() etc etc), which shouldn't need to be altered. If anyone could please help out that would be great.
Logged
Pages: 1 ... 4 5 [6]