Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,078 guests, and 7 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 2 of 2 1 2
Re: Empty Pointer?? [Re: kwpsp] #220531
08/07/08 13:58
08/07/08 13:58
Joined: Jul 2008
Posts: 1,178
England
M
MrGuest Offline
Serious User
MrGuest  Offline
Serious User
M

Joined: Jul 2008
Posts: 1,178
England
can i see the whole code, at a glance i'm thinking that the pos_y is lower than the size of the screen

default is only 640x480 so either 500 or 600 will place it too low?

if not code would help =)

Re: Empty Pointer?? [Re: MrGuest] #220540
08/07/08 13:59
08/07/08 13:59
Joined: Aug 2008
Posts: 153
Germany,Stuttgart
kwpsp Offline OP
Member
kwpsp  Offline OP
Member

Joined: Aug 2008
Posts: 153
Germany,Stuttgart
No I press 1x f5 then is 800x600 but then is
till the bitmap not there


My system:
- Core 2 Quad 6600(4x 2,4GhZ)
- 2GB Ram
- GeForce 7050(:-))
- Windows seven
Re: Empty Pointer?? [Re: kwpsp] #220574
08/07/08 14:18
08/07/08 14:18
Joined: Jul 2008
Posts: 1,178
England
M
MrGuest Offline
Serious User
MrGuest  Offline
Serious User
M

Joined: Jul 2008
Posts: 1,178
England
you are setting it to 600 tho...?

Quote:
Code:
PANEL Anzeige1()
{
pos_x = 250; //Position X
pos_y = 600; //Position Y
layer = 3; //Ebene
bmap = MeineBmp; //alternativ Name
}


have you tried just having
Code:
PANEL Anzeige1()
{
layer = 3; //Ebene
bmap = MeineBmp; //alternativ Name
flags = visible;
}

and making sure that works?

Re: Empty Pointer?? [Re: MrGuest] #220576
08/07/08 14:30
08/07/08 14:30
Joined: Aug 2008
Posts: 153
Germany,Stuttgart
kwpsp Offline OP
Member
kwpsp  Offline OP
Member

Joined: Aug 2008
Posts: 153
Germany,Stuttgart
Yeah that works but the bitmap is any time there
I will that only in the area (markierung)

thx for A reply

kwpsp


My system:
- Core 2 Quad 6600(4x 2,4GhZ)
- 2GB Ram
- GeForce 7050(:-))
- Windows seven
Re: Empty Pointer?? [Re: kwpsp] #220600
08/07/08 17:10
08/07/08 17:10
Joined: Aug 2008
Posts: 153
Germany,Stuttgart
kwpsp Offline OP
Member
kwpsp  Offline OP
Member

Joined: Aug 2008
Posts: 153
Germany,Stuttgart
OO man I'm looking for this piece of code 3 days now
and no one helps me.
Please help me anyone
Gives there any tutorials?
or why is my bitmap not there?

thx

kwpsp


My system:
- Core 2 Quad 6600(4x 2,4GhZ)
- 2GB Ram
- GeForce 7050(:-))
- Windows seven
Re: Empty Pointer?? [Re: kwpsp] #220666
08/08/08 06:48
08/08/08 06:48
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Dunno but why do you have braces (klammern) behind the panel name?

Try this code if it works at all:
Code:
BMAP Meinebmp = "Anzeige.tga"; //Bild_location

PANEL Anzeige1
{
  pos_x = 0; //Position X
  pos_y = 0; //Position Y
  layer = 3; //Ebene
  bmap = Meinebmp; //alternativ Name
}



///////////////////////////////////////////////////////////

action markierung
{
  while(my != NULL)
  {
    c_trace(my.x,vector(my.x,my.y,my.z+500),IGNORE_ME|IGNORE_PASSABLE);
    if(you != NULL)
    {
       if(you.flag5 == ON)
       {
         anzeige1.VISIBLE = ON;
       }
    }
    
    wait(1);
  }
}


Re: Empty Pointer?? [Re: Xarthor] #220689
08/08/08 11:11
08/08/08 11:11
Joined: Aug 2008
Posts: 153
Germany,Stuttgart
kwpsp Offline OP
Member
kwpsp  Offline OP
Member

Joined: Aug 2008
Posts: 153
Germany,Stuttgart
thx but
Cro_Games helped me and we fixed that problem
but ich danke dir

gruß

kwpsp


My system:
- Core 2 Quad 6600(4x 2,4GhZ)
- 2GB Ram
- GeForce 7050(:-))
- Windows seven
Re: Empty Pointer?? [Re: kwpsp] #220947
08/11/08 00:02
08/11/08 00:02
Joined: May 2006
Posts: 398
Bot190 Offline
Senior Member
Bot190  Offline
Senior Member

Joined: May 2006
Posts: 398
where do you set flag5 to on? the way you have it set it won't make the panel visible unless flag5 is set to on, im guessing this would be set when you click. also make sure an object has the action attached to it..


Wait, there isn't a "Make My Game Now" button?
Page 2 of 2 1 2

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