Jump to content



1

Help with generic display list (character mode)


2 replies to this topic

#1 PacManPlus OFFLINE  

PacManPlus

    River Patroller

  • 3,320 posts
  • Location:Naples, Florida

Posted Sun Jul 20, 2008 6:29 PM

Hello:

I am trying to make a 'general purpose' display list template, complete with (or without) character mode. My goal is to just change a few settings (number of sprites, character mode off or on, etc) and have the program generate the Display List and Display List List for you programatically. I don't think it takes *that* much longer than a regular display list that is generated 'on the fly', so I hope to use this in future games (and I intend on positng it once it's finished with simple instructions so other people don't have to worry about the 'Display List (List)' when creating a game.

Of course, it can be tweaked if it needs to be customized, but one it's finished I hope to have a 'drop & go' kernel, so to speak.

The only problem I am running into is that I cannot get anything to display in character mode. I've been looking at this for days, and I cannot see anything wrong. As you can see, the test sprites both work fine, but 16 high Character mode displays *nothing*. There should be mountains in the back of the second display list entry on the screen (zone 2, rows 16 to 32).

Does anyone see what I am doing wrong?

Thanks in advance for the help. Source and include file attached.

Attached Files

  • Attached File  DEMO.ZIP   4.77K   102 downloads


#2 Allan OFFLINE  

Allan

    River Patroller

  • 4,245 posts
  • Location:Wallingford, CT

Posted Sun Jul 20, 2008 9:04 PM

Is the Mountain.dat file suppose to be empty? I don't see anything in it.

Allan

#3 PacManPlus OFFLINE  

PacManPlus

    River Patroller

  • 3,320 posts
  • Location:Naples, Florida

Posted Mon Jul 21, 2008 4:32 AM

Oh - wow. I'm an idiot. I copied the wrong file, no wonder I wasn't getting anything. :dunce:
I guess that's one of the drawbacks of keeping the graphics outside of the program.

Thanks, Allan




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users