GAmeMaker Vertical Credits Scrolling

Create Event:

text="(c) Lorem##
Video - Ipsum##
Sound - Dolor##
Stunts - Sit##
Editing - Amet##
";//credits - ## for line break
x=room_width/2;//find middle of room
y=room_height+50;//start 50 pixels off of the room
height=string_height(text);//height of text in pixels


Step Event:

y-=0.5;//move up screen

if y==(0-height) instance_destroy();//if off screen destroy


Draw Event:

draw_set_halign(fa_center);//set allignment

draw_text(x,y,text);

No comments:

This will make you a better decision maker | Annie Duke (author of “Thinking in Bets” and “Quit”, former pro poker…

Annie is a former professional poker player, decision-making expert, author, and special partner at First Round Capital.  ͏     ­͏     ­͏   ...

Contact Form

Name

Email *

Message *