SyntaxBomb - Indie Coders

General Category => Worklogs => Topic started by: 3DzForMe on March 21, 2020, 06:19:00

Title: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on March 21, 2020, 06:19:00
The clue probably isn't in the title.....

So far - created template and am importing imagery - how tuff will AGK Studio Syntax be to wrap my suede around? :o
Title: Re: Reboot Comp Entry - WestIsBest
Post by: Xerra on March 22, 2020, 10:22:31
West is best? What's it a reboot from? More details. This is a very vague post for a work log :-)
Title: Re: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on March 22, 2020, 21:17:12
was being vague for a reason (and a little tongue in cheek.....)

Really not sure I've the time to commit - changing jobs, doing a Cisco course - huge commute coming up....

Anyways::
Title: Re: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on March 26, 2020, 08:29:32
Entry trois:

Getting to grips with AGK syntax a little more. Using the gameplay (yes, I know there wasn't much ....) From the wildest west as a template.

However, once I realise the basic mechanics of AGK syntax, I may revisit all the passed titles for something a little more get your teeth into...

Saying that though.... There's a lot on the agenda coming up in the old 'life' thing. It's a juggling act  ::)
Title: Re: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on August 22, 2020, 06:47:36
Jeez, more than 120 days since my last work entry!

Anyhoo, just about got 2 gun tex's reload logic working for pistol1, 2 and his grenade stash - I know, exciting stuff!!!!

[EDIT]  Reload logic now... working.  Just got a minor bug to squish whereby pistol1's ammobox can 'track' player1 after pistol2 runs out ;)
Title: Re: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on September 24, 2020, 19:54:16
2nd pistols bullets don't go through the enemy (SLR style) after the first reload. Whoop Whoop!
Title: Re: Reboot Comp Entry - WestIsBest
Post by: Steve Elliott on September 24, 2020, 20:01:02
Slowly slowly catchy monkey.  Keep going!
Title: Re: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on September 24, 2020, 20:36:45
Oh yeah, competitions are like fashion.... The one I was entering might see the light of day again.

Also, I was restricted to just my laptops screen and time pressure.... I didn't bring my charger to my digs.... Nevertheless twoguntex's bullets march ever forwards.... Until after the first reload 😁
Title: Re: Reboot Comp Entry - WestIsBest
Post by: Steve Elliott on September 24, 2020, 20:45:53
lol my last comp game nearly made it, but not quite.  But I did learn a lot about AGK and produced some vector routines (which I've never written before).  The point is you learn more about coding and more about the language of choice when there's an incentive (a competition).  Sometimes it's worth just getting your routines right and developing a framework that you can take to the next project.

Life will get in the way and time flys, but whatever code you do produce for a project can be useful.
Title: Re: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on September 24, 2020, 21:45:46
Yeah, agreed, I'm still (albeit subconsciously) happy to see the trajectory of my grenades following a nice arc, in AGK, of course. B3D still cuts some mustard, but AGK Studio is a worthy successor.  ;D
Title: Re: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on December 05, 2020, 05:53:35
And........ more progress   :o

Two Gun Tex's bullets from BOTH of his gun's and his grenade launcher (that'll be his arm.....) all reliably deplete P2 life force.

yay... when was that deadline?
Title: Re: Reboot Comp Entry - WestIsBest
Post by: Steve Elliott on December 05, 2020, 09:29:36
Deadline?  Plenty of time.  It's done when it's done, right?   :)
Title: Re: Reboot Comp Entry - WestIsBest
Post by: Xerra on December 05, 2020, 09:59:53
Quote from: 3DzForMe on December 05, 2020, 05:53:35
yay... when was that deadline?

For Syntax Bomb competition 24 - when I expect this one to be released - you have until May 24th, 2025. That enough time to get those bullets working, old bean? :)
Title: Re: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on December 05, 2020, 13:43:58
Happy to report..... Gun No.1 can now release a Volley of 6 bullets in succession. Well Chuffed.  And P2's life force goes down when the bullets hit home, oh happy dayz.

Gun No.2 is still a little flaky.  Might get some sound FX in next.

2025, Hmmmm, could be a push that!  ;D
Title: Re: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on December 05, 2020, 18:03:49
Time for some alpha channel grenada sorting.....
Title: Re: Reboot Comp Entry - WestIsBest
Post by: MrmediamanX on December 10, 2020, 02:37:00
Quote from: 3DzForMe on December 05, 2020, 18:03:49
Time for some alpha channel grenada sorting.....

Still chipping away at it? come back to the light side oh coded one return to the language of legend .... the blitz. ;D
Title: Re: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on December 10, 2020, 20:52:57
I've still got a place in my heart for B3D 😁
Title: Re: Reboot Comp Entry - WestIsBest
Post by: Xerra on December 11, 2020, 17:49:30
I reckon if you switched to GMS2 then you could put together West is best in a couple of days. Just saying :-)
Title: Re: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on December 11, 2020, 23:49:53
Couple of days.... That's not how art evolves, a good game is like a fine wine.....  ;D
Title: Re: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on December 12, 2020, 10:01:04
I confess, ended up just drawing a new grenade with an alpha channel on the background - trying to add a transparent background to my existing greande eluded me.

Now, grenades flying OVER the background seemlessly ;)

Next, second guns bullets not stop Matrix style when a consecutive bullet is fired.


Title: Re: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on December 26, 2020, 18:50:07
Bazooka button invoked - increasing the chance of killing P2 before the wagon disappears of the bottom of the telly..... I mean monitor.

Its been a while since I coded on a 14" fergusn colour telly ;)
Title: Re: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on December 27, 2020, 07:00:20
a little vid of guns1, 2 and the grenade launcher (eh, that'll be his arm then - its low-fi remember) working:-

Next, to get some sound invoked, dead mans click, booms for the grenade going off etc....

And the obligatory boot hill music as a player pushes up the daises.



Title: Re: Reboot Comp Entry - WestIsBest
Post by: RemiD on December 27, 2020, 19:06:42
making some progress  :)


maybe add some particles of impact ?
Title: Re: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on December 28, 2020, 07:54:50
Quote.  maybe add some particles of impact ?     

@Remid, you've read my mind. Over the last few months I've been thinking 'I'm sure I bought a particle editor with AGK......', although it's been taking me forever to get the game mechanics operating properly......  ;D
Title: Re: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on December 29, 2020, 12:13:44
@RemiD - you're an inspiration - getting my suede around the AGK particle editor - although I suspect its hi-rez explosions will complement my low-rez two gun text:

Title: Re: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on December 29, 2020, 13:18:20
OK..... Got the particles compiling into a fork of West is best..... Post getting some new sporty gear in the sales.... Can I render some particles along with my sterling 'bang' gif..?
Title: Re: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on December 30, 2020, 20:38:04
The short answer for rendering particles into a 2D environment is I give up for now - going to try something achievable and invoke some sounds.

Advice on particle physics into 2D environment: https://forum.thegamecreators.com/thread/225812
(https://forum.thegamecreators.com/thread/225812)

[EDIT]  Not one to admit defeat, managed to get my head around some particle physics 101 stuff:

Hyperlinkhttps://youtu.be/odzfcM_LGzw (https://youtu.be/odzfcM_LGzw)

So, no work done on sounds - however - got my suede around the synatx for some particle physics ness, sweet.
Title: Re: Reboot Comp Entry - WestIsBest
Post by: RemiD on January 01, 2021, 14:35:37
QuoteThe short answer for rendering particles into a 2D environment is I give up for now

actually it is very easy to render flat particles in a 2d game (in a 3d world)... you just have to position each particle on a different layer (plane) so that they can't intersect.

for a simple game like yours, you don't need to use a single surface system, so if each particle is a separate entity, and if each entity is on a different plane, no manual zordering should be necessary...

the zordering issue appear when the triangles with alpha texels are in the same surface...

if you post a code example of your problem, i can take a look and suggest an improvement...
Title: Re: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on January 02, 2021, 18:25:00
@RemiD thanks for the offer of help.  I didn't opt for trying to code the particles directly as I recalled I'd purchased a particle generator with my AGK Studio purchase a few moons ago.

Happy to report my initial foray into the particle editor has been quite fruitful, although the imagination is doing backflips now - requirements creep, oh yeah!

For now have been toying with P1, P2 size after some suggestions from iWasAdam..... AGK is ace ;)

Title: Re: Reboot Comp Entry - WestIsBest
Post by: Xerra on January 02, 2021, 21:24:05
Think you need those players further away from each other else it's going to be a slaughterfest :)
Title: Re: Reboot Comp Entry - WestIsBest
Post by: RemiD on January 03, 2021, 10:59:34
oh i thought that you were using Blitz3d for this project...

but apparently you use AGK.

(i have downloaded the trial version to experiment a little with it... for android)
Title: Re: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on February 13, 2021, 14:22:52
Exciting stuff - AGK Studio is detecting my XBoxone controller - twoguntex may be shooting from either:

1. Keyboard
2. Joystick (aka XBoxone controller).

Yeah, doing this in AGK RemiD, cutting my teeth in some new syntax!

Title: Re: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on March 05, 2021, 20:20:46
got gun1 & gun2 bullets behaving... And (holds breath.... drum roll)

The gun reload magazines get dropped off by the Wagon, if its still onscreen ;) :o
Title: Re: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on May 08, 2021, 08:06:17
The bang associated with a grenade doing off now has a transparent background..... Instead of a dodgy white square.
Title: Re: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on June 30, 2021, 18:54:15
The gun firing now has an audio effect associated, progress marches ever forwards  :o
Title: Re: Reboot Comp Entry - WestIsBest
Post by: Xerra on July 02, 2021, 15:59:33
The progress you're making on this game makes it sound like it's going to take longer to release than Duke Nuke'Em Forever ;)
Title: Re: Reboot Comp Entry - WestIsBest
Post by: Steve Elliott on July 02, 2021, 18:41:53
Slowly slowly catchy monkey.   :D
Title: Re: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on July 03, 2021, 09:28:04
Yep, cross your bridges one at a time, no point rushing these things 😁
Title: Re: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on August 02, 2021, 19:22:12
Huge update - player 2 sometimes announces 'Ouch' when he is shot - in glorious Stereo.

Player 1 also gets audibly hurt now, and his life force ebbs away at the same rate as player 2, most of the time.....
Title: Re: Reboot Comp Entry - WestIsBest
Post by: Xerra on August 02, 2021, 21:24:33
And there was me expecting the release announcement :)
Title: Re: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on August 04, 2021, 21:42:15
Got a few more bugs and bugettes to squish first :D
Title: Re: Reboot Comp Entry - WestIsBest
Post by: 3DzForMe on October 09, 2021, 10:01:18
Started work on blood particle effects to accompany the bullet hitting the opponenet sounf fx, quite pleased with my initial stab at particle effects: