Log In  
Follow
Godmil

Cart #xenith-4 | 2023-07-06 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
33


(warning: contains some flashing lights)
(Fake08 support added)

SUMMARY

Survive 50 micro bullet-hell levels set over more than a dozen environments to face the final boss.

CONTROLS

Player 1: Arrow keys to move, hold Z,X,C,V,N, or M to slow your ship down for maximum control
Player 2: ESDF to move and Q,TAB,SHIFT, or A to slow.

Pressing Q/TAB/SHIFT/A at any time will enable player 2 to join at the start of the next level.

GAME MODES

Standard: Survive each of the 50 ten-second levels. If anything hits your cockpit you'll need to restart.
Invincible: Experience the game without having to restart. See how few times you can get hit.

[ Continue Reading.. ]

33
18 comments



Cart #mifudotuse-0 | 2023-03-10 | Code ▽ | Embed ▽ | No License
1


Hello,
I'm been trying to play around with raycasting and I hit lots of problems with the maths so tried copying some code from cast.p8. it kinda works but I'm clearly making some silly mistake when I try to render the image to screen. I'm taking the length of each ray (from left to right, one for each x-axis column), and calculating the height of the wall it hits by just dividing an arbitrary number by the ray length.
Then for each column I'm drawing a line which has the y-value being half the height of the screen + and - half the height of the wall.
In my head this makes sense, but when I render it out the walls look fine, but I'm getting tons of noise above and below the walls.

[ Continue Reading.. ]

1
0 comments