July 29, 2021, 11:28:44

Author Topic: Wuhan Gang - Virus Competition Entry  (Read 3121 times)

Offline Steve Elliott

  • Hero Member
  • *****
  • Posts: 3147
  • elgol
Re: Wuhan Gang - Virus Competition Entry
« Reply #60 on: March 29, 2021, 12:06:03 »
Thanks, but like I said:

Quote
with a 3D physics type game then a constant update time would seem more appropriate.  But with silky smooth 2D scrolling or movement then delta-time has always worked better for me.

Maybe do something similar to what I do for animation. I use an accumulator of delta time and update a frame when it's over the required amount of time, or would constant physics updates but draw at a 'render tweened' value work better for you?  Perhaps the community can help with some 3D Code or suggestions...
« Last Edit: March 29, 2021, 12:30:12 by Steve Elliott »
Windows 10 64-bit, 16Gb RAM, Intel i5 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb)
MacOS Big Sur 64-bit, 8Gb RAM, Intel i5 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB
Linux Mint 19.3 64-bit, 16Gb RAM, Intel i5 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb)
Raspberry Pi 400, Pi4, BBC B, C64, ZX Spectrum

Offline STEVIE G

  • Hero Member
  • *****
  • Posts: 580
Re: Wuhan Gang - Virus Competition Entry
« Reply #61 on: March 29, 2021, 13:00:19 »
I'm not changing anything now. Renderworld with tween won't work with single surfaces, I'd have to write my own which isn't happening. Alway found native render tweeting to be jerky.

Offline Steve Elliott

  • Hero Member
  • *****
  • Posts: 3147
  • elgol
Re: Wuhan Gang - Virus Competition Entry
« Reply #62 on: March 29, 2021, 13:02:41 »
Quote
I'm not changing anything now...I'd have to write my own which isn't happening.

Fair enough, but in the meantime we could discuss 'update' options for the next project.   :)
Windows 10 64-bit, 16Gb RAM, Intel i5 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb)
MacOS Big Sur 64-bit, 8Gb RAM, Intel i5 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB
Linux Mint 19.3 64-bit, 16Gb RAM, Intel i5 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb)
Raspberry Pi 400, Pi4, BBC B, C64, ZX Spectrum

Offline STEVIE G

  • Hero Member
  • *****
  • Posts: 580
Re: Wuhan Gang - Virus Competition Entry
« Reply #63 on: March 29, 2021, 13:17:46 »
Perhaps  ;D

Offline Derron

  • Hero Member
  • *****
  • Posts: 3614
Re: Wuhan Gang - Virus Competition Entry
« Reply #64 on: March 29, 2021, 13:27:37 »
Maybe do something similar to what I do for animation. I use an accumulator of delta time and update a frame when it's over the required amount of time, or would constant physics updates but draw at a 'render tweened' value work better for you?  Perhaps the community can help with some 3D Code or suggestions...

I do this too ... but am able to limit FPS (render times) too. So eg 90 ups (logic) and 30 fps (render/drawing).


Stevie surely will try out some stuff in the next time ... but then coming back to his old trusted code basis :)


bye
Ron

Offline RemiD

  • Hero Member
  • *****
  • Posts: 1273
Re: Wuhan Gang - Virus Competition Entry
« Reply #65 on: March 29, 2021, 20:55:46 »
Quote
That doesn't sound quite right. You would imagine that at high frame rates the step would be very small. In wich case i would imagine the problem might be detecting the same collision twice or the code to bounce something off a surface would actually leave the object in contact with the surface
indeed, but also : movement, collisions detection, repositionning, and rendereding, are 2 separate things...
DualCore AMD E-450, 1646 MHz - 6 Go DDR3 1333 SDRAM - AMD Radeon HD 6320 Graphics (384 Mo) - Windows 7 Home Premium - DirectX 11.0

Offline STEVIE G

  • Hero Member
  • *****
  • Posts: 580
Re: Wuhan Gang - Virus Competition Entry
« Reply #66 on: April 03, 2021, 12:48:29 »
Finished off level props. I now have acid, ceiling and floor spikes, wall guns, mines, exploding barrels, doors with keycards, windows, platforms which move in/out of foreground, saw blades which now move in a specific path and finally jump springs. This is on top of Zombies, Spiders, Wasps, Security Drones and Soldiers. Ive also added "Boost Juice' which gives you extra speed for a short time to make that hard to reach platform. I think I've got enough now to build a decent variety of levels. 

Next step is working on improving the AI. I don't think it has to be complex - just challenging enough to make you think. After that I'll hopefully have 2 weeks to build the final 10 levels, redo the sounds (currently 8bit) and create some more background tiles. ;D

Latest level.

http://www.steviegoodwin.plus.com/images/Untitled/WG25.png

Close up of jump pad. You have to be holding jump when you land to get launched.

http://www.steviegoodwin.plus.com/images/Untitled/WG26.png
« Last Edit: April 03, 2021, 12:53:20 by STEVIE G »

Offline STEVIE G

  • Hero Member
  • *****
  • Posts: 580
Re: Wuhan Gang - Virus Competition Entry
« Reply #67 on: April 07, 2021, 19:37:53 »
All sounds now added.  Took me all day Monday but well worth it as it adds a new. layer of satisfaction and fun to running around shooting and interacting with stuff.

Completed another couple of levels. It takes a bit of thought to complete some of the puzzle elements but they aren't too bad when you've figured it out. You'll def need a few goes  :P

A couple of closeups of parts of the new levels:

Wasps, droid sentries and a boost bottle.

http://www.steviegoodwin.plus.com/images/Untitled/WG27.png

New banshee (zombie scientists) which move like those in 28 weeks later. Not a great place to stand!

http://www.steviegoodwin.plus.com/images/Untitled/WG28.png

Offline STEVIE G

  • Hero Member
  • *****
  • Posts: 580
Re: Wuhan Gang - Virus Competition Entry
« Reply #68 on: April 11, 2021, 19:10:09 »
All AI done apart from final Bosses. Had a good laugh watching the emergent behaviour of some of the monsters and civilians. Ive made the Ai really simple but it seems to work well.  The final bosses need to have a better understanding of cover positions and line of sight.

Finalised all the tile graphics so now a bit more variety in the level look.
Added 2 new unlockable characters, one is 'La Cuckoo' a drug crazed Sicario, the other ?!

I've fully completed 11 of 15 levels.. The final and penultimate levels are complete so need a few easier levels to fill in the gaps. Should be doable in a week.

Heres some shots of the latest couple of levels.

This is the prison level. This couple have been up to no good and now need rescued  :))
Yes, you can shoot out the light bulbs but they were already off  :D

http://www.steviegoodwin.plus.com/images/Untitled/WG29.png

This is where they brew the virus and dump the waste into the water.

http://www.steviegoodwin.plus.com/images/Untitled/WG30.png

The outlet plus flashing green after drinking boost juice.

http://www.steviegoodwin.plus.com/images/Untitled/WG31.png
« Last Edit: April 11, 2021, 19:13:25 by STEVIE G »

Offline STEVIE G

  • Hero Member
  • *****
  • Posts: 580
Re: Wuhan Gang - Virus Competition Entry
« Reply #69 on: April 17, 2021, 14:26:45 »
15 levels complete.  Had a lot of fun testing them. Managed to get all the ideas I had done with lots more for a post comp version if it goes well.. Just need to re-order some of the levels and I'm all done.  ;D

Last couple of screenies ...

Pool party with a wasp infestation.  Lee is a Shaolin Monk who gets tore into enemies. He's currently demonstrating an axe kick. All food and drink can be consumed for health or other.

http://www.steviegoodwin.plus.com/images/Untitled/WG33.png

A potential new team mate but can she survive?

http://www.steviegoodwin.plus.com/images/Untitled/WG32.png
« Last Edit: April 17, 2021, 14:28:31 by STEVIE G »

Offline Qube

  • Administrator
  • Hero Member
  • *****
  • Posts: 2727
  • I mostly code at night... Mostly.
    • SyntaxBomb - Indie Coders
Re: Wuhan Gang - Virus Competition Entry
« Reply #70 on: April 18, 2021, 02:32:41 »
Looks like a lot of fun to play, looking forward to it ;D
Mac mini ( 2018 / 2020 ), 3 GHz 6-Core Intel Core i5, 16 GB 2667 MHz DDR4, 1TB NVMe, eGPU Radeon Pro 580 8 GB, LG Ultragear 27GL83A-B 27 Inch
Mac mini (2020 ), M1 SoC, 8 GB LPDDR4, 512GB NVMe 
Commodore VIC-20, 1.1Mhz MOS 6502 CPU, 5KB RAM, VIC ( 6560 ) GPU

Until the next time.

Offline Steve Elliott

  • Hero Member
  • *****
  • Posts: 3147
  • elgol
Re: Wuhan Gang - Virus Competition Entry
« Reply #71 on: April 18, 2021, 10:26:24 »
Quote
Looks like a lot of fun to play, looking forward to it ;D

Yeah me too, if you're not familar with Stevie's very low resolution games you won't appreciate how good they look when moving (rather than static screenshots).
Windows 10 64-bit, 16Gb RAM, Intel i5 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb)
MacOS Big Sur 64-bit, 8Gb RAM, Intel i5 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB
Linux Mint 19.3 64-bit, 16Gb RAM, Intel i5 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb)
Raspberry Pi 400, Pi4, BBC B, C64, ZX Spectrum

Offline STEVIE G

  • Hero Member
  • *****
  • Posts: 580
Re: Wuhan Gang - Virus Competition Entry
« Reply #72 on: April 18, 2021, 13:06:19 »

Offline RemiD

  • Hero Member
  • *****
  • Posts: 1273
Re: Wuhan Gang - Virus Competition Entry
« Reply #73 on: April 19, 2021, 07:24:05 »
intriguing graphics style, curious to play.


i wonder how you manage collisions in such a game ? (pixel intersects with another pixel ?)
DualCore AMD E-450, 1646 MHz - 6 Go DDR3 1333 SDRAM - AMD Radeon HD 6320 Graphics (384 Mo) - Windows 7 Home Premium - DirectX 11.0

Offline STEVIE G

  • Hero Member
  • *****
  • Posts: 580
Re: Wuhan Gang - Virus Competition Entry
« Reply #74 on: April 19, 2021, 07:32:24 »
intriguing graphics style, curious to play.


i wonder how you manage collisions in such a game ? (pixel intersects with another pixel ?)

Pretty much, each tile has its own collision bitmask so each pixel has up 9 properties.

If you set DEBUG = 4 in the Options.ini you can see what the game sees.
« Last Edit: April 19, 2021, 07:37:04 by STEVIE G »

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal