Log In  
Follow
coolwone
[ :: Read More :: ]

If you all don't care again I need help with object pickups in my game when you pickup an object (artifact) you get a score of 1 point. What I need to know is how to add a spawner for that object and how to make the player pick it up.

Many thanks.

BTW I tried to use a YouTube tutorial with no luck

--pickups
function ipickups()
 pu={
 x=63,
 y=50,
 act=true,
 }
 artifacts=0
end

function upickups()
 if pu.act then
  if abs(px-pu.x)<=4 and abs(py-pu.y)<=4 then
   pu.act=false
 artifacts+=1
  end
 end
end

function dpickups()
 if pu.act then
  spr(6,pu.x,pu.y,4,4)
 end
 print("artifacts: "..artifacts)
end
P#147921 2024-05-04 19:17

[ :: Read More :: ]

Hey guys. I was wondering if I could get help to get a game over screen when the enemy collides with the player.
If anyone wants to help comment on your ways to help.

Thank you.

P#147884 2024-05-04 03:37

[ :: Read More :: ]

Hello. I was thinking on how can I make enemy AI the simplest way?
I was looking on YouTube but most of the tutorials are hard to understand.
I am a beginner when it comes to pico 8, so if anyone can help I would greatly appreciate it.

P#139691 2024-01-06 04:11

[ :: Read More :: ]

Hi,

I am having trouble programming sprites and collisions.
I am looking for a simple way of accomplishing it; I have tried tutorials on YouTube but there is no success.
Any help would be appreciated.

Thanks!

P#139554 2024-01-02 22:30