Crazy Caves

Started by Steve Elliott, February 03, 2019, 23:22:29

Previous topic - Next topic

Derron

Why not just have the scanlines a big (repeating/tiled) texture which you draw on top of your whole game - no need to precreate that effect on each sprite.

also why do you scale the sprites already (you said you scaled by 4x)? Just do it in your game - as this allows to play it in a native resolution if possible (CRT enthusiasts ?).
If your game does "filtering" when scaling there is surely an option around to disable that.


bye
Ron

therevills

Could you just use a CRT shader? Not sure what you are coding in though...

Steve Elliott

#32
Quote
Could you just use a CRT shader? Not sure what you are coding in though...

I've no experience of shaders, that's why I haven't done it.   ;D  AGK.

Quote
Why not just have the scanlines a big (repeating/tiled) texture which you draw on top of your whole game - no need to precreate that effect on each sprite.

I know, I already did something similar on my GridFire Game, you should know this.   :P  Just trying something different at this very early stage.

Quote
also why do you scale the sprites already (you said you scaled by 4x)?

So I can apply the scan effect to it and bake the scanline effect into the sprite, remember these are tiny sprites so you really have to be careful things don't fall apart on scaling.  Besides the main reason, why waste cycles having the computer do the work when it's simple enough to pre-prepare the sprites?  Just trying some things in Photoshop, experimenting.  I'll probably go back to my GridFire style overlay, but it's always good to try new things.

Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

MrmediamanX

#33
there's the CRT effect from "You Have to Win the Game" which look pretty neat.
I may need to tinker around and build my own version of it some time.
It's a thing that doe's when it don't..

Steve Elliott

#34
Quote
there's the CRT effect from "You Have to Win the Game"

Thanks, I've never seen that game before but my colour scheme for Crazy Caves is similar, although I aim to use red as well as magenta for the overall colour of the Caves.

As for the CRT effect it's a bit much for me, with the old tv curvature and screen glare too.
Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

MrmediamanX

To true .... something like that would be best suited for a non comp game.
though I just couldn't resist and built my own ... no "shaders" just layered transparent screen sprites,post processing fx and an animated transparent noise gif texture.... not to shabby I guess. ;D
It's a thing that doe's when it don't..

Steve Elliott

#36
Cool, that looks great   8)

Just don't post any more here though, use your own worklog for that.  This is a personal worklog for my game, not yours lol :P
Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

Steve Elliott

#37
Finished my bitmap font for text and numbers alongside the graphics, now I need to create a data file that AGK requires for the Sprite Atlas (Sprite Sheet).  I've used a Sprite Packer Program that automated this process, but I found it didn't work as intended.

Small but steady progress.  Graphics are coming along and I can move my character about as he animates nicely.  The gif animation is a bit random compared to in-game, maybe Photoshop has mixed up the frames or timing, but you get an idea of how it looks animated.
Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

Qube

Looks sweet ;D

QuoteI've used a Sprite Packer Program that automated this process, but I found it didn't work as intended.
I use Texture Packer Pro which works really well and also has a free version. The only thing I have to do after setting it for AGK is to manually set the data file name.


Mac Studio M1 Max ( 10 core CPU - 24 core GPU ), 32GB LPDDR5, 512GB SSD,
Beelink SER7 Mini Gaming PC, Ryzen 7 7840HS 8-Core 16-Thread 5.1GHz Processor, 32G DDR5 RAM 1T PCIe 4.0 SSD
MSI MEG 342C 34" QD-OLED Monitor

Until the next time.

Steve Elliott

#39
Thanks, be good to get some more graphics on-screen and I personally like the gameplay, but coming along, trying to play catch-up right now.   :D

I had some problems with it leaving artifacts, perhaps because sprites were small.  Anyway, no time to fart arse about with it right now because I'm a bit behind schedule.

Added some nice Spectrum 128 music (ish) that plays in the background.   :D
Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

Qube

QuoteYeah I had some problems with it leaving artifacts, perhaps because sprites were small.
Ah that. Change the border padding to 1 and in AGK use SetSpriteUVBorder( spriteID, 0 )

QuoteAnyway, no time to fart arse about with it right now because I'm a bit behind schedule.
Save time, go with what works :)

QuoteAdded some nice Spectrum 128 music (ish) that plays in the background.   :D
Lol, that's what I'll be going for, Spectrum 128 music (ish) :P
Mac Studio M1 Max ( 10 core CPU - 24 core GPU ), 32GB LPDDR5, 512GB SSD,
Beelink SER7 Mini Gaming PC, Ryzen 7 7840HS 8-Core 16-Thread 5.1GHz Processor, 32G DDR5 RAM 1T PCIe 4.0 SSD
MSI MEG 342C 34" QD-OLED Monitor

Until the next time.

Steve Elliott

#41
Working on some cave graphics...
Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

MrmediamanX

I get the feeling someone is going comment on the CRT lines of vertical cave sprites.
may need to dupe it.
It's a thing that doe's when it don't..

Steve Elliott

#43
Yeah lol just a quick rotation to see how things looked.

I think personal worklogs are just to give people a basic idea of what you're working on and the graphic style - rather than asking for critique at a very early point in development.

Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

Steve Elliott

#44
Quote
I get the feeling someone is going comment on the CRT lines of vertical cave sprites.

Yep it was just a test, so a replacement screenshot.

I think that's all I'll post until the game's near completion, don't want to show too much at this stage  ;D
Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb