May 31, 2020, 08:58:04 PM

Author Topic: Reboot comp: WestisBest  (Read 690 times)

Offline 3DzForMe

  • Hero Member
  • *****
  • Posts: 1023
Reboot comp: WestisBest
« on: May 07, 2020, 10:17:10 PM »
Well, progress has been slow. Figured out how to detect a keypress in AGK.... took me a bit longer than expected. Repeat - google is your friend.....

Was gobsmacked at how many commands there are in AGK..... Need to find if AGK has a scancode thingy like IDEal…. I mean native Blitz3D IDE - my IDEal on this computer doesn't have the help files functional currently.

So, successes:

P1 moves up and down and shoots.

To Dos:

Just about everything else.

Hmmm, chances of this becoming a game - slim.

t-minus 2 days...….. :o

[edit]  Initial feedback from my user group (18 year old daughter) says it already looks better than the original as the whole 2d meets 3d didn't work for her. Yay.

Online Steve Elliott

  • Hero Member
  • *****
  • Posts: 2454
Re: Reboot comp: WestisBest
« Reply #1 on: May 07, 2020, 10:39:04 PM »
Quote
Initial feedback from my user group (18 year old daughter) says it already looks better than the original as the whole 2d meets 3d didn't work for her. Yay.

So that's encouraging, cool.   8)

Quote
Figured out how to detect a keypress in AGK.... took me a bit longer than expected. Repeat - google is your friend.

Was gobsmacked at how many commands there are in AGK.

Yes Google is definitely your friend with AGK, type AGK and the area of interest into Google and it comes up with a link.  Luckily the documentation is excellent, but yes this competition has taught me a lot about AGK too.  Scancodes?  Just google it as required: https://www.appgamekit.com/documentation/guides/scancodes.htm

Quote
t-minus 2 days...….. :o

Don't panic people!!  :o  Steve panicking.



Windows 10, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
MacOS Catalina, 64-bit, 8Gb RAM, CPU Intel i5, 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB.
Linux Mint 19.3, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
Raspberry pi 3 and 4.

Offline 3DzForMe

  • Hero Member
  • *****
  • Posts: 1023
Re: Reboot comp: WestisBest
« Reply #2 on: May 07, 2020, 10:44:44 PM »
Quote
Yes Google is definitely your friend with AGK, type AGK and the area of interest into Google and it comes up with a link.  Luckily the documentation is excellent, but yes this competition has taught me a lot about AGK too.  Scancodes?  Just google it as required: https://www.appgamekit.com/documentation/guides/scancodes.htm

Thanks for that - bookmarked - was making the initial mistake of trying to glean where getrawkeypress was from example projects.

The second person in my usergroup (the wife) says the 2d one is already better on the eye than my 3D one. Hmmm, might have to insert sincere effort to squeeze more AGK syntax into the old suede.

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1718
Re: Reboot comp: WestisBest
« Reply #3 on: May 08, 2020, 06:57:04 AM »
Hi 3Dz I thought I'de give you something to think over.
Using the image above I overlayed the original boot hill and did some quick markouts of how the screen is used which yoou might find helpful:


the 2 red areas are the limits of where the players can walk
the green shows the general perspective and drawing of the background
I've enlarged your sprites so they better match the scales.

This gives you a general template to work with, general sizes, etc :)

Offline 3DzForMe

  • Hero Member
  • *****
  • Posts: 1023
Re: Reboot comp: WestisBest
« Reply #4 on: May 08, 2020, 06:00:31 PM »
Thanks for the feedback Adam, its a tuff call - work on the scenery in the periphery.... or make the game mechanics work. Jeez Louise - (In a Lylat Wars style voice)…. might not be going for the No.1 slot this time. well at least it'll give the others a chance ;)

So, to dos. more and then some

Offline 3DzForMe

  • Hero Member
  • *****
  • Posts: 1023
Re: Reboot comp: WestisBest
« Reply #5 on: May 08, 2020, 06:36:16 PM »
Well, my dinners ready  -  excellent progress on the graphical front....

Any chance of a 14 day extension qube - I've kicked into touch a 600 pound Cisco course to get this effort this far.

Kudos to u Qube for this forum pal.


Offline Xerra

  • Hero Member
  • *****
  • Posts: 934
    • Retro Evolved
Re: Reboot comp: WestisBest
« Reply #6 on: May 08, 2020, 10:26:16 PM »
Pfft, 14 day extension. We've had Two months already. Thinks that's more time than most of the other compo's. Although I think the movie and tv themed one was 10 weeks.

Offline 3DzForMe

  • Hero Member
  • *****
  • Posts: 1023
Re: Reboot comp: WestisBest
« Reply #7 on: May 09, 2020, 05:43:13 AM »
Fair one, I'm back in Cisco land - & not the emperor's new groove version ;)

Offline 3DzForMe

  • Hero Member
  • *****
  • Posts: 1023
Re: Reboot comp: WestisBest
« Reply #8 on: May 09, 2020, 07:38:47 AM »
And.... Ready Player1.....

He can now shoot up to 6 bullets AND the reload magazine appears.

To Dos:

Pretty up bullets and magazine, make bullets KILL P2.

Everything else.

Offline 3DzForMe

  • Hero Member
  • *****
  • Posts: 1023
Re: Reboot comp: WestisBest
« Reply #9 on: May 09, 2020, 05:12:17 PM »
2gun tex has.... two separate guns that both are six shooters.

failed to hash include a file, read and write paths different for my AGK project, so I just shoehorned my first ever include file in AGK Studio back into good old main.

Next...… To invoke Kill Logic..... :o ???

In other news, reset my Cisco password - so I can now access packet tracer. Great.

Offline 3DzForMe

  • Hero Member
  • *****
  • Posts: 1023
Re: Reboot comp: WestisBest
« Reply #10 on: May 10, 2020, 06:32:42 AM »
Player 1 bullets + physics + score incrementer - done

Player 2 bullets in, no physics or deadliness yet...

Levels and music to put in.

Might be able to improve graphics - and a whole day left to code..... its gonna be tight.  ;D

[EDIT] time_passes# ……  ???

Offline MrmediamanX

  • Full Member
  • ***
  • Posts: 210
    • 3MX Digital
Re: Reboot comp: WestisBest
« Reply #11 on: May 10, 2020, 09:16:56 AM »
going right down to the clutch, do it to it man you got this.

Offline 3DzForMe

  • Hero Member
  • *****
  • Posts: 1023
Re: Reboot comp: WestisBest
« Reply #12 on: May 10, 2020, 04:14:00 PM »
Quote
going right down to the clutch, do it to it man you got this.


Thanks for the encouragement - I've squeezed in roughly 4 hours of Cisco today and planted 8 rows of vegetables with my daughter.... AI for P2 / the bad guy seems like a HUGE push at the momento.  :-\

Offline 3DzForMe

  • Hero Member
  • *****
  • Posts: 1023
Re: Reboot comp: WestisBest
« Reply #13 on: May 10, 2020, 04:55:15 PM »
hmmm, anyone familiar with AGK syntax explain why this logic proves to prove true - can you check if a FLOAT is larger than another FLOAT in AGK?

Code: [Select]
if time_elapsed# >= sevensekcount#

P2shouldashot#=P2shouldashot#+1

sevensekcount# = sevensekcount# - 1

P2fire=1

Endif


Just about to chuck in the old towel...…

Code: [Select]
if time_elapsed# >= sevensekcount#

P2shouldashot#=P2shouldashot#+1.0

sevensekcount# = sevensekcount# - 1.0

P2fire=1

Endif

Online Steve Elliott

  • Hero Member
  • *****
  • Posts: 2454
Re: Reboot comp: WestisBest
« Reply #14 on: May 10, 2020, 05:00:49 PM »
For timing I use something like this:

Code: [Select]
If( ( Timer() - entity[e].anim_timer ) * 1000.0 >= entity[e].anim_speed )

    < update code here >

    entity[e].anim_timer = Timer()

Endif
Windows 10, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
MacOS Catalina, 64-bit, 8Gb RAM, CPU Intel i5, 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB.
Linux Mint 19.3, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
Raspberry pi 3 and 4.

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal