The Dink Network

get_version() - Aural+?

January 6th 2010, 08:05 PM
spike.gif
Is there a way to tell whether the player is using Aural+ or regular 108?
January 7th 2010, 02:43 AM
peasantmb.gif
yeoldetoast
Peasant They/Them Australia
Oh, NOW YOU'VE DONE IT! 
See that text at the bottom of the start screen when you load a mod? Notice the difference between versions.

Yes I just checked and get_version() returns the same for each, but where does that text at the bottom of the screen come from then?
January 7th 2010, 09:12 AM
pq_knight.gif
ExDeathEvn
Peasant He/Him New Zealand rumble
"Skinny Legend" 
I assume it comes from the source code.
January 7th 2010, 10:50 AM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
Yeah, that text is hard-coded.
January 7th 2010, 11:56 PM
peasantmb.gif
yeoldetoast
Peasant They/Them Australia
Oh, NOW YOU'VE DONE IT! 
Hard coded? In The Honour Quest, cypry changed that text. How did he do that?
January 8th 2010, 12:26 AM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
The hardcoded text is handled as a text sprite (brain 8). What cypry did was a get_sprite_with_this_brain(8,0); to get the text's sprite number. The he gets the coordinates, and kills the sprite. Finally, he used say_xy to create his custom text at the same position.
January 8th 2010, 04:17 AM
peasantmb.gif
yeoldetoast
Peasant They/Them Australia
Oh, NOW YOU'VE DONE IT! 
Thanks for explaining that. It's quite clever.