Log In  


Cart #nutrispace_shooter-0 | 2022-03-03 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

3


1

Super jeux !!


There is a strange black pixel in the middle of the screen, @Shaa94.


Yes @dw817, but i don't know where he can from, i need to see that. Thanks


1

Jeu génial ! J'ai adoré, j'y ai passé des heures. :)


1
function _init()
	x=63
	y=63

There are these two variables under _init(). I doubt they're called anywhere else but here:

function draw_explosions()--cercle d'explosion
 circ(x,y,rayon,color)
	for ex in all(explosions) do
	circ(ex.x,ex.y,ex.timer/2,--taille du cercle
	8+ex.timer%3)	--halo de couleur
	end
end

This is where they seem to be used. Since rayon and color are undefined, they're substituted with 0. Removing or commenting out the circ() would do.

Changing the x and y under _init() places the black pixel (or a circle with 0 radius and black color (0)) in that position.


@Katyusza, the dot disappeared by removing x & y variables.
Thank you! ;)



[Please log in to post a comment]