December 03, 2020, 11:06:18 AM

Author Topic: Go Nuts Competition Entry - Axonite  (Read 3400 times)

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 2006
Re: Go Nuts Competition Entry - Axonite
« Reply #15 on: September 21, 2020, 08:12:45 AM »
because I want the point data :)

which means I've now got paths for enemies to follow:


So for any enemy position it is a simple task of deciding the path and it's orientation.
just update the path position and the enemy moves - the code becomes uber simple:

draw(sprite, path, position)

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 2006
Re: Go Nuts Competition Entry - Axonite
« Reply #16 on: September 21, 2020, 08:49:06 AM »
@Derron's catmull rom spline   :-*

The problem there is you need to define the spline and the points, etc to make it work. then you need the math to make it work. Guess what I do?


Just draw a quick approximate path
Code: [Select]
paths.Load("asset::paths.mx2vector2d")
paths.ConvertToXY( 512 )
paths.SmoothXY( 6 )
the convert scales the result
the smooth add's the points (I need) and smooths as it goes

Even the smoothing code is simple:
add a new point at the center of a line
take three points and make the inside point the middle

any point on the curve is just _x[position], _y[position]

Well I thought it was a cool solution... :'(

Offline Derron

  • Hero Member
  • *****
  • Posts: 3274
Re: Go Nuts Competition Entry - Axonite
« Reply #17 on: September 21, 2020, 08:52:54 AM »
The curve preview (on the left) overlaps its area (indicator of wrong dimensions reported?)


bye
Ron

Offline blinkok

  • Sr. Member
  • ****
  • Posts: 271
Re: Go Nuts Competition Entry - Axonite
« Reply #18 on: September 21, 2020, 09:58:38 AM »
What proggy is that?

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 2006
Re: Go Nuts Competition Entry - Axonite
« Reply #19 on: September 21, 2020, 10:45:48 AM »
custom one I wrote for my editor


Offline Derron

  • Hero Member
  • *****
  • Posts: 3274
Re: Go Nuts Competition Entry - Axonite
« Reply #21 on: September 21, 2020, 11:57:27 AM »
Like the "mother bug" :)


bye
Ron

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 2006
Re: Go Nuts Competition Entry - Axonite
« Reply #22 on: September 21, 2020, 12:09:22 PM »
nice :)

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 2006
Re: Go Nuts Competition Entry - Axonite
« Reply #23 on: September 22, 2020, 08:57:57 AM »
well today is all about UI's...

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 2006
Re: Go Nuts Competition Entry - Axonite
« Reply #24 on: September 22, 2020, 12:55:26 PM »
Final in-game screen showing one of the UI's. This also shows the 3:4 orientation as well  :o


Online Steve Elliott

  • Hero Member
  • *****
  • Posts: 2872
  • elgol 2021
Re: Go Nuts Competition Entry - Axonite
« Reply #25 on: September 22, 2020, 01:37:02 PM »
Looks very sleek.  8)
Windows 10 64-bit, 16Gb RAM, Intel i5 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb)
MacOS Big Sur 64-bit, 8Gb RAM, Intel i5 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB
Linux Mint 19.3 64-bit, 16Gb RAM, Intel i5 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb)
Raspberry Pi 400, Pi4, C64, ZX Spectrum Next.

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 2006
Re: Go Nuts Competition Entry - Axonite
« Reply #26 on: September 23, 2020, 12:24:58 PM »
Thanks - today was not a good day  >:(

3d had to be captured and then transported via bitmap (DON'T ASK). so the 3d is now actually 2d!

But with all that said, here's the doors:


Offline STEVIE G

  • Sr. Member
  • ****
  • Posts: 498
Re: Go Nuts Competition Entry - Axonite
« Reply #27 on: September 23, 2020, 12:36:28 PM »
Looks excellent! What was the issue with the 3d?

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 2006
Re: Go Nuts Competition Entry - Axonite
« Reply #28 on: September 23, 2020, 01:41:16 PM »
Monkey2 vs apple - the ongoing (i’m going) saga

Buffers not being allocated correctly - with latest Catalina update...

Offline chalky

  • Jr. Member
  • **
  • Posts: 65
Re: Go Nuts Competition Entry - Axonite
« Reply #29 on: September 23, 2020, 06:22:25 PM »
Looks superb!  :)

Did you create the GUI component tiles yourself?

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal