SyntaxBomb - Indie Coders

General Category => Game Coding Competitions => Topic started by: Qube on February 07, 2021, 02:16:50

Title: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Qube on February 07, 2021, 02:16:50
Welcome to our 12th Code a Game Competition.

(https://www.syntaxbomb.com/GameComps/Banners/SBGC-Virus2021.png)

Competition Length : February 7th 2021 to April 18th 2021 @ 23:59:59 ( GMT )

Theme : Virus.

Detailed description:

Limits :

No limitations except the time allocated to this comp \o/.

Prize fund :

The prize fund will be hidden until the end of the competition. Members are free to add to the prize fund by sending a PayPal payment to qube@syntaxbomb.com. The amount if you wish to add to the prize fund is entirely up to you and it is not mandatory to do so.

This thread will be updated with those who have donated but not the amount.

Allocation of the prize fund will be :

1st place 50%
2nd place 30%
3rd place 20%

Rules :

1.. No copyright media or modified pre-built game templates allowed.
2.. Game frameworks are allowed as are free / purchased media.
3.. Individuals and teams are allowed to enter.
4.. Provide a download with at least a Windows executable ( or link if a web browser game only ). Include other OS's too if you want.
5.. Choice of language is totally up to you. You do not have to provide the source code.
6.. One entry per person / team.
7.. SyntaxBomb has zero rights to any work posted here. You / your team hold total control.
8.. Prize to the winners payable via PayPal only.
9.. All entries must be in by 23:59:59 on the 18th of April 2021 ( GMT ). No extensions to the deadline will be granted.
10.. Games must be of a completed state and not merely a demo / proof of concept.
11.. No remakes / clones of commercial games are allowed for example Donkey Kong which may lead to copyright infringement. A game my be done "in the style of" but must use original media and not a copy in a manner to which may infringe on a 3rd party copyright.
12.. There will be a one week gap after the comp ends before voting starts to allow members to play the games and for developers to fix any bugs in their game ( no new / additional features ) and re-upload. Once voting commences then no further bug fixes can be submitted until after voting has been completed.

How to submit your game :

Game submissions must be made in this thread. You may link to your external webpage or showcase post about your game. If you have no means of hosting your game then please PM Qube and arrangements will be made.

When submitting your game please adhere to the following format ( if relevant ) :

Game Title
Download link and OS requirements
Required dependancies
Brief info about your game
Any screen shots or video's
Media information ( If using free / purchased media, please state where you obtained said media. )

How are the winners picked :

Voting will take place from Monday the 25th of April 2021 for one week and a dedicated thread will be made and relevant voting information provided.

Get coding and good luck ;D


Current donators to the prize fund :

Xerra ( donated an awesome prize )
Qube ( nothing good to say )
GaborD ( top man, thank you )
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: 3DzForMe on February 07, 2021, 09:03:34
We're under starters orders..... and, we're off ski! Go, go, go.....

Quote.   Make a game based around the theme "VIRUS". This can be anything from being based on a computer virus, zombie apocalypse, bioweapon warfare or even a global pandemic simulator. How you incorporate the VIRUS theme is up to you.       

Good luck y'all 🏁😎

I've a crazy idea that might involve bikes.... I know, might not come to fruition, its an idea nonetheless 💡
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Xerra on February 07, 2021, 14:55:34
Cripes. Interesting topical theme this time.

I had this idea in my head of a game where you're trying to escape lockdown without being brought to justice, but that seems a bit irresponsible with the seriousness of Covid.

Then I thought maybe go the other way and be the guy who's trying to prevent people breaching lockdown but that also seems a bit wrong...

Last thought was maybe being a harassed amazon driver trying to make his deliveries amid a huge backlog caused by the effects of people being locked down and having nothing else to do but order cat food online all day.

But yeah, but no. Although it could be an interesting Paperboy type of game, lol.

So, I don't know. At least we have a bit of time to come up with it this time. I'm almost expecting 3dz to finish west is best by the end of this competition :)
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: 3DzForMe on February 07, 2021, 15:18:36
Quote.... I'm almost expecting 3dz to finish west is best by the end of this competition :)     

I wouldnae get your hopes up  :))

Edit, I'd like to take my 3d cubes version of the 2d life algorhtym, try to turn it into a game might be a stretch though!
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Scaremonger on February 09, 2021, 22:48:34
I told my wife not to expect to see me much until April and I agreed to a few terms like not spending all day at the weekend working on it... Fair enough!

Yesterday evening, while sitting in front of the TV, she asked why I wasn't busy coding. I think she wanted to watch her TV stuff that I don't like. I explained that I had to come up with an idea and she went back to the TV.

This morning she surprised me by suggesting a game and explained to me how it should work. Now that's a first?

So, I have a game idea, a pass from the wife and a few sketches. Time to work out some mechanics and get coding...
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Qube on February 10, 2021, 06:49:25
@Scaremonger Cool cool, you're good to go with making a game \o/
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Qube on February 10, 2021, 17:30:14
Started making some early progress on my game \o/

Graphics are amazing too.. Squares :)) Can't beat a few squares for prototyping ;D
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: RemiD on February 10, 2021, 18:45:19
I want to participate, but i want to finish my current project first :-\

i guess that i am going to start mid march...

i already have an idea of gameplay / graphics style ;D
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: STEVIE G on February 10, 2021, 19:13:35
I want to do an action platformer. Am I ok to use some framework code and graphics I started during the 8 bit wars comp? To be clear I didn't get further than a concept in my head with a few days coding and creating some animated graphics. If not I'll try something different. Thoughts?
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Qube on February 10, 2021, 19:24:12
Quote from: STEVIE G on February 10, 2021, 19:13:35
I want to do an action platformer. Am I ok to use some framework code and graphics I started during the 8 bit wars comp? To be clear I didn't get further than a concept in my head with a few days coding and creating some animated graphics. If not I'll try something different. Thoughts?
That's OK :) It's not like you're just putting the finishing touches to an almost complete game. Also as you can use media both free and paid for then any media you've created / creating yourself is fine.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: STEVIE G on February 10, 2021, 19:54:56
Quote from: Qube on February 10, 2021, 19:24:12
Quote from: STEVIE G on February 10, 2021, 19:13:35
I want to do an action platformer. Am I ok to use some framework code and graphics I started during the 8 bit wars comp? To be clear I didn't get further than a concept in my head with a few days coding and creating some animated graphics. If not I'll try something different. Thoughts?
That's OK :) It's not like you're just putting the finishing touches to an almost complete game. Also as you can use media both free and paid for then any media you've created / creating yourself is fine.

Magic ta.  :D
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: MrmediamanX on February 12, 2021, 10:28:37
I would enter, may still do it as iv'e got an idea similar to Carrion, just base around cyber tech and software.
I need to check my calendar though. 8)
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: hosch on February 12, 2021, 14:34:36
Cool, I am hoping that I can enter this time as well!
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Scaremonger on February 12, 2021, 17:01:40
Quote from: Qube on February 10, 2021, 17:30:14
Graphics are amazing too.. Squares :)) Can't beat a few squares for prototyping ;D

I just have Circles so far and they don't do anything yet!  ???
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: 3DzForMe on February 13, 2021, 22:51:02
3d cubes blah are out.... I've another 2d esque idea coming along..... Might even be finished by the deadline.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Qube on February 14, 2021, 03:59:12
For this comp I'm trying a little something different. Not sure if it'll work out but it's fun / hair pulling to leap out of your comfort zone and see what happens :o

Having the extreme basics figured out and the game planned I've dusted the cobwebs off Cheetah3D and began putting my *cough* advanced modelling skills *cough* to work.

The game will have a cartoon look to it and hopefully if I keep the models simple enough I'll have plenty of time for coding and gameplay tweaking.

I did manage to finish off a model tonight \o/ - In game it'll be pretty small and so it'll fit the overall cartoony look.

Low-res in game :

(https://www.syntaxbomb.com/images/vcar-00.png)

Hi-res not in game :

(https://www.syntaxbomb.com/images/vcar-01.png)

I'm going for the cartoon look as there is no way my bodge it and splodge it 3D skills could approach anything realistic :))
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: RemiD on February 14, 2021, 10:23:35
my current inspiration is a 3d shooter in plasma tubes (blood) ;D
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Dabz on February 14, 2021, 10:36:23
Quote
I'm going for the cartoon look as there is no way my bodge it and splodge it 3D skills could approach anything realistic

To be fair like, I thought that was the average style for a car over there on Ireland! :D hehehe Very lepricorny :D hehehe

Dabz
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: 3DzForMe on February 14, 2021, 13:27:21
Quotemy current inspiration is a 3d shooter in plasma tubes (blood) ;D 
Intriguing.....

@Qube - love the smooth effects cheetah can mold the low poly cars with.  Will you have a 'streamlined' variant that'll have a little more top speed, coz of the lower drag co-efficient obvs?
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Steve Elliott on February 14, 2021, 13:35:39
Nice low poly work, you might want to take some inspiration from Stevie's game:

https://stevieg.itch.io/polymaniacs
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Qube on February 14, 2021, 22:13:15
QuoteTo be fair like, I thought that was the average style for a car over there on Ireland! :D hehehe Very lepricorny :D hehehe
It is, that's my car that I use to buy potatoes ;D

Quote@Qube - love the smooth effects cheetah can mold the low poly cars with.  Will you have a 'streamlined' variant that'll have a little more top speed, coz of the lower drag co-efficient obvs?
In cartoon land there are no rules :P

QuoteNice low poly work, you might want to take some inspiration from Stevie's game:

https://stevieg.itch.io/polymaniacs
I definitely need all the inspiration I can get. Not even sure yet if the idea I have is doable in the time-frame but will know by the end of this week if I have to slam the breaks on and have a rethink.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Derron on February 15, 2021, 08:05:20
Quote from: Qube on February 14, 2021, 22:13:15
In cartoon land there are no rules :P

There are rules but you can literally bend them :)
and there is another one ... all explosives are produced by ACME.


bye
Ron
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: RemiD on February 15, 2021, 08:07:04
QuoteNot even sure yet if the idea I have is doable in the time-frame but will know by the end of this week
maybe a clue ? (of the gameplay)
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Qube on February 15, 2021, 16:28:34
Quote from: RemiD on February 15, 2021, 08:07:04
QuoteNot even sure yet if the idea I have is doable in the time-frame but will know by the end of this week
maybe a clue ? (of the gameplay)

The basic idea of the game is : Set in a cartoon environment and you ( driver of a car ) have to do certain tasks in order to stop viruses being released. The play world is going to be pretty large and you'll have X time per task leading ultimately to stoping the evil mastermind behind it all saving the world.

Sounds pretty simple but I want the gameplay to be fun yet challenging which no doubt will take a lot of tweaking. Plus lots of modelling to do, world building and coding it all up. Not sure how much free time I'll have but I'm gonna give it a good go.

*EDIT* - The car shown above has been thrown out the window as my modelling skills have improved a little bit more since messing around ;D

Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: RemiD on February 16, 2021, 10:36:52
Quoteyou ( driver of a car ) have to do certain tasks in order to stop viruses being released. The play world is going to be pretty large and you'll have X time per task leading ultimately to stoping the evil mastermind behind it all saving the world.
your description remind me of this game :
youtube.com/watch?v=vLGDOttXC7s
(very fun to play !)
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: 3DzForMe on February 16, 2021, 22:20:23
Quote.
*EDIT* - The car shown above has been thrown out the window as my modelling skills have improved a little bit more since messing around ;D     
....

Cue.... Slipstreamed variant?
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Qube on February 17, 2021, 03:39:28
Quoteyour description remind me of this game : youtube.com/watch?v=vLGDOttXC7s (very fun to play !)
He he, looks pretty fun to play. Never seen that game before.

QuoteCue.... Slipstreamed variant?
Whole new design ;D
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: STEVIE G on February 17, 2021, 16:37:18
Show us the new car Qube?!  ;D

I've been working on my action platformer - mainly graphics / tiles and whatnot. I'm being quite ambitious with this as never done a platformer so lots to learn and study. One thing I've learned after a few tests is that collisions are a bit of a c^nt! Today I've been working on a couple of characters.and animations. There will be lots of animation as I want them to walk, run, climb, shoot, crawl, jump, hang, idle, be hurt and die of course.

Anyway, a quick look at the main characters pixel art. These are the guys you call on when shit goes south!  :P

Not sure if these pics will show up, do they need to be http urls?

Hawk - a bare foot reprobate with a pink mohekan

(https://www.syntaxbomb.com/images/SG/BH15.png)

Fro - a big haired cool dude with red sneakers

(https://www.syntaxbomb.com/images/SG/BH16.png)

Yes that is a broken bottle  ;)
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Steve Elliott on February 17, 2021, 16:41:11
Loving the retro pixel art...Bad ass lemmings...And yes pixel correct collision has to be spot on or you're gonna get complaints.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: STEVIE G on February 17, 2021, 17:02:29
Quote from: Steve Elliott on February 17, 2021, 16:41:11
Loving the retro pixel art...Bad ass lemmings...And yes pixel correct collision has to be spot on or you're gonna get complaints.

I've been developing a character system where each body parts and gun can be rotated  independently to make an animation pose and spit multiples out as animation. It saves a ton of time and looks anatomically correct (when you squint) . It also produces a different left facing view automatically as the gun is in your left hand. Having fun making idle animations, foot tapping, tantrum with headbanging, yawning and shooting gun in air. Will post some gifs when I'm done.  ;D
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Steve Elliott on February 17, 2021, 17:05:57
Quote
Having fun making idle animations, foot tapping, tantrum with headbanging, yawning and shooting gun in air. Will post some gifs when I'm done.  ;D

Every game requires them.   ;D
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Xerra on February 17, 2021, 18:42:16
Definitely spend a bit of time getting the collisions right. I fucked them royally up in Damnation Alley and they were also pretty poor in my last game.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: STEVIE G on February 17, 2021, 22:20:23
A wee gif of idle animations I've been playing around with.

(https://www.syntaxbomb.com/images/SG/Idle.gif)
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Qube on February 17, 2021, 23:01:00
Quote from: STEVIE G on February 17, 2021, 22:20:23
A wee gif of idle animations I've been playing around with.
Love it ;D you definitely are top notch with animating pixels

Quote from: STEVIE G on February 17, 2021, 16:37:18
Show us the new car Qube?!  ;D
Not quite finished yet though and will be adding tread to the tyres and bits to the wheel hubs so they can be seen steering and rotating.

This time I've kept every element of the model so it'll be much easier to adapt it for other vehicles \o/

(https://www.syntaxbomb.com/images/vcar-00New.png)

** Forgot to add that the design was inspired by the look of Keeny's low poly cars but are half the poly count.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Dabz on February 18, 2021, 06:02:29
Oh oh oh, that looks nice... Dont you dare smooth it out mind, or I'll shake my fist in the general direction of Ireland! :P

Dabz
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Qube on February 18, 2021, 06:14:52
Quote from: Dabz on February 18, 2021, 06:02:29
Oh oh oh, that looks nice... Dont you dare smooth it out mind, or I'll shake my fist in the general direction of Ireland! :P
Northern Ireland! Northern Ireland! Northern Ireland!  ;D

No smoothing for the low poly stuff or it just looks... wrong :))
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: iWasAdam on February 18, 2021, 11:38:47
not sure if I'll get something ready for this one. maybe use the recent car stuff and do a dirty 8bit mutant GTA?  :-X
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Dabz on February 18, 2021, 15:12:14
Quote
Northern Ireland! Northern Ireland! Northern Ireland!

Aye, I know, lol, just me being idle! ;)

Dabz
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: BasicBoy on February 18, 2021, 16:22:49
How I wish I had the time to enter this compo! I really like the theme.  :(
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Xerra on February 18, 2021, 17:43:41
Quote from: BasicBoy on February 18, 2021, 16:22:49
How I wish I had the time to enter this compo! I really like the theme.  :(

Make the time then, mate. You still have two months.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Qube on February 19, 2021, 15:12:28
Got me car all set up and have it moving with the wheels rotating and turning \o/

Physics of the car seems pretty ok and will do for more but will need tweaking. Wheel colliders are a right pain to get right and I've still to get it to turn and slide correctly depending on speed.

Good frustrating fun though. At least the way I'm doing it it'll be super easy to add to other cars for when I get around to the AI and multi wheel vehicles like trucks etc.

Hopefully I'll get all the issues sorted out and I'll post a little demo over the weekend.

Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Steve Elliott on February 19, 2021, 16:09:39
Progress!  Cool.  What are you using for the 3D, AGK or Unity?
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Qube on February 19, 2021, 20:44:27
Quote from: Steve Elliott on February 19, 2021, 16:09:39
Progress!  Cool.  What are you using for the 3D, AGK or Unity?
I was going to use AGK but even getting a 3D model + textures into it isn't as straightforward as it should be. Unity on the other hand I can drop a model into the assets, couple of clicks to sort the materials out and that's it. No further messing required.

As I've not done much coding yet I might revisit the 3D side for AGK over the weekend but I don't want to fight with each model individually. Perhaps I can streamline the process.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: blinkok on February 20, 2021, 00:31:33
This will take 3D .obj/.mtl files and generate a texture palette that you can SetObjectImage() to colour you model (https://forum.thegamecreators.com/thread/223393)
It was designed to colourize Kenney models but it should work with any .obj format tha uses colours in a .mtl file
It is designed to process all files in a folder so for the input navigate to the folder and enter "x" in the filename
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Qube on February 20, 2021, 01:59:28
Quote from: blinkok on February 20, 2021, 00:31:33
This will take 3D .obj/.mtl files and generate a texture palette that you can SetObjectImage() to colour you model (https://forum.thegamecreators.com/thread/223393)
It was designed to colourize Kenney models but it should work with any .obj format tha uses colours in a .mtl file
It is designed to process all files in a folder so for the input navigate to the folder and enter "x" in the filename
Thanks, will take a nosey over the weekend. Cheetah3D can export .obj with .mtl files. Not sure if I'll change over to AGK for this project as I'd need to write a 3D editor of some form which I doubt I'd have time to do. No way would I be coding a 3D play world line by line, that'd be torture :o

If the app makes the models I've made easier to get into AGK then I'll stick a 3D editor on my todo list for addition to my joy joy framework \o/
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Scaremonger on February 20, 2021, 11:06:13

I have named my entry "Virux" and its being coded in BlitzMax-NG without any additional libraries.

I've drawn most of the graphics including two font sizes and got the Splash/Lobby/Help/Play screens working. The play state has a pause, three lives, a score counter and collision detection so I'm pretty much done with the core mechanics.

Next step is to get the AI behaviour working properly and add audio.

I've attached an image containing the main antagonist...

Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Xerra on February 22, 2021, 00:00:10
As you can see from my awesome attached screenshot of my games current title screen, I have started.

I had a big idea for something that I was discussing with blinkok but it's just way too ambitious for me to pull that off in two months, so I'm going back to basics to start with then I can see how much I can expand on it. That's all I'm saying for now apart from it may also involve mini-games as well as the main game.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Qube on February 22, 2021, 01:49:52
Some sterling work going on there folks ;D
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: 3DzForMe on February 22, 2021, 12:48:04
@Xerra, you forever go the extra mile.... I managed a paper prototype at the weekend, however the jury is out on its appeal as a 'game'. Bethesda are already quaking in their boots 😁

@Scaremonger, love your protagonist! It's alive, pulsing away.... Ready to spread....
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: iWasAdam on February 22, 2021, 13:55:20
Quoteway too ambitious for me to pull that off in two months
Nah - start small and work your way towards it...

I'll say it again (and probably again later), go back to the 80's and primitive games. They have playability over graphics. learn what they did and how they did it and then add your flair on top of their bones :)

You can do it...
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Xerra on February 22, 2021, 18:33:08
Quote from: iWasAdam on February 22, 2021, 13:55:20
Quoteway too ambitious for me to pull that off in two months
Nah - start small and work your way towards it...

I'll say it again (and probably again later), go back to the 80's and primitive games. They have playability over graphics. learn what they did and how they did it and then add your flair on top of their bones :)

You can do it...

I am doing this. So tempted to show you another screenshot which would give away the first part of the game straight off. I'll give you a clue, erm, 1983.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: 3DzForMe on February 23, 2021, 18:33:24
Quote. I am doing this. So tempted to show you another screenshot which would give away the first part of the game straight off. I'll give you a clue, erm, 1983.     

Paperboy dodging viruses delivering his papers, doo, doo, doo, diddoo, doot..... The tunes flooding back already.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: STEVIE G on February 24, 2021, 17:40:49
Is Wu Han Gang too controversial a title?  :D
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: blinkok on February 25, 2021, 01:27:52
Nah. Just make sure there's lots of toilet paper ;-)
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Xerra on February 25, 2021, 18:28:49
Quote from: STEVIE G on February 24, 2021, 17:40:49
Is Wu Han Gang too controversial a title?  :D

Hahah, I think its great. Stick with it :)
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: RemiD on February 27, 2021, 19:16:51
so how do you guys proceed to make a game ?

my approach :
-define vaguely what will be the world, components, gameplay, possibilities, controls, ai...
-search for more infos and illustrations about the subject, the world, the components
-create basic prototype with essential gameplay and simple shapes and colors
-test and add/remove/mod components, gameplay, possibilities until it "plays well"
-improve shapes, colors, animations, sounds until it "looks and sounds" good
-add a way to configure controls
-add title, presentation, help, thanks ("credits"), screens

(i am stuck at step 1-2  ^-^)
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Xerra on February 27, 2021, 21:54:18
I start with background framework usually. Just setting up the scenes, game state, ripping out any code that is re-usable, such as gamepad functions.

Setting up the baritone background scene with collision blocks where elements will be, such as platforms, just so I can get the player object in place and get controls right.

After that I'll base-build all the background screens for the game, or build the big scrolling screen with placeholder graphics and stuff so I can get end of levels stuff.

Transition between title, game, game-over, basic win screen all in place so bare shell of whole game is in place and can be run through.

Gui stuff like basic hud set up and debug stuff like having an overlay to display info for working out bugs etc. Usually I'd implement GML (live update system) at this point as well, so I can update the game code and see changes straight away, without needing to recompile.

I'll usually be looking around for graphics and audio stuff by this point and have a reasonably good idea where the game is going. I'd also have a huge todo list and have started ticking bits off as I do them and probably not be looking to add too much more. I did badly on this with the last game because blinkok had so many good ideas that I just had to keep adding them, and couldn't do it all good enough.

Bad guys, background moving elements and AI stuff next.

Scoring and making collisions work, implementing lives, anything like high score system, if being used.

All the graphics stuff gets changed to whatever I'm using.

Audio added.

Title screen menus or other system that controls the bits I always have in my games such as sound toggles and full screen option.

Get as many of my friends as I can to test it.

If I'm having a credits screen or something like that then I'll add it now because I've always had someone else doing something in my games and like to credit people for their work.

Polish as much as possible with time I have left. It would need to be something really cool to get me to add it right at the end as it might not fit well with everything else that's been done.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: RemiD on February 28, 2021, 09:57:12
@Xerra>>
interesting

i forgot to mention testing on different OS / computers, before release.


personally i create separate templates for each gameplay element / component / graphics effect, but coded in a way that i can then assemble together in the final program (examples : turn move detect collisions and reposition, pickup items / use, hidden surface detection and culling, lighting /shading, particles, glow effect, reflections effect, artificial intelligence, HUD, program states game states, help screen, etc...)
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: iWasAdam on February 28, 2021, 10:46:39
@RemiD
OK. Let's take your situation apart and see if there is a solution.
first some question you ned to ask yourself:

1. Have I made a completed game before? I am going to assume a hesitant no.
2. Have you attempted to make a game before? I am going to assume a hesitant yes

3. WHY did you NOT complete this game?

The answer to question 3 is the key.

Lets assume a few scenarios:
1. you started a huge rpg, but it was just too big
2. you started a pacman clone, but couldn't make the ghosts move
3. you have made input routines, and score systems, but can't think what to do with them
4. you have lovely pictures but how do you make a game with them, etc

You say you get stuck at:
-define vaguely what will be the world, components, gameplay, possibilities, controls, ai...
-search for more infos and illustrations about the subject, the world, the components

Then DONT DO ANY OF THAT.
Pick a simple game - breakout for example, space invaders - Something very basic and simple.

write the basic game - maybe just using drawrect and different colors.
Get it to work and then write a title screen and a menu where you can define keys
finally put in a win / loose situation, that then loops back to the menu

Get it all to work. you will soon see where you are failing and where you need better experience.

Once you have the basic game menus, etc, you can then use this prototype as the core of your game. make everything a bit better. use that as your first test.
Next improve how thing operate - keep it simple, add some flare and love into things, but try to think of everything as a whole. The menus are part of the game so give them love too

Don't bother about sound - leave that alone. a silent game that works is much better than a good game with horrible sound.
You can even just use basic bleeps and pings. Dont go a buy orchestral soundtracks for your retro game - it will sound crap and look wrong.

Have an idea in your mind of a game you like (SIMPLE GAME) and try to replicate it, maybe change the graphics or setting.
How about pacman but with cars - you are the police, you have to chase thieves round a maze... or you are the robber being chased by the police you get a gun and you can chase the police... etc

Work out what you can and can't do:
2d is simpler than 3d
what catches your eye
easy to play hard to master...

Last thing - Get inspired - watch youtube, play games, go down an indie rabbit hole. see what others are doing.

Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: RemiD on February 28, 2021, 11:03:04
1. yes, 2
2. yes, many
3. lack of free time or motivation because of real life issues (lack of money, so need to work to earn money, not make/play games all day long...)

QuoteYou say you get stuck at
currently, not tomorrow, ;-)

i have the basic ideas of the gameplay / possibilities, and illustrations, i am going to simplify a lot compared to what the reality truly is (cells and microbes which fights in blood pipes, similar to a space shooter but in blood)

my question was not "teach me how to make a game" but "what is your process to make your game"

also i am not interested to make many primitive games. each his own approach...

your advices to focus on the essentials is a good reminder.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: iWasAdam on February 28, 2021, 11:23:27
BEWARE
Quotealso i am not interested to make many primitive games. each his own approach...

most new games are really just old game with a fancy new look. Almost every FPS is really a topdown flat 2d shooter.

GTA 5 is (at it's heart) just a reskinned GTA1. And GTA 1 is really just a top down maze chase.

But to try and create GTA 5 thinking only in 3d with high polygon/texture/model counts with full animation, etc and you will fail hard. Think about the data, the basic game play as gta1 or even better a SIMPLE MAZE game. and you will at least begin to think you could write something similar.

The biggest issues with most devs is scale - they only think big and then fail.

Think small, think gameplay, think grab the user and make them WANT to play again ;)

I'm not saying your game has to be simple, but I am saying 'learn' how to make a great small game and build from it.

Go back to 1978 and 1980 and look at which games were hits and work out why.

Think you can do 3d. then do 3d without using any graphics card commands - write the 3d routines yourself. You will soon learn what can be done and what might make your approach stand out ;)
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Xerra on February 28, 2021, 11:46:34
Making primitive games is the best way to learn both the discipline to get a game done and also for coding fundementals that will help you so much as you go on to the more advanced stuff. I can't believe you'd dismiss that idea as not interesting to yourself, remid?

Whenever I had even the most basic idea for a game as a teenager my first approach was always to jump on the computer and just start working on it before I'd even given it more than 10 mins or so of actual proper thinking. Of all the games I ever started - I'd estimate around 200 or so - I think I probably got to some stage of completion on maybe 10%.

Every game can be broken down into very basic elements at the core. A lot of complex 3d games are probably working off a simple 2d map system and just drawn 3d, for example. Things like basic AI, control systems and a solid game idea are far more important than a massive 3d world that's taken 5 years to build and is used to play a dog shit game that's no more complex than breakout.

Graphics are hugely important at the end, but it's just window dressing if your game hasn't been worked out properly right from the start, and is a solid idea. The old games had no choice but to get that right as they had nothing else to sell themselves due to the technology of the time. Even new gamers who weren't around in those glory years are aware when a game stinks and they've just bought it based on how it looked on the box. And you can't get away with that now anyway due to YouTube playthroughs and the public having the ability to review games themselves.

There's no downside to looking at the older games for the perfect example of how to get it right, I think.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Qube on February 28, 2021, 13:25:22
Thought I'd throw in a couple of very early screenshots ;D

Not much to see yet but I have the overall style / atmosphere I'm aiming for of a nighttime cartoony type environment.

Got loads of 3D modelling and coding to do but having a lot of fun with this one :))

"They thought the pandemic was over.. They were wrong. In a sleepy village town, not far from where you are, it hid, it waited, it evolved. Now able to control both man and machine you are tasked with finding the mystery of this mutation and overseeing it's destruction once and for all. Welcome to Virus Valley"

(https://www.syntaxbomb.com/images/VirusValley/VV01.png)

(https://www.syntaxbomb.com/images/VirusValley/VV02.png)
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: iWasAdam on February 28, 2021, 14:10:24
oooh - purdy...

I got a name: Retroviron
I've even got an idea: it's 1950 and those pesky test tubes need cleaning! Shrinky-dinky where's the plasma bombs!
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Steve Elliott on February 28, 2021, 15:58:10
Cute 3D cartoon graphics - very nice.   8)
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Scaremonger on February 28, 2021, 18:22:34
@Qube

OMG! - Thats awesome and I'm looking froward to playing it already!
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: blinkok on February 28, 2021, 21:29:32
Very nice qube.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: RemiD on March 02, 2021, 08:46:28
@Qube>>colorful and nice lighting shading.  :)


@Adam and Xerra>>
i am still coding because i am interested in solving technical problems, and achieving results, i find it rewarding to make it work.
but i am not interested in making/playing games for hours anymore, i did that a lot when i was younger. it is a waste of time imo.

in this case the theme "virus" is not purely fiction/fantasy, so yes i am interested.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: 3DzForMe on March 02, 2021, 09:04:51
@qube, love the graphical style. Some interesting submissions already in this compo  :D
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: iWasAdam on March 02, 2021, 11:43:18
Changed the name but now got a concept
https://www.syntaxbomb.com/index.php/topic,8349.msg347048486/topicseen.html#new (https://www.syntaxbomb.com/index.php/topic,8349.msg347048486/topicseen.html#new)

(https://vjointeractive.files.wordpress.com/2021/03/screenshot-2021-03-02-at-11.27.01-1.png)
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: STEVIE G on March 02, 2021, 16:00:53
I count at least 6 cracking looking entries so far  ;D   Game on  :P
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Xerra on March 02, 2021, 16:27:37
Quote from: iWasAdam on March 02, 2021, 11:43:18
Changed the name but now got a concept

Nebulus meets Donkey Kong?

Get it done, dude. Oh and let us have a play on the racing game while you're at it :)
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: 3DzForMe on March 02, 2021, 17:15:05
@iwasadam, loving the 3d tower look.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: STEVIE G on March 02, 2021, 19:33:04
Quote from: iWasAdam on March 02, 2021, 11:43:18
Changed the name but now got a concept
https://www.syntaxbomb.com/index.php/topic,8349.msg347048486/topicseen.html#new (https://www.syntaxbomb.com/index.php/topic,8349.msg347048486/topicseen.html#new)

(https://vjointeractive.files.wordpress.com/2021/03/screenshot-2021-03-02-at-11.27.01-1.png)

That looks great, don't change the chunky pixel aesthetic!
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Steve Elliott on March 02, 2021, 21:20:24
Quote
@iwasadam, loving the 3d tower look.

Yeah the tower looks very solid.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Scaremonger on March 07, 2021, 17:17:07
Hey @Qube,

Is there a SyntaxBomb logo we are allowed to use within our games?

I'd like to resize it to fit and stick it on my Splash screen.
Si...
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Xerra on March 07, 2021, 17:56:54
These should help you out.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Scaremonger on March 07, 2021, 21:45:55
Quote from: Xerra on March 07, 2021, 17:56:54
These should help you out.

Cool, Thanks.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Qube on March 15, 2021, 01:55:10
Quick update of WIP ;D

(https://www.syntaxbomb.com/images/VirusValley/VV03.png)
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: 3DzForMe on March 15, 2021, 11:05:21
Wow, the street lights are still on at gone the witching hour, looking pretty sweet!
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: STEVIE G on March 15, 2021, 11:34:46
Looks great. Is that a sepia tone?
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Qube on March 15, 2021, 16:41:25
Quote from: STEVIE G on March 15, 2021, 11:34:46
Looks great. Is that a sepia tone?
All the models are being done using 10 levels of grayscale + 2 for emissions where needed. It's not a sepia effect just changing the tone in-app to a sepia looking colour. Moving models will be in colour just for fun :))
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: 3DzForMe on March 17, 2021, 12:17:55
Not saying I'm 'in' just yet - the old clock ticks every forwards.

However - this example slice of AGK code should let me load my protagonists into a nice little array, first steps from what is just a Paper Prototype.... for now!  :o

link: --https://www.appgamekit.com/documentation/guides/arrays_002.htm (https://www.appgamekit.com/documentation/guides/arrays_002.htm)







Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Qube on March 24, 2021, 01:06:00
Welcome to my very first attempt at character modelling :))

Unbelievably this took me two bloody days to model and rig :o I thought it would take about an hour or so but doing a 3D model and rigging it was a lot more work than I thought especially as I've never ventured into this area before.

Luckily it animates far better than I thought it would and all the joints move as expected. In game it'll ( multiple of ) be quite small so super detail is not needed.

Pretty basic stuff for any 3d modellers / riggers amongst us but as a first try and despite the stupidly long time to do, it turned out just about OK in the end. Lots learned so can only improve for next time \o/

(https://www.syntaxbomb.com/images/VVBob01.png)
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: blinkok on March 24, 2021, 02:37:41
Have you tried using mixamo to rig it?
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Qube on March 24, 2021, 10:05:27
Quote from: blinkok on March 24, 2021, 02:37:41
Have you tried using mixamo to rig it?
I used Cheetah3D as that's what I do modelling in and as no doubt I'll be doing non humanoid characters ( someday ) I thought I better at least learn the basics.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Derron on March 24, 2021, 11:11:46
You could open your model in blender and use "sculpt mode" to push and pull the vertices around in a rather pleasant way (without altering polycount or so).



bye
Ron
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Steve Elliott on March 24, 2021, 11:18:27
Quote
Pretty basic stuff for any 3d modellers / riggers amongst us but as a first try and despite the stupidly long time to do, it turned out just about OK in the end. Lots learned so can only improve for next time \o/

Good job!  I've not tackled that either so I can imagine it being a time consuming faff if you don't know what you're doing.  The animation of a 3d rigged character can look very impressive, so with what we've seen of your game so far it's looking promising.  Just need the gameplay to match-up now then.   :)
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Qube on March 24, 2021, 14:13:38
Quote from: Derron on March 24, 2021, 11:11:46
You could open your model in blender and use "sculpt mode" to push and pull the vertices around in a rather pleasant way (without altering polycount or so).
Cheetah3D has that ;D

Quote from: Steve Elliott on March 24, 2021, 11:18:27
Good job!  I've not tackled that either so I can imagine it being a time consuming faff if you don't know what you're doing.  The animation of a 3d rigged character can look very impressive, so with what we've seen of your game so far it's looking promising.  Just need the gameplay to match-up now then.   :)
Never fear, the gameplay is the most important and I've spent quite a while tweaking things. It's a blast ;D. What others make of it is a different story though :))
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: iWasAdam on March 24, 2021, 15:03:28
Rigging is always something I'd love to get into, so kudos for getting it sorted ;)
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: blinkok on March 24, 2021, 21:41:53
Mixamo couldn't be simpler. Just upload your model, tell it were the joints are and the type of hand and wala! Done
You can then download a rigged t-pose in a couple different formats
(https://www.syntaxbomb.com/index.php?action=dlattach;topic=8302.0;attach=4432;image)
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Qube on March 25, 2021, 01:29:33
Handy to know :)
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Scaremonger on March 25, 2021, 21:43:49
Apart from a menu to select which Game controller you want to use (Assuming you have more than one); my game is complete and my kids have started play-testing it today.

Is it too early to post links, or should I hold back until everyone is finished?
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Baggey on March 28, 2021, 12:05:35
Watching from the sidelines in Aw  :o.

Wish my coding was good enough to get a game going. Would it be possible for people to mention what programs thier using to code with, to make these game's in?

Kind Regards Baggey
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Scaremonger on March 28, 2021, 12:44:38
Virux is coded in BlitzMaxNG without any additional mods or libraries.

I have hand-drawn all the graphics, generated the sound effects in SFXR (Android) and composed the music at beepbox.co (https://www.beepbox.co/).

Links to the latest version are available in my worklog (https://www.syntaxbomb.com/index.php/topic,8340.0.html).

Si...
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Xerra on April 01, 2021, 21:39:25
I think I'm probably out for this competition now. I've been sorting stuff for the last three weeks ready for the big moving house this weekend and there's still so much stuff to do I probably won't get much computer time for another week or more. Maybe I'll surprise myself but it looks unlikely as my game isn't much further along than the video I showed a while back.

On the bright side, though. Working from home is likely to continue pretty much indefinitely now, with the recent role change, so I'm giving up the hell that is west London for the lovely views in Devon :)
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: 3DzForMe on April 01, 2021, 23:12:01
Quote.On the bright side, though. Working from home is likely to continue pretty much indefinitely now, with the recent role change, so I'm giving up the hell that is west London for the lovely views in Devon :)   

Happy Days! My games struggling to get off the paper prototype, assetto corsa s to blame a bit there tbh 🏁
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Qube on April 02, 2021, 01:38:41
Quote from: Xerra on April 01, 2021, 21:39:25
I think I'm probably out for this competition now. I've been sorting stuff for the last three weeks ready for the big moving house this weekend and there's still so much stuff to do I probably won't get much computer time for another week or more. Maybe I'll surprise myself but it looks unlikely as my game isn't much further along than the video I showed a while back.
Nooooo! keep at it. Scale back if you need to. Remember how simple but addictive games like Pac-Man and Space Invaders are. Whip something up, it's the law ;D
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: RemiD on April 03, 2021, 10:03:49
QuoteWould it be possible for people to mention what programs thier using to code with, to make these game's in?
coding : blitz3d
modeling, rigging, skinning, animation, uvmapping : fragmotion
drawing textures : photofiltre 7 and proceduraly (with blitz3d)
editing sounds : wavepad
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: iWasAdam on April 03, 2021, 11:46:30
I use my own tools (which can be found here)
https://adamstrange.itch.io (https://adamstrange.itch.io)

the core tools are the fontsprite editor
(https://img.itch.zone/aW1hZ2UvMTAyNTM0LzUzMzE1Ni5wbmc=/original/48wweA.png)

the map editor:
(https://img.itch.zone/aW1hZ2UvMjAzNDc4Lzk1MTE2MS5wbmc=/original/i1GwVp.png)

and for sound I use QasarBeach:
(https://img.itch.zone/aW1hZ2UvNTQwMjcwLzQ4NTQ2MzAucG5n/original/sAAFal.png)

I also use my own 3d editor which is not available!

Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Qube on April 04, 2021, 07:27:38
QuoteWould it be possible for people to mention what programs thier using to code with, to make these game's in?
Mostly use AGK for 2D and dabbling with Unity for 3D. In AGK I use my own framework for all things 2D including level editor.

Apps used ( in no particular order or used for each game ) are PhotoShop, Cheetah3D, Daz Studio, Renoise ( with various VST's ), TexturePacker, TimelineFX, Art Text, Audacity, bmGlyph and Screenium for capturing videos.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Scaremonger on April 08, 2021, 18:39:50
12th Code a Game Competition "Virus" Entry
(https://www.dropbox.com/s/blhs2zxwy8bc4cf/logo.png?dl=1)

A deadly virus has evolved in an asian marketplace and caused a worldwide pandemic.
Your country is in quarantine and has legally enforced a limited curfew called 'The Lockdown'.
How long can YOU evade the Virus and the Lockdown Marshals?

(If it hadn't happened you would think the above was just a storyline)

NAME: VIRUX

DOWNLOAD:
* Linux (https://www.dropbox.com/s/m66otjtlnz47iee/virux-1-2-23?dl=1) - Version 1.2.23
* Windows (https://www.dropbox.com/s/kph2rigdt81i489/virux-1-2-14.exe?dl=1) - Version 1.2.14

DEPENDENCIES:
* Face Mask
* Anti-Bac

INFORMATION:
Virux is a maze game where you control a character who must evade the Virus and the Lockdown wardens; collecting Vitamins, Face Masks and Anti-Bac to survive each level.

It was coded in Blitzmax NG on Linux Mint with no external libraries.

FEATURES:
* No installation required, just download and run!
* Supports Keyboard and USB Gamepad
* Built-in Tutorial
* Customisable keys
* Moody background music

Please wash your hands with Soap and Hot water for 20 seconds after playing this game.

SCREEN-SHOTS:
(https://www.dropbox.com/s/qs34yncpzg0c2uo/Lobby%20Screen.png?dl=1) (https://www.dropbox.com/s/1pgnl0lkyto2qq7/Hall%20Of%20Fame.png?dl=1) (https://www.dropbox.com/s/pvvzownp85epjtp/Level%201.png?dl=1)

MEDIA:
- Graphics drawn by me.
- Fonts drawn by me.
- Maps created by hand by me.
- Sound effects created in SFXR on Android, saved as WAV files and imported.
- Music composed at beepbox.co (http://beepbox.co).

TIPS:
* Hold a key down when moving and you will go in that direction at the next junction
* You CAN outrun the Warden
* You can kill the Virus when they are flashing
* The Warden will return to his post when you collect a Mask
* Press F11 to loop around the different screen modes until you find one you like.

Hope you guys have as much fun playing it as I had in writing it. Please post your high score table :)

Si...
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: 3DzForMe on April 10, 2021, 12:14:09
Virux looks good, will try after filling the skip (garden chores....)

Over a week left, oodles of time for an entre '
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Steve Elliott on April 10, 2021, 12:40:14
Neat game, but no gamepad control, just start and return??

And a fullscreen option would be good because the window is quite small.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Scaremonger on April 10, 2021, 19:41:55
Quote from: Steve Elliott on April 10, 2021, 12:40:14
Neat game, but no gamepad control, just start and return??

And a fullscreen option would be good because the window is quite small.

If you can configure the Gamepad, then it has already been detected. Did you try it in the game?

I was playing with the fullscreen version a few weeks ago and the graphics looked awful when scaled up. Maybe I will re-address that.

Thanks for the feedback.
Si...
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Steve Elliott on April 10, 2021, 19:59:22
Quote
If you can configure the Gamepad, then it has already been detected. Did you try it in the game?

Yes I configured keyboard controls no problem, but Gamepad only gave me 2 options - to start the game and return (no directions).  So I could start the game with the Gamepad but could not control the character.

Quote
I was playing with the fullscreen version a few weeks ago and the graphics looked awful when scaled up. Maybe I will re-address that.

The graphics look sharp running in a 1920 X 1080 screen, but obviously the graphics are small even in a 1080p mode (rather than a 4K mode).  For the type of retro game this is then it's expected to see some pixels - embrace it lol.   :D
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: metamorpho on April 11, 2021, 16:41:26
Hello everybody!!

For the competition "Virus" I made a game about a virus. The game is ready.
Can I, with this game, take part here (at the Syntaxbomb competition "Virus") and also in other contests, on other sites that run in parallel in time?
This is not prohibited in the rules of the competition (nothing is written about it), but just in case I want to know.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Scaremonger on April 12, 2021, 19:36:37
Quote from: Steve Elliott on April 10, 2021, 19:59:22
Yes I configured keyboard controls no problem, but Gamepad only gave me 2 options - to start the game and return (no directions).  So I could start the game with the Gamepad but could not control the character.
I fixed the issue which turned up a little surprise. Unknown to me, my laptop contains a gyroscope that had been detected as Joystick 0 and the USB Game controller had been detected as Joystick 1. I had coded it thinking that 0 was not a valid joystick, but if you don't have a Gyro, the USB will be zero and I have ignored it. I just had some fun playing it by tilting my laptop... he he...

Quote from: Steve Elliott on April 10, 2021, 19:59:22
The graphics look sharp running in a 1920 X 1080 screen, but obviously the graphics are small even in a 1080p mode (rather than a 4K mode).  For the type of retro game this is then it's expected to see some pixels - embrace it lol.   :D

I've added Function key F11 to toggle the graphics. Just keep pressing it until you find a mode that you like.
(It looks a bit weird on a wide screen monitor because the aspect ratio is messed up, but it's playable).

I've updated my game post with the new version, but duplicated them here:
* Linux (https://www.dropbox.com/s/m66otjtlnz47iee/virux-1-2-23?dl=1) - Version 1.2.23
* Windows (https://www.dropbox.com/s/kph2rigdt81i489/virux-1-2-14.exe?dl=1) - Version 1.2.14
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Steve Elliott on April 12, 2021, 19:59:02
Good job!  A fullscreen, back in the 80's the computers couldn't manage it, but this looks great.   ;)

The music reminds me of Blade Runner (which bumps it up so many notches IMO) and the controls now work on analogue stick 1, a bit strange (a D Pad seems more appropriate).
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Derron on April 12, 2021, 20:49:57
Quote from: metamorpho on April 11, 2021, 16:41:26
Hello everybody!!

For the competition "Virus" I made a game about a virus. The game is ready.
Can I, with this game, take part here (at the Syntaxbomb competition "Virus") and also in other contests, on other sites that run in parallel in time?
This is not prohibited in the rules of the competition (nothing is written about it), but just in case I want to know.


the rule is to take part with a game you did not start months ago - so if you created your game eg for this competition then it is OK to join. to also use it for other contests is not against the rules - this is up to you. No "exclusivity deal" :)


bye
Ron
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: metamorpho on April 13, 2021, 07:30:54
Derron, thanks for the answer !!
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Scaremonger on April 13, 2021, 10:43:18
Quote from: metamorpho on April 11, 2021, 16:41:26
For the competition "Virus" I made a game about a virus. The game is ready.
Looking forward to seeing & playing your entry. Most of the other participants have documented their progress in the worklogs so it's always exciting to find another one

What other competition are you entering?
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: therevills on April 13, 2021, 11:17:09
@Scaremonger - just played Virux, very nicely done! Nice take on Pac-Man and plays great!
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Scaremonger on April 13, 2021, 15:48:11
Quote from: Steve Elliott on April 12, 2021, 19:59:02
Good job!  A fullscreen, back in the 80's the computers couldn't manage it, but this looks great.   ;)
The music reminds me of Blade Runner (which bumps it up so many notches IMO) and the controls now work on analogue stick 1

Quote from: therevills on April 13, 2021, 11:17:09
@Scaremonger - just played Virux, very nicely done! Nice take on Pac-Man and plays great!

Thanks for the feedback. Pleased you like it.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: metamorpho on April 13, 2021, 20:29:25
Quote from: Scaremonger on April 13, 2021, 10:43:18
Quote from: metamorpho on April 11, 2021, 16:41:26
For the competition "Virus" I made a game about a virus. The game is ready.
Looking forward to seeing & playing your entry. Most of the other participants have documented their progress in the worklogs so it's always exciting to find another one

What other competition are you entering?


Scaremonger, sometimes I take part in some competitions on itch.io
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: metamorpho on April 13, 2021, 20:30:46
Submission Post:

Game Title: "Purple Virus"

Download link:  https://metamorpho-sg.itch.io/purple-virus

OS requirements: for Windows 7/8/10
Required dependancies: all included
Game made on AppGameKit Classic

Brief info about game:
You control a nanorobot that has been implanted into the body of a sick person. To survive, you need to control the nanorobot to destroy all viruses in the human body. The virus can be destroyed in two ways. The first is that a collision with a virus destroys it, but
in this case, the energy of the nanorobot decreases. Second, by moving particles, you can close the virus in a trap so that he cannot move, then after a while he will die.
You also need to protect body cells. If all cells are destroyed then you are to dead.
Some viruses multiply. Other viruses destroy the protective particles. There is a dangerous virus that can attack a nanorobot, and can also very quickly destroy a cell of the body.
You need to develop tactics to survive and destroy the purple virus.

There are two ways to adjust the game speed:
1.  During the game, decrease or increase the speed - use the keys "Home"  "End"
2. Who has a very powerful computer can turn synchronization VSync in main menu game.
-------------------------
If it gives an error at startup, then here is a possible solution to the problem:
- place the game on any disk in any of your user folders for example C: \ MyGame (it is better not to place the game in any system folders like C: \ ProgramFiles)
- if the game is located in C: \ ProgramFiles then run the file (.exe) of the game as administrator
- the path of the game directory should be only English letters
------------------------------

Media information:
Graphics - almost all graphics are mine,
other graphics taken from
https://www.gamedevmarket.net/ from the FREE section,
https://itch.io/game-assets  from the FREE section,

All  music FREE:
Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0
http://creativecommons.org/licenses/by/3.0/
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Steve Elliott on April 13, 2021, 23:14:11
So what are you doing there Scaremonger?  You're updating 3 times the refresh rate?   ;)
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Scaremonger on April 14, 2021, 07:40:20
Quote from: Steve Elliott on April 13, 2021, 23:14:11
So what are you doing there Scaremonger?  You're updating 3 times the refresh rate?   ;)

I am...

My last game (Fungicide (https://www.syntaxbomb.com/index.php/topic,3984.msg11508.html#msg11508)) suffered with a bad game loop so I re-wrote the loop from scratch. It uses a deltatime buffer and calls render() at a fixed rate (60fps); the remaining time goes into the update() loop and supports tweening so I shouldn't get issues such as render catch-up and bullets passing through things (Not that I have any bullets). The game loop was based on recommendations (https://www.syntaxbomb.com/index.php/topic,3984.msg12097.html#msg12097) by @Derron and from various places on the web. I've been meaning to publish it here for you guys to pull apart. ;)

Si...
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Steve Elliott on April 14, 2021, 20:41:40
Quote
I've been meaning to publish it here for you guys to pull apart. ;)

Yeah go for it, the game certainly runs very smoothly.  The high frame rate approach is quite popular, I just think it takes a lot of resources to run the updates so hard.  But it's also very dependant on the game, for your game it's ideal.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Qube on April 15, 2021, 01:25:20
Super crap bollocks! I don't think I'll have the time to finish my entry now :(

Had zero free time over the last week due to work shite and getting back into it today I think there is just too much left to do.

As I'm the boss I'm extending the comp for a further week ;D... Nah, just kidding :P I'm more than likely out but he-ho shit happens.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: STEVIE G on April 15, 2021, 09:23:08
Quote from: Qube on April 15, 2021, 01:25:20
Super crap bollocks! I don't think I'll have the time to finish my entry now :(

Had zero free time over the last week due to work shite and getting back into it today I think there is just too much left to do.

As I'm the boss I'm extending the comp for a further week ;D... Nah, just kidding :P I'm more than likely out but he-ho shit happens.

I'm sure everyone else will agree to allow you to continue development during the bugfix week - only because I want to play this and like you say, you are the boss!?
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: RemiD on April 15, 2021, 09:44:32
QuoteI'm sure everyone else will agree to allow you to continue development during the bugfix week
I agree on my side :) (but not just for Qube, for everyone, ok ?)
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Steve Elliott on April 15, 2021, 09:51:34
Quote
I agree on my side :) (but not just for Qube, for everyone, ok ?)

Me too.  I don't have a problem with this because even though you have more time to develop, you have less time (or none) to have you game de-bugged by the forum.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: STEVIE G on April 15, 2021, 09:57:20
Quote from: RemiD on April 15, 2021, 09:44:32
QuoteI'm sure everyone else will agree to allow you to continue development during the bugfix week
I agree on my side :) (but not just for Qube, for everyone, ok ?)

Not sure about everyone, ill go with concensus though.. I won't have any time next week so must be done for Sunday. Probably plenty of bugs to sort too!
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: 3DzForMe on April 15, 2021, 22:38:47
I've been in my new job a year now, some weeks I'm doing 60-70 % more hours (I know, just how did the grass look greener?). Chances of finishing a coding entre are somewhat slimmer these days 😁
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: 3DzForMe on April 17, 2021, 05:57:07
..... As we enter the final furlong of the competition it might be a push to beat the witching hour!
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: therevills on April 18, 2021, 07:04:45
!Virus!

Super simple game, ran out of time to add anything complex (my Wife had me out chopping down a bloody 20ft tree for the past week!).

Mission: You have entered into the patient's blood stream in the latest micro ship. The patient is infected, you must clear out all the viruses by shooting the virus with the vaccine. But don't get too close whilst shooting them or they will multiply!

Controls: Cursor keys and Z  ;D

https://www.dropbox.com/s/gjhnjh5les1x8rq/Virus.zip?dl=1
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Steve Elliott on April 18, 2021, 10:56:14
@therevills, the rotation and thrust seem far too fast to me, a delta time issue?   :o

A fullscreen mode would be good too.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: STEVIE G on April 18, 2021, 13:07:35
My submission - Wuhan Gang - a Retro, Puzzle / Platformer / Shooter ..

https://stevieg.itch.io/wuhan-gang
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: RemiD on April 18, 2021, 14:51:35
i am going to be the late one :'(  ;D


GMT is one hour less than the forum hour, correct ?
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Steve Elliott on April 18, 2021, 16:53:02
Quote
My submission - Wuhan Gang - a Retro, Puzzle / Platformer / Shooter ..

Runs very well.  Will have to give this a good go tomorrow.   :D

Quote
i am going to be the late one :'(  ;D

GMT is one hour less than the forum hour, correct ?

You're in Germany?  An hour ahead of GMT - so an hour more to get your entry in, yes.  Good luck.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Steve Elliott on April 18, 2021, 17:12:52
lol if I hadn't shown screen shots of my VECTORS game I could have entered this competition with some bug fixes and changes from space to inner body...Did I see Covid-19 coming??   :D

Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: 3DzForMe on April 18, 2021, 19:55:47
We've 'sprung' forwards in the U of K, so we're on bst now, give or take a spin of the world, 60 mins here or there might be OK? Confess I'm out, spent my energy painting garden fences, I'd have rather been coding!
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: RemiD on April 18, 2021, 23:26:27
here is my entry for the competition :

game name : "VShooter"
made using Blitz3d
all images, meshes, textures, sounds, made by me...

rd-stuff.fr/blitz3d/VShooter-20210418-2350EXE.zip (bug with millisecs() on Windows10, see my last post / link)

i will post some screenshots and a video tomorrow. i am tired :'(

( the archive was corrupted, i have just reuploaded it (11:39:45 PM) )
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Qube on April 18, 2021, 23:57:55
My comp entry :

(https://www.syntaxbomb.com/images/VirusValley/VVLogoSmall.png)
(https://www.syntaxbomb.com/images/VirusValley/vvg01.png)

Huh! there seems to be a bug with the rendering on other systems. Luckily there is another week to fix this bug ;D
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Qube on April 19, 2021, 00:06:25
That's it folks! the competition closed...

We now enter a week of bug fixing before the voting commences. Remember, no new features are allowed to be added during bug fix week.

Bug fixing ends and voting will commence on 26th of April 2021 @ 00:00:00 GMT.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: RemiD on April 19, 2021, 07:11:03
i have reuploaded the archives in 2 others format (zip compressed by windows, 7z compressed by 7z), because the zip compressed by 7z that i have uploaded yesterday evening provoked an error when unpacking...

rd-stuff.fr/blitz3d/VShooter-20210418-2350EXE.zip (bug with millisecs() on Windows10, see my last post / link)
rd-stuff.fr/blitz3d/VShooter-20210418-2350EXE.7z (bug with millisecs() on Windows10, see my last post / link)

i have not modified any file, the sizes of files is exactly the same. i hope this is ok...

good luck to the others participants ;)


@Steve Elliott>>i am in France...
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: RemiD on April 19, 2021, 07:37:04
@Qube>>you forgot to post your download link, or i don't see it...

i have found the links for all others entries.

time to do some testing ;D
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: therevills on April 19, 2021, 09:57:35
Quote from: Steve Elliott on April 18, 2021, 10:56:14
@therevills, the rotation and thrust seem far too fast to me, a delta time issue?   :o

A fullscreen mode would be good too.

Thanks for trying it Steve, I'm actually using your delta timing code :D I've tested on my monitor running at 144hz and 60hz, looks okay ... unless I did something wrong on the init of the screen?

SetErrorMode(2)
SetWindowTitle(game.windowTitle)
SetDisplayAspect( game.screenWidth / game.screenHeight )
SetVirtualResolution( game.screenWidth, game.screenHeight)
SetWindowSize(width, height, game.fullScreen)
SetSyncRate(game.fps, 0) // 30fps instead of 60 to save battery
UseNewDefaultFonts(TRUE)
SetRandomSeed( GetUnixTime() )
SetRandomSeed2( GetUnixTime() )
SetVSync( 1 )
SetScissor( 0, 1, game.screenWidth , game.screenHeight )
if retro
SetDefaultMinFilter( 0 )
SetDefaultMagFilter( 0 )
endif


After the comp deadline, but if is a slight update to slow the ship down a tad and adding full screen mode:
https://www.dropbox.com/s/xt6ll55zbxfmyay/Virusv1.1.zip?dl=1
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: RemiD on April 19, 2021, 10:07:29
oh nooo ! i have noticed a bug on Windows 10 : millisecs() (Blitz3d) is apparently not taken into account or maybe with a wrong value ???

so all games conditions related to that don't work correctly  :(

but it works well on Windows 7...

i think that i have already encountered this bug, i am going to dig some old posts / codes...
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: STEVIE G on April 19, 2021, 10:11:47
Quote from: RemiD on April 19, 2021, 10:07:29
oh nooo ! i have noticed a bug on Windows 10 : millisecs() (Blitz3d) is apparently not taken into account or maybe with a wrong value ???

so all games conditions related to that don't work correctly  :(

but it works well on Windows 7...

i think that i have already encountered this bug, i am going to dig some old posts / codes...

Could be that millisecs is negative? If you leave your comp on for months, like me, this tends to happen as its a 32bit signed int.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: RemiD on April 19, 2021, 10:16:09
we already talked about a similar problem in the past :
https://www.syntaxbomb.com/index.php/topic,4366.0.html

i am going to do some experiments

edit : the fix proposed by TomToad seems to work well... (see reply #17)
https://www.syntaxbomb.com/index.php/topic,4366.0.html

Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Steve Elliott on April 19, 2021, 10:34:43
Quote
Thanks for trying it Steve, I'm actually using your delta timing code :D I've tested on my monitor running at 144hz and 60hz, looks okay

lol well I used the same delta timing on my VECTORS game (a similar asteroids-like game) and it works properly.   :P

It seems like when you rotate you're not rotating from the centre of the sprite, and it 'pulls' around too much - a smaller rotation value would help.

https://www.appgamekit.com/documentation/Reference/Sprite/SetSpriteOffset.htm
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: RemiD on April 19, 2021, 10:40:49
@all >> don't try my game now, i have to fix the millisecs bug...
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: therevills on April 19, 2021, 10:50:02
Quotet seems like when you rotate you're not rotating from the centre of the sprite, and it 'pulls' around too much - a smaller rotation value would help.

Strange... I'm using this code:

function Sprite( index as integer, fXPos as float, fYPos as float,
fRed as integer, fGreen as integer, fBlue as integer, fAlpha as integer, fHandle as integer,
angle as float)
if GetSpriteExists( index ) = 0 then ExitFunction

SetSpriteColor( index, fRed, fGreen, fBlue, fAlpha )

if fHandle = 0 then SetSpritePosition( index, fXPos, fYPos ) // top left handle
if fHandle = 1 then SetSpritePosition( index, fXPos - ( GetSpriteWidth( index ) / 2.0 ),fYPos - GetSpriteHeight( index ) / 2.0 ) // center handle
SetSpriteAngle(index, angle)
DrawSprite( index )
endfunction


and calling it via:
Sprite(player.id, player.x, player.y, cr, cg, cb, 255, TRUE, player.r)

I'll check it out... video of what I see: https://www.dropbox.com/s/8vrstaeafqtsxca/Virus%202021-04-19%2019-10-49.mp4?dl=1

(Edit: just tried Sprite(player.id, player.x, player.y, cr, cg, cb, 255, FALSE, player.r)... no change?!?!)
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Steve Elliott on April 19, 2021, 11:03:20
Ah I see, watching the video cleared it up for me.  You're using controlled rotation by gently touching the rotate buttons, I re-played in the same way and it looks fine.  If you do what I do and hold down the key a bit longer then it whips around a bit too quickly IMO - so it just needs some dampening for people like me who might hold the keys down too long lol.

Are you using GetRawKeyState?


#Constant KEY_LEFT      = 37
#Constant KEY_RIGHT    = 39

// control craft

left_key    = GetRawKeyState( KEY_LEFT )
right_key  = GetRawKeyState( KEY_RIGHT )


// rotate left
If( left_key ) Then ship.angle = ship.angle - ( ship.rot_speed * dt )

// rotate right
If( right_key ) Then ship.angle = ship.angle + ( ship.rot_speed * dt )
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: therevills on April 19, 2021, 11:06:59
I was also setting the position of the sprites in different places...

https://www.dropbox.com/s/zo9uo0zove7qy1e/Virusv1.2.zip?dl=1

Yeah using GetRawKeyState:

if GetRawKeyState(KEY_UP) = 1
JoystickDirection = JoyUP
endif
if GetRawKeyState(KEY_DOWN) = 1
JoystickDirection = JoyDOWN
endif
if GetRawKeyState(KEY_RIGHT) = 1
JoystickDirection = JoyRIGHT
endif
if GetRawKeyState(KEY_LEFT) = 1
JoystickDirection = JoyLEFT
endif
local shoot as integer = 0
if GetRawKeyState(KEY_Z) = 1
shoot = TRUE
endif
if player.shield > 0
select JoystickDirection
case JoyUP:
inc player.speed, 0.2 * game.dt
if player.speed > player.maxSpeed then  player.speed = player.maxSpeed

endcase
case JoyDOWN:
dec player.speed, 0.2 * game.dt
if player.speed < -player.maxSpeed then  player.speed = -player.maxSpeed
endcase
case JoyRIGHT:
inc player.r, 5 * game.dt
endcase
case JoyLEFT:
dec player.r, 5 * game.dt
endcase
endselect

I'll play around with the controls a bit - thanks for the feedback Steve :)
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Steve Elliott on April 19, 2021, 11:14:56
Well that's narrowed it down then - you're just rotating by too much.  It's not a big problem, it just seems a bit 'off' to me.  Let me put it like this: It's like playing Time Pilot rather than Asteroids, if you've played those games you'll understand what I mean.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: RemiD on April 19, 2021, 11:23:48
alright, this version seems to work well on Windows7 and Windows10

VShooter
(https://www.syntaxbomb.com/proxy.php?request=http%3A%2F%2Frd-stuff.fr%2Fblitz3d%2FVShooter-screenshot-20210418.png&hash=2870c1c69effba229035d9cad3ca95fd74960280)
screenshot : http://rd-stuff.fr/blitz3d/VShooter-screenshot-20210418.png
animated gif :

latest download link : (fixed the bug of the millisecs() negative value on Windows10)
http://rd-stuff.fr/blitz3d/VShooter-20210419-1203EXE.zip
http://rd-stuff.fr/blitz3d/VShooter-20210419-1203EXE.7z

edit :
should work with Windows xp, vista, 7, 8, 10
you need a keyboard + a mouse to play

(all images, meshes, textures, graphic effects, sounds, made by me)

;D
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Steve Elliott on April 20, 2021, 09:14:58
@RemiD, a nice sensation of movement and accurate 3D collisions there, will play some more.  The game window is very small though.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: RemiD on April 20, 2021, 18:05:46
@Steve Elliott>> thanks for the test / comments. :)


i would have liked to add in-game help screens, i think this is very important to make it easy to understand how to play... you guys are more patient, because you are programmers...


what do you think of the sounds volume ? too low ? too high ? the volume can be quite different depending on the computer / speakers / headphones...
i plan to add a way to increase / decrease the volume in-game...


( btw, once enough KillerCells (KCells) have been created, and if you call them at different areas of the pipe, it is possible to kill all the viruses and win the game  :D )
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Steve Elliott on April 20, 2021, 19:44:55
Quote
what do you think of the sounds volume ? too low ? too high ?

I certainly think the sound effects could do with some more volume (X3) and maybe some slight echo because of the tunnel-like environment.

Perhaps some background music for version 2 after the comp.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: RemiD on April 21, 2021, 09:09:34
Quotethe sound effects could do with some more volume (X3)
noted. thanks


for the next version (after the competition) :
i have added a way to increase / decrease the volume in-game

now i am working on notifications in-game (when a KCell is available)

and then helps screens in-game
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Scaremonger on April 24, 2021, 08:33:43
Quote from: Steve Elliott on April 14, 2021, 20:41:40
Quote
I've been meaning to publish it here for you guys to pull apart. ;)

Yeah go for it, the game certainly runs very smoothly.  The high frame rate approach is quite popular, I just think it takes a lot of resources to run the updates so hard.  But it's also very dependant on the game, for your game it's ideal.

I've just published (on a different thread (https://www.syntaxbomb.com/index.php/topic,8421.0.html)) the new Game Loop I used in VIRUX (https://www.syntaxbomb.com/index.php/topic,8302.msg347049417.html#msg347049417). Hope you guys don't find any massive bugs!

Si...
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Qube on April 26, 2021, 00:09:16
Competition is now closed...

Well done to those who submitted their game for this competition. I will be upping the voting thread tonight ( Apr 26th ) with the relevant details.

Could those that have entered please post here a link to your latest version available now that bug fix week has ended, thanks.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Scaremonger on April 26, 2021, 07:55:19
VIRUX

ENTRY:
https://www.syntaxbomb.com/index.php/topic,8302.msg347049417.html#msg347049417

LINUX:
https://www.dropbox.com/s/m66otjtlnz47iee/virux-1-2-23?dl=1

WINDOWS
https://www.dropbox.com/s/kph2rigdt81i489/virux-1-2-14.exe?dl=1
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: RemiD on April 26, 2021, 08:13:00
VShooter
screenshot : http://rd-stuff.fr/blitz3d/VShooter-screenshot-20210418.png
latest download link : (fixed the bug of the millisecs() negative value on Windows10)
http://rd-stuff.fr/blitz3d/VShooter-20210419-1203-EXE.zip
http://rd-stuff.fr/blitz3d/VShooter-20210430-1323-EXE.zip

should work with Windows xp, vista, 7, 8, 10
you need a keyboard + a mouse to play

more details : https://www.syntaxbomb.com/index.php/topic,8347.msg347049622.html#msg347049622
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: metamorpho on April 26, 2021, 09:05:27
"Purple Virus"
Download link:  https://metamorpho-sg.itch.io/purple-virus
( details: https://www.syntaxbomb.com/index.php/topic,8302.msg347049507.html#msg347049507 )
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: STEVIE G on April 26, 2021, 10:21:48
Wuhan Gang ..

https://stevieg.itch.io/wuhan-gang
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Scaremonger on April 30, 2021, 19:34:30

I'm having a bit of an issue with Wuhan Gang.

I cannot get it to run in Wine; but on my Windows laptop, Windows Defender is flagging it as a "Win32/Zpevdo.B" Trojan and sticking it into quarantine. It also has a problem with McAfee which reports it as "Artemis!08E5B51F6812".

I know this competition was called Virus, but...  ;D

Is anyone else having issues with it?
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: RemiD on April 30, 2021, 20:26:24
@Scaremonger>>no detection with microsoft virus essentials, and with malwarebytes.

in doubt, there is the website virustotal.com, where you can upload an executable.

i am going to check again on my side...

indeed Wuhan gang (blitz3d executable) is detected as malware by 6 companies
virustotal.com/gui/file/e78760447f2f15d43a839c13e5eb0b414fde1454cc084a9a267ade0ae33f7e28/detection

whereas Vshooter (blitz3d executable) is  not detected as malware...
virustotal.com/gui/file/97c2c7c7d9b525d4fb6459bdf0dddceacfb3b559b6ff24844463c10b804901fc/detection

strange...


@Stevie G>> are you doing something special in your game ? writing / reading external files ? writing / reading in memory ?
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: STEVIE G on April 30, 2021, 22:00:27
Nothing dodgy going on I promise. It uses the dx7 dll but the dplay one is there to prevent win10 users being asked to install it. I do read and write to an options file in the data folder, local to the game, but that is all.  I do the same with all my games. Maybe as there's some text in the splash which mentions 'virus' its picking this up as something dodgy?

Its been downloaded more than 200 times and no one has mentioned this issue.
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: Scaremonger on May 01, 2021, 10:08:27
I added it as an exclusion and it ran fine (Probably too fine as I've been playing it for ages this morning).

VirusTotal.com gave loads of information about what the file was doing and the registry keys it is using but I cannot see anything that would warrant a quarantine. Its a useful resource that I didn't know about but it is a bit weird why this file was treated in this way.

Awesome game...

Going to go play it again before the wife gets up and wants me to take her shopping!
Title: Re: Code a game comp - Virus - Feb 7th to Apr 18th 2021
Post by: 3DzForMe on May 08, 2021, 04:53:51
Well, my entry never quite made it passed the concept art stage - ah well, voting's nearly over (I think.....)

Played all the games and my votes are in - good luck folks!

Some excellent work worthy of software houses!

Heres how far my effort got anyway.... some may recognise the base 'effort' that got infected by some virus sprites......