Title Screen not loading properly

8 views
Skip to first unread message

Adam W

unread,
May 7, 2008, 8:27:15 PM5/7/08
to WSU-Assembly-Engrs
My title screen isn't loading correctly when the game is turned on,
but when game over occurs it will load correctly. It has started
doing that when I loaded the easyScore into my game. I know it has
something to do with the window but I don't know what is doing it.
Could someone help me?

http://wsu-assembly-engrs.googlegroups.com/web/Adam%20W-Final%20Project.zip?gda=VUfQiUkAAAAScCZmhdp0z_wLL5mrqLwbdtBGDPJybYdfoVn8WRVT_GG1qiJ7UbTIup-M2XPURDReO0rHZh49aSY9viHvVbkE-ZocC5Ga1WC10ppmuJ30zg

Adam W

unread,
May 7, 2008, 8:54:26 PM5/7/08
to WSU-Assembly-Engrs
Sorry I just put an updated version of my project on here. I also am
having trouble with the game running after the title screen. It
freezes now that I have 2 more enemy's loaded into the startup.

http://wsu-assembly-engrs.googlegroups.com/web/Final%20Project-Adam%20Wiebe.zip?gda=pDCy3E0AAAAScCZmhdp0z_wLL5mrqLwbxapND9XtW4q_9fi33-XwMmG1qiJ7UbTIup-M2XPURDQpr_xvRKVY639QyV6DtxSIviiSJFrHJTP0CRH0THmrKg&gsc=rw5n9BYAAAA3heFFTE_0QuMfivEQq90Pb4sM5LxQecB2XX9dOcthjQ

On May 7, 7:27 pm, Adam W <aawi...@wichita.edu> wrote:
> My title screen isn't loading correctly when the game is turned on,
> but when game over occurs it will load correctly. It has started
> doing that when I loaded the easyScore into my game. I know it has
> something to do with the window but I don't know what is doing it.
> Could someone help me?
>
> http://wsu-assembly-engrs.googlegroups.com/web/Adam%20W-Final%20Proje...

Adam W

unread,
May 7, 2008, 9:42:46 PM5/7/08
to WSU-Assembly-Engrs
Yea!! I figured out why my sprites weren't working! I was just being
stupid (usually the case). My title screen isn't loading still
though. Maybe I can fix that and post to my own problem again. :)

On May 7, 7:54 pm, Adam W <aawi...@wichita.edu> wrote:
> Sorry I just put an updated version of my project on here. I also am
> having trouble with the game running after the title screen. It
> freezes now that I have 2 more enemy's loaded into the startup.
>
> http://wsu-assembly-engrs.googlegroups.com/web/Final%20Project-Adam%2...

John Harrison

unread,
May 7, 2008, 11:55:53 PM5/7/08
to wsu-assem...@googlegroups.com
The reason your title screen isn't showing up is because the window is covering the background, where your title screen is being printed. You turn the window on in line 139 for easyScore and by default it is covering the entire screen.     call    easyScoreInit moves the window to the bottom line of the screen. But before you do this, it will cover the entire background.

The solution therefore is to move the call to easyScoreInit to somewhere before you write to the background of the screen. I moved it from line 184 to line 150. Then your title screen shows up.
Reply all
Reply to author
Forward
0 new messages