Search found 732 matches

by Allanon
Thu Aug 24, 2023 8:45 am
Forum: Showcase
Topic: AI KILLS ALL HUMANS Youtube Trailer released
Replies: 1
Views: 4413

Re: AI KILLS ALL HUMANS Youtube Trailer released

Congrats for your release! :D
by Allanon
Tue Aug 22, 2023 11:57 am
Forum: General programming
Topic: Hide CMD windows when running some program via Run() on windows
Replies: 8
Views: 2840

Re: Hide CMD windows when running some program via Run() on windows

I don't know if the fix added will remove the black windows, I used the tool "nircmd.exe" with the syntax nircmd.exe exec hide <command_to_execute> to hide that annoying window, you can read more about it here : https://nircmd.nirsoft.net/exec.html Sometimes it's tricky to hide cmd windows...
by Allanon
Mon Aug 07, 2023 10:23 am
Forum: Wishlist
Topic: MakeButton ID of Nil to be usable for creating button again.
Replies: 11
Views: 4254

Re: MakeButton ID of Nil to be usable for creating button again.

Hello, if this can help, in my HGui library I implemented the sliders I using two buttons. First I create the back area for the full size slider and then another button to handle the cursor. When the cursor changes its position I simply removed the old button and generate another one to the new posi...
by Allanon
Tue Jul 25, 2023 10:50 am
Forum: Hollywood bugs
Topic: CreateTextObject using Align
Replies: 17
Views: 6820

Re: CreateTextObject using Align

I found this problem with the instruction CreateTextObject always it create the text object with the left align; I tryed to use with center and right but always the text object is showed to left by default, where is the problem, in below easy example, is visible this problem: ;Always CreateTextObje...
by Allanon
Fri Jul 14, 2023 11:42 am
Forum: Showcase
Topic: Someone interested in some libs/includes?
Replies: 13
Views: 16561

Re: Someone interested in some libs/includes?

Hello :)

I've updated my G2D library documentation, part of my Hollywood libraries repository, the doc is accessible here, the main repository is here.

For more details have a look at my Patreon post here.
by Allanon
Tue Jul 11, 2023 4:55 pm
Forum: Newbie questions
Topic: Confused About Tables
Replies: 11
Views: 3610

Re: Confused About Tables

ocean77 wrote: Tue Jul 11, 2023 4:18 pm I think I understand. I can certainly see the outline of how powerful arrays might be and can think of several uses although I'm far from proficient enough to put it into practice.
Forgive my ignorance, guys. Your help is much appreciated. :)
We all started from scratch, no need to worry :)
by Allanon
Mon Jul 10, 2023 9:55 pm
Forum: Newbie questions
Topic: Confused About Tables
Replies: 11
Views: 3610

Re: Confused About Tables

Check out this simple Hello World script: @DISPLAY{WIDTH = 960, HEIGHT = 540, MODE = "WINDOWED", TITLE = "Title", COLOR = #BLACK} SetFont(#SANS, 45) SetFontStyle(#ANTIALIAS) SetFontColor(#WHITE) _data = {30, 60, "One", 100, 250, "Two", 270, 400, "Three&q...
by Allanon
Mon Jul 10, 2023 9:48 pm
Forum: Newbie questions
Topic: Confused About Tables
Replies: 11
Views: 3610

Re: Confused About Tables

No more constants but the readibility is improved and you can process all the colors iterating the palette table, for example if you need to darken all the colors or you can also load/save the entire table from/to files :) Oh... So, the problem was the constant part? I was just somehow under the im...
by Allanon
Fri Jul 07, 2023 12:22 pm
Forum: Newbie questions
Topic: Confused About Tables
Replies: 11
Views: 3610

Re: Confused About Tables

Hi, tables are very powerful, why don't you do something like this? Your code Const #TEXT_COL = $000020 Const #DECO_COL = $F08000 Const #PAPER_COL = $F0F0F0 Const #OPTS_LOCOL = $0050A0 Const #OPTS_HICOL = $D02020 Table alternative: palette = { text_col = $000020, deco_col = $F08000, paper_col = $F0F...
by Allanon
Sun May 28, 2023 12:01 pm
Forum: Newbie questions
Topic: Safe to use Local table for Recursive function
Replies: 1
Views: 685

Re: Safe to use Local table for Recursive function

Hi Bugala, when I use recursive functions and I need to store temporary tables but shared between each "recursion" call I pass this table to the function, something like this: Function recursion(data1, data2, tempTable) If IsNil(tempTable) ; This is the first call, setup the temp table tem...