Jump to content
IGNORED

DPC+ pfread?


pacgreg

Recommended Posts

I'm trying to make my new project using the dpc+ kernel, but I am having trouble making playfield collisions work. Does anyone know how to use pfread in DPC+ to make good collision prevention? When I try to use pfread (or pfpixel, pfhline, etc...) it appears to do nothing or malfunction. Can someone show me how to use these functions in DPC+ and/or help me use them to get my collisions to work in this game? Right now I only have one of my many failed attempts at collision in place.

Thanks

Greg

Gauntlet007.bas

Link to comment
Share on other sites

I took a crappy example program and changed it to DPC+:

 

collision_prevention_partial_cd_dpc_2013y_11m_08d_0335t.bas

 

collision_prevention_partial_cd_dpc_2013y_11m_08d_0335t.bin

 

Understand that I don't know what I'm doing and that the numbers have to be adjusted depending on the size of the sprite and the screen resolution. Hopefully you'll get something useful out of it.

  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...