News:

*NEW* Current Version on STEAM16.793

Webchat:
Visit the chat



GEN()

Previous topic - Next topic

Hemlos

Hi,
Since loadanim shares a sprite ID...can this be split up to hold its own ID like the other object ID formats?

id% = GENSPRITE()
id% = GENSOUND()
id% = GENX_OBJ()
id% = GENFILE()

add this:

id% = GENANIM()

Basically, for the same reason you would call an object with a parralel ID.

ie
LOADANIM id=0
LOADSPRITE id=0
etc

I dont need this command, but it would be handy, and allow for more options for identities.
Bing ChatGpt is pretty smart :O

Schranz0r

Sprite_ID  == Anim_ID ;)
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

Hemlos

I know.

This conflicts..
LOADANIM "FILE1.png",0
LOADSPRITE "FILE2.png",0

If you use DRAWANIM id=0, it loads the sprite, not the anim.
hence the request for GENANIM() as a unique loading slot.
Bing ChatGpt is pretty smart :O

Schranz0r

Both are sprites...
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

Hemlos

Bing ChatGpt is pretty smart :O