View previous topic :: View next topic |
Author |
Message |
JohnDude Newbie cheater Reputation: 0
Joined: 30 Aug 2013 Posts: 20
|
Posted: Sun Jul 20, 2014 5:55 am Post subject: D3D - Toggle Menu |
|
|
Hello. does anybody have an idea how do I conceal rendered objects in the screen?
my exemplary code.
Code: | background=createPicture()
bmp=picture_getBitmap(background);
graphic_setHeight(bmp,1)
graphic_setWidth(bmp,1)
c=rasterimage_getCanvas(bmp)
canvas_setPixel(c,0,0,0x000000)
d3dhook_initializeHook()
bgtexture=d3dhook_createTexture(background)
bgsprite=d3dhook_createSprite(bgtexture);
d3dhook_renderobject_setX(bgsprite, 0) --center it horizontally
d3dhook_renderobject_setY(bgsprite, 0) --center it horizontally
d3dhook_sprite_setWidth(bgsprite,150)
d3dhook_sprite_setHeight(bgsprite,120)
|
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Sun Jul 20, 2014 6:14 am Post subject: |
|
|
Set the Visible property of the sprite object to false
E.g.
bgsprite.Visible=false
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
JohnDude Newbie cheater Reputation: 0
Joined: 30 Aug 2013 Posts: 20
|
Posted: Sun Jul 20, 2014 2:38 pm Post subject: |
|
|
Thanks
|
|
Back to top |
|
|
|