It would be nice if a UDT variable in a WITH could be
a used as the subscript of an array.
this -->
WITH NetworkNode(NetNodeNdx)
.PartnerNodeNum += 1
...
User: efly2020; Keyword(s):
It would be nice if a UDT variable in a WITH could be
a used as the subscript of an array.
this -->
WITH NetworkNode(NetNodeNdx)
.PartnerNodeNum += 1
...
Your demo is very good.
The least external calls to user32.dll is the goal and
that is why using one call that fills 256 bytes is better
than a few separate calls to GetAsyncKeyState.
For me,...
Thanks!
I do not know how tbgl_GetWindowKeyState works internally and
GetKeyboardState always worked best for me when using other
programming languages, and tbgl_GetWindowKeyState did not work...
I very much greatly prefer to use GetKeyboardState for getting
the status of keys in a game.
I could not get GetKeyboardState to work using either a byte array
or a string.
Using thinBasic, I...
Thanks so much for the new ways to define variables.
It makes defining nicer.
:comp5:
The following is a new error handling command suggestion so users
can send the log file in an email to the program author.
ErrorReport [ mode ]
ParametersType Optional Meaning
When selecting 'thinBasic sample scripts' and then a directory is selected,
there is no Back button to be able to easily get to other directories with
sample scripts. :cray:
' prescan of FOR not finding missing second numeric expression
Uses "TBGL"
dim jk as long
dim hWnd as dword = tbgl_CreateWindowEx("FOR nStop demo", 128, 128, 32, %TBGL_WS_WINDOWED)
...
:beta: A small suggestion: the "Intro Tutorial" needs a 'Go back one page' button.
Thank YOU.
I needed those.
Ralph
I ammaking a program which begins as a menu to
various games which use different window sizes.
I wanted to ask the resident experts if this demo uses
the best way to change window sizes when...
Duhdang!
Having any artistic ability helps in creating software.
All of my software looks like something from the days of DOS.
Thanks M. C. for the speed tip and also for the spritemap math information.
I have been busy and this helps me to return to game coding mode. :escribe:
And for more speed and ease of game...
I am guessing that letting a member see that person's email
somehow makes it easier to run the forum, but thanks for the
pictures of what others see. I am already feeling better!
@Michael C.
Much thanks.
@Michael H.
I only need simple sprite commands such as scaling and rotation and collision detection;
but fancy things would be nice such as flip and reverse....
I have "Hide email address" checked in "Account Related Settings"
but it shows on my forum message entries. Do I need to change
another setting somewhere?
Ralph
I need some help from a TBGL genius because I can't understand what
the problem is with my menu print code. I want to print a menu using
a sprite map font which can be printed on any background...
Maybe introduce a command:
BreakWithIterateFor
:lol: :lol: :lol:
Ralph
thinBasic reports an error if an array is defined with more than 3 subscripts;
so I redid the code by switching to arrays of User-Defined Data Type.
thinBasic is reporting an error of "too many...
Hi Michael,
Your sprite demo caused me to see that a sprite map could
be done in TBGL. A sprite map would be nice if the number
of Texture Indexes were becoming scarce.
A sprite map demo has...
I finally thought of a slogan I liked.
-------------------------------------------
Fast, efficient, streamlined programming:
thinBasic...
Using Ctrl-C or the context menu acts the same.
I am using 1.7.5.0 and pasting to a standard txt file is no problem
but nothing will paste to an rtf file.
Notepad works fine but a Wordpad doc...
Copying and pasting text from the help manual to an editor does not seem to work.
This would be nice to be able to do.
Thanks.
Ralph
I never would have thought to try width + 1 (0..width) and height + 1 (0..height)
with TBGL_RenderMatrix2D but it works!
With the changes to TBGL_TexCoord2D and TBGL_Vertex the sprites are looking...
Hi. Strange combination makes error not found when an error should be found.
' using thinBasic 1.7.0.0
' no error produced when running but error should be produced
USES "Console"
...