Samplay - Pulp game devlog journey

Progress report 8: 25 April 2024 : Frame, background and transparency

I wanted for the new next zone to be more in the black tone in the background
Also wanted to stylish a bit the frame of the field. So added a frame around the game space.

A problem get into me for the black background to still be check under the sprite...

notransparency

So remembered about the gum from player sprite and that someone said on the forum you could get any tile transparent if you want by go back from player tile mode to tile
But find the trad of, you have to get your tile code paste otherwise it lost!


Then

and go back to the old mode

Don't forget to re add mode script of your tile and paste your code then.

Now the monster is transparent :
transparencyStamp

Perhaps as you could see transparent bomb and gun stamp the old player position and create a player doopleganger artefact :smiling_face_with_tear:

We should find something.. If pulp stamp frame by frame we could call before drawing the object around the player the background..

On tile code "gun"

on enter do
	tell event.x,event.y to
		swap backgroundT
		wait 0 then
			swap "gun"
		end
	end
end

Then as a trade of there is a blinking of one frame on the gun new position
transparencyeffect

This stamp effect on moving transparent tile as a frame moving could let artefact then so further test need to be done on all the tile. Yet for not moving tile transparency is a good feature..
So this tradeof might exist but is ok.

I also use the jam save system of level advancing for this game : if it crash (still this mysterious Error: ?: in function <?:3743>) that exist on the long run. might be a crash from moving tile between room level.. but not sure.