New games every week!
Late Night Coding Blog
4th January 2023
Made a boat, last night.

-=-=-

I've done this particular effect before, in Golly Roger, for SmileBASIC, and also the basic effect in Blitz.
The idea is to take a 2D "top" of the boat, then re-draw it several times to make a 3D layered effect.
The result is quite a lovely looking boat, and with added explosions and a cannonball, the engine is already nice and fun to play with.

Next I need to add in some gameplay. Obviously, other boats will be in there, but what else?
Treasure!!!
And maybe those spikey mines, too.
*shrugs*

Today will be about figuring out the gameplay, and trying to make the game fun to play.



For kicks, here's the basic boat effect in GotoJSE.
// A Boat // by Jayenkai // Created 2023/1/4 Symbol 0,"2__0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0.C_C0_0_0.CB@C0_0_0.CB@CD_D0_0,CB@CB_BD?0/CB@CB_B!D,0.CB@CB_B_DD00CB@CB_B_BBD0CB@CB_B_B,DCB@CB_B_B,DCB@CB_B_BBD0CB@CB_B_DD00CB@CB_B!D,0.CB@CB_BD?0/CB@CD_D0_0,CB@C0_0_0.C_C"; Symbol 1,"2__0_0!DD0_0_0_0,DD0_0_0GG00G,00G0DD0G00G,00GG0/G_G,DDG_G,0!G_GG0DD0G_GG0!G_G,DDG_G,0!G_G,DDG_G,0!G_GG0DD0G_GG0/G_GGDDG_GG0_G_0DD0G_0_0.G?00DD00G?0_0_0?DD0_0_0_0,DD0_0_0_0,DD0_0_0_0,DD0_0_0_0,DD0_0_0_0,DD"; Graphics 640,480,1 AntiAlias False ang=0 bx=320 by=240 Repeat CLS 80,150,200 ang=ang+(GamePad(ButtonRight)-GamePad(ButtonLeft))*4 SetRot ang by=by+Sin(Mills()*0.3)*Cos(Mills()*0.45)*0.1 for layer=10 to 0 step -1 SetSize 1-layer*0.02 SetAlpha 1-layer*0.03 DrawImg bx,by+layer*0.5,0 next SetSize 1.5,1.5 SetRot 0 DrawImg bx,by,1 Flip Forever

Views 81, Upvotes 19  
Daily Blog , Boat
New games every week!
Site credits : This was all done by Jayenkai
(c) Jayenkai 2023 and onwards, RSS feed 83

Blog - Late Night Coding - AGameAWeek