Code a game competition - Jan 30th - Apr 10th 2018 - £500 worth of prizes \o/

Started by Qube, January 30, 2018, 00:10:55

Previous topic - Next topic

Steve Elliott

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

Quote from: RemiD on February 21, 2018, 07:27:36
@Qube>>nice. :)
I like the fake volumetric lighting using alpha.

I have worked so much on 3d games that i would use 3d textures flat meshes to create a similar 2d game (with flat meshes having a different zorder so that some are drawn one on top of the other)

But i am curious, are these textured flat meshes ?

Thanks :) - Its all just plain images, no textures.

Quote from: Derron on February 21, 2018, 10:52:32
When I did such a "light circle" I created only the circle with the fade out - so the texture/image was quadratic - then I rendered the "outside" via 4 rectangles/quads. Maybe it added some draw calls but used less vram. Else you would need a texture which is nearly 2 times appWidth and 2 times appHeight - as you need to be able to move the circle across the whole screen.
On a tile based game (only tiles are "lighted") you could of course keep it as "circle + fadeout + 2*tileWidth" - and then just skip rendering all the tiles further away from the light center than "0.5(circle + fadeOut) + tileWidth". Handling of light sources would be a bit more difficult then. So img+4*drawRect() seems the way to go - for me.

How did you tackle that? ... harr, time for a worklog to stay ontopic here.
Lol, no time for a worklog :P - As I'm using a virtual res of 640x400 then it's just one image at 320x200 zoomed in. There was no visual benefit at all using larger image. Also as it's such a small image there would probably be a loss if I split it up and made more draw calls.
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

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

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

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.

STEVIE G

Quote from: Qube on February 21, 2018, 21:20:38
Wait until you see the carnage of these puppies ;D

https://www.youtube.com/watch?v=u19dt_-StZA

Those are the very chaps I was talking about  :P  Will they be making an appearance Qube?

I think they were only in the special edition of the movie.

Qube

QuoteThose are the very chaps I was talking about  :P  Will they be making an appearance Qube?

I think they were only in the special edition of the movie.
Oh yes! in one level you have to split your team up in order to get the guns working before a mass hoard of aliens breaks through a barrier. If the sentry guns are not active then game over man, game over! :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

F*cking love the Alien films.

You secure that shit Hudson!!  Always has me in stitches haha...Secure?!  Not shut it private.  Secure?  Shit?  Hahaha.
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

RemiD

Quote
How about the film "Descent". Set in caverns with monsters...
thanks for the movie suggestion, i did not know about this one, quite good (credible fiction)

Qube

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.

iWasAdam

I've now got preliminary movement and colliding tiles.
Need to make more tiles and extend the checking routines to accommodate.
Collisions are more or less predictable - which is good.
One thing that now becomes evident is the polish aspect. It will need loads of stuff to make it enjoyable to play and players to get a nice sense of reward for playing it - more animation and glittery stuff?

3DzForMe

I've cleared of the dining table to make room to possibly flesh out some initial ideas.  :o

Still got a bit to go on my entry....

I love the ambulance thats moving GTA2D style - some great submissions. The 3D populus style inferno is also looking good.
BLitz3D, IDEal, AGK Studio, BMax, Java Code, Cerberus
Recent Hardware: Dell Laptop
Oldest Hardware: Commodore Amiga 1200 with 1084S Monitor & Blitz Basic 2.1

iWasAdam

First real shot of the game:


You can see the wooden play board and some tiles being played, plus the direction arrows.
basic play is:
pick a direction - the base tile falls into place and the board tiles move (if possible) in the direction shown.
2 base tiles = the start of building
If another base tile hits this, then a small fire is started, then a big one, then an inferno, and finally the tile blows up - removing it from the board!
The building process moves up a level if tiles of the same kind (fire or no fire) hit each other.

It's sort of 2048 with flames!

So it's basically a strategy, puzzle game...

Derron

Hope you finish it this time ... still waiting for the "flag"-game you started 1-2 years ago.


bye
Ron

3DzForMe

BLitz3D, IDEal, AGK Studio, BMax, Java Code, Cerberus
Recent Hardware: Dell Laptop
Oldest Hardware: Commodore Amiga 1200 with 1084S Monitor & Blitz Basic 2.1