Ooops
October 26, 2020, 03:57:47 PM

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

• Hero Member
• Posts: 1973
##### 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)

• Hero Member
• Posts: 1973
##### 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...

#### Derron

• Hero Member
• Posts: 3235
##### 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

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

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

• Sr. Member
• Posts: 253
##### Re: Go Nuts Competition Entry - Axonite
« Reply #20 on: September 21, 2020, 10:54:49 AM »

#### Derron

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

bye
Ron

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

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

• Hero Member
• Posts: 1973
##### 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

#### Steve Elliott

• Hero Member
• Posts: 2819
• elgol 2021
##### Re: Go Nuts Competition Entry - Axonite
« Reply #25 on: September 22, 2020, 01:37:02 PM »
Looks very sleek.
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

• Hero Member
• Posts: 1973
##### 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:

#### STEVIE G

• Sr. Member
• Posts: 492
##### 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?

• Hero Member
• Posts: 1973
##### 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...

#### chalky

• Jr. Member
• Posts: 62
##### 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?