Reboot comp: WestisBest

Started by 3DzForMe, May 07, 2020, 22:17:10

Previous topic - Next topic

3DzForMe

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.
BLitz3D, IDEal, AGK Studio, BMax, Java Code, Cerberus
Recent Hardware: Dell Laptop
Oldest Hardware: Commodore Amiga 1200 with 1084S Monitor & Blitz Basic 2.1

Steve Elliott

#1
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.



Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

3DzForMe

QuoteYes 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.
BLitz3D, IDEal, AGK Studio, BMax, Java Code, Cerberus
Recent Hardware: Dell Laptop
Oldest Hardware: Commodore Amiga 1200 with 1084S Monitor & Blitz Basic 2.1

iWasAdam

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 :)

3DzForMe

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
BLitz3D, IDEal, AGK Studio, BMax, Java Code, Cerberus
Recent Hardware: Dell Laptop
Oldest Hardware: Commodore Amiga 1200 with 1084S Monitor & Blitz Basic 2.1

3DzForMe

#5
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.

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

Xerra

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.
M2 Pro Mac mini - 16GB 512 SSD
ACER Nitro 5 15.6" Gaming Laptop - Intel® Core™ i7, RTX 3050, 1 TB SSD
Vic 20 - 3.5k 1mhz 6502

Latest game - https://xerra.itch.io/Gridrunner
Blog: http://xerra.co.uk
Itch.IO: https://xerra.itch.io/

3DzForMe

Fair one, I'm back in Cisco land - & not the emperor's new groove version ;)
BLitz3D, IDEal, AGK Studio, BMax, Java Code, Cerberus
Recent Hardware: Dell Laptop
Oldest Hardware: Commodore Amiga 1200 with 1084S Monitor & Blitz Basic 2.1

3DzForMe

#8
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.
BLitz3D, IDEal, AGK Studio, BMax, Java Code, Cerberus
Recent Hardware: Dell Laptop
Oldest Hardware: Commodore Amiga 1200 with 1084S Monitor & Blitz Basic 2.1

3DzForMe

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.
BLitz3D, IDEal, AGK Studio, BMax, Java Code, Cerberus
Recent Hardware: Dell Laptop
Oldest Hardware: Commodore Amiga 1200 with 1084S Monitor & Blitz Basic 2.1

3DzForMe

#10
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# ......  ???
BLitz3D, IDEal, AGK Studio, BMax, Java Code, Cerberus
Recent Hardware: Dell Laptop
Oldest Hardware: Commodore Amiga 1200 with 1084S Monitor & Blitz Basic 2.1

MrmediamanX

going right down to the clutch, do it to it man you got this.
It's a thing that doe's when it don't..

3DzForMe

Quotegoing 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.  :-\
BLitz3D, IDEal, AGK Studio, BMax, Java Code, Cerberus
Recent Hardware: Dell Laptop
Oldest Hardware: Commodore Amiga 1200 with 1084S Monitor & Blitz Basic 2.1

3DzForMe

#13
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?

if time_elapsed# >= sevensekcount#

P2shouldashot#=P2shouldashot#+1

sevensekcount# = sevensekcount# - 1

P2fire=1

Endif



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

if time_elapsed# >= sevensekcount#

P2shouldashot#=P2shouldashot#+1.0

sevensekcount# = sevensekcount# - 1.0

P2fire=1

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

Steve Elliott

#14
For timing I use something like this:


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

    < update code here >

    entity[e].anim_timer = Timer()

Endif
Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb