Jump to content


CarlosMarti123

Member Since 18 Aug 2010
Offline Last Active Feb 21 2013 06:11 AM

Topics I've Started

Extracting information tags from MP3 file

05 June 2012 - 06:49 AM

Hello everyone,

I have been searching (for a while now) for some way to extract the information tags from an MP3 file (Title, Artist, Album, etc.) in ID3v1 and ID3v2 formats (especially IDv2, since it is much more common and used in most MP3 files I have seen), preferably in .GEX format. I have seen a few DLLs around the forums for extracting ID3 tags (h0bbel, msoft, tangibleLime, and others), but most of them do not seem to work for some reason (and the Extension Maker seems to give an error when building the .GEX file). Is there anyone who has or might create a GEX extension to extract the information tags from an MP3 file? Any help would be appreciated!

Thank you :)

Receiving messages from players

13 March 2012 - 10:53 PM

I used this code in the <Right> Key Event of my controller object:
mplay_message_send(0,global.playerid,1)

This makes it send a message to all players with the playerid of the player who pressed it.

In the Step Event of the player object, I used the following code:
while (mplay_message_receive(0))
{
    if mplay_message_id() == playerid then x += 1
}

This checks to see if the message ID (the playerid of the player) matches the playerid of the object. If it matches, the object moves right. The code seems to be working for the first player (except it doesn't receive its own messages), but it doesn't work for other players with different playerids. Does anyone know why this is happening?

mplay_session_name() for current session

13 March 2012 - 08:11 PM

Just a quick question. Does anyone know how to make the "mplay_session_name()" function return the name of the current session? I'm probably missing something obvious here, sorry for that. I tried setting "ses = mplay_session_create(...)," but that function returns only whether the session was created, not the session name or number.

4-Direction Rotation

11 March 2012 - 08:56 PM

I am trying to use a different set of rotation control than most tank games. Instead of using the up/down arrow keys to accelerate and left/right keys to rotate, I want the up/down/left/right arrow keys to make the tank turn in that direction while moving, so the player doesn't have to worry about remembering what direction the tank is facing during a battle. In other words, pressing the down arrow key will make the player rotate to face downward and, at the same time, move forward, so that the whole tank moves downward in a smooth movement. Does anyone know how to implement this?