Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - JohnnyB

Pages: 1 [2] 3
GLBasic - en / Re: Object raycast 3D
« on: 2019-Aug-02 »
that is great!

GLBasic - en / Object raycast 3D
« on: 2019-Jul-31 »
In AGK you can do it like that:

In GLBasic I can apparently only raycast and get the distance, but not the exact position.

Is there another way?

I think you could calculate it somehow if you have the distance (vector plus vector x distance)?

So if is huge, it has not to be re-created every time?!

Thx, great.

Is there a way to scale models to a size of let's say 1x1. X_SCALING apparently only scales from the original size, it seems?

Is there a way to let me calculate the position(x,y,z) where I click on that height object?

GLBasic - en / Re: picking an object
« on: 2019-Jul-15 »
What would be the best way to calculate the point where the ray first hits an object?

GLBasic - en / Best example of 3D in GLBasic?
« on: 2019-Jul-06 »
Is there a good-looking 3D game or demo available?

GLBasic - en / Re: The limits of GL Basic
« on: 2019-Jun-02 »
3D isn't really my goal, I prefer 2D most of the time. :)

I did a "quick and dirty" RTS prototype in some languages, in C#/XNA which ran pretty well, but in Monkey-X it already wasn't as smooth (again, I thought since this is also compiled in C++ it wouldn't) and my attempts in AGK were just not playable.


GLBasic - en / The limits of GL Basic
« on: 2019-Jun-01 »
Do you think GLBasic can handle large RTS game real-time logic and AI like "Supreme Commander"?

Yes, I know the obvious answer is that it depends on skill of the programmer.  :D

In other words, how does GLBasic compare to C# Monogame, Unity, Libgdx, whatever... Not talking about C/C++, Rust and the like. It's obviously much faster than AGK (that is only interpreted and not very efficently it seems).

Great tool, got sick and tired of C# and Java and Python. Stuff I have to use for my work. GLBasic is much faster and more fun to work with. It is so intuitive. Syntax is also better than AGK or the other Basic languages. There is really no reason why AGK is so big and GLBasic is not, quality-wise.

That's good. I will use C++ or Fortran for complex calculations for my AI.

I am not sure at the moment how this "INLINE" stuff really works.

so technically, I save IDs in an array: 7, 14, 9, whatever

so which loop to use to get rid of, let's say 14?

Should I simply use a counter and then use DIMDEL after the loop (I think using it within could cause problems)?

Or DELETE within the loop?!

Pages: 1 [2] 3