- Game Maker Community
- → Viewing Profile: Topics: XD005
XD005
Member Since 21 Apr 2006Offline Last Active May 09 2013 11:16 AM
Community Stats
- Group New Member
- Active Posts 1257
- Profile Views 3327
- Member Title Daxter (For PSP) Fan
- Age 20 years old
- Birthday December 29, 1992
-
Gender
Not Telling
Latest Visitors
Topics I've Started
How to freeze the execution of events temporarily?
24 January 2012 - 09:24 AM
Disappearing sprites
18 December 2011 - 10:00 AM
What happens is each second it loops through to see what data has been specified for this frame. The Y axis is all the different functions being sorted. Whilst the X axis is the actual frames. When there is data in a frame, the frames on the adjacent Y coordinates disappear. Any body have any idea whats wrong?
//Draw thirty frames for each fucntion...
for (i=1; i<31; i+=1)
{
//Draw Channel Markers
if not (i>30)
{
frame_status=string(ds_grid_get(timeline,second,i));
for (f=0; f<display_size+1; f+=1)
{
//Draw a blank frame...
if (frame_status="-")
{draw_sprite(spr_frame,0,224+(32*i),224+(f*32))}
//If the command returns 1, draw icon
if (string_count(number_to_letter(display_start+f)+"1",frame_status)>0)
{draw_sprite(spr_frame,1,224+(32*i),224+(f*32))}
else
{
//If the command returns 0, draw icon
if (string_count(number_to_letter(display_start+f)+"0",frame_status)>0)
{draw_sprite(spr_frame,2,224+(32*i),224+(f*32));}
}
}
//Draw timeline label
draw_set_halign(fa_left);
}
}
How to calculate the length of a frame?
14 December 2011 - 10:42 PM
frame_val=1000/30;
This will calculate how long one frame is in miliseconds, if the game is running at 30FPS correct?
RS232 (Serial Problem)
01 December 2011 - 09:42 AM
Snapping on a Grid while moving in a direction
07 September 2011 - 09:47 PM
- Game Maker Community
- → Viewing Profile: Topics: XD005
- Privacy Policy
- GMC Rules and Forum Rules ·



Find content