Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 0x2D3B147AFAD49DE0 correct name #1242

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions GRAPHICS/DrawSpriteArx.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
ns: GRAPHICS
aliases: ['0x2D3B147AFAD49DE0']
---

## DRAW_SPRITE_ARX

```c
// 0x2D3B147AFAD49DE0
void DRAW_SPRITE_ARX(char* textureDict, char* textureName, float x, float y, float width, float height, float p6, int red, int green, int blue, int alpha, int p11);
```

```
Used in arcade games and Beam hack minigame in Doomsday Heist. For example, [Penetrator Arcade Game](https://streamable.com/8igrzw)

NativeDB Introduced: v1290
```

## Parameters

- **textureDict**: textureDict
- **textureName**: textureName
- **x**: x position must be between 0.0 and 1.0 (1.0 being the most right side of the screen)
- **y**: y position must be between 0.0 and 1.0 (1.0 being the most bottom side of the screen)
- **width**: width 0.0 - 1.0 is the reasonable amount generally
- **height**: height 0.0 - 1.0 is the reasonable amount generally
- **p6**: almost always 0.0
- **red**: red color
- **green**: green color
- **blue**: blue color
- **alpha**: alpha
- **p11**: unknown but almost always 0

## Examples

```lua
CreateThread(function()
RequestStreamedTextureDict('MPArcadeDegenatron', false)
while not HasStreamedTextureDictLoaded('MPArcadeDegenatron') do Wait(10) end
while true do
DrawSpriteArx('MPArcadeDegenatron', 'penetrator_scene_frame', 0.5, 0.5, 0.4, 0.6, 0.0, 255, 0, 0, 255, 0)
Wait(0)
end
end)
```
43 changes: 0 additions & 43 deletions GRAPHICS/N_0x2d3b147afad49de0.md

This file was deleted.

Loading