Search found 361 matches

by amyren
Wed Oct 25, 2023 10:05 pm
Forum: Tutorials
Topic: Block- Man Script
Replies: 16
Views: 9169

Re: Block- Man Script

This seem to work @DISPLAY{WIDTH = 800, HEIGHT = 600, MODE = "WINDOWED"} ;Create the window CreateBrush(1, 16, 16, #GREEN) ; CREATE BLOCK-MAN CreateBrush(2, 32, 32, #GRAY) ; CREATE OBSTICLE BM_Xpos = #CENTER ; Set initial X-position BM_Ypos = #CENTER ; Set initial Y-position SPEED = 3 ; Se...
by amyren
Wed Oct 25, 2023 12:53 am
Forum: Newbie questions
Topic: How to SaveSnapshot with coordinates
Replies: 5
Views: 3335

Re: How to SaveSnapshot with coordinates

Thank you, CropBrush did the job :)
by amyren
Tue Oct 24, 2023 12:01 pm
Forum: Newbie questions
Topic: How to SaveSnapshot with coordinates
Replies: 5
Views: 3335

How to SaveSnapshot with coordinates

This will save the whole window SaveSnapshot(f$, #SNAPDISPLAY, #IMGFMT_PNG) But how to save just a part of the display, like an area specified by x, y, width, height? SaveSnapshot does not apear to support coordinates GrabDesktop does support coordinates, but that would only be usable if using a ful...
by amyren
Mon Oct 16, 2023 4:37 pm
Forum: Newbie questions
Topic: Understanding the typical hollywood loop
Replies: 11
Views: 7839

Re: Understanding the typical hollywood loop

It was honestly a really great learning experience that has got me a solid basis of Hollywood, I've finished my paint program and submitting into the amiga tool jam right now. :) I've now been making my own tiling engine with page/chunk loading and unloading and I worked on a simple racing game on ...
by amyren
Mon Oct 16, 2023 2:36 pm
Forum: Newbie questions
Topic: Understanding the typical hollywood loop
Replies: 11
Views: 7839

Re: Understanding the typical hollywood loop

This could be an excellent candidate for a post in the tutorial section, "How to make a basic paint program"
by amyren
Fri Oct 13, 2023 10:40 am
Forum: Newbie questions
Topic: Table field 1 not initialized
Replies: 1
Views: 2662

Re: Table field 1 not initialized

Ok, sleeping on it helped:)
I see know why this error comes.
I am removing the table item while still in the FOR NEXT loop, so the next loop will throw the error.
by amyren
Thu Oct 12, 2023 8:26 pm
Forum: Newbie questions
Topic: Table field 1 not initialized
Replies: 1
Views: 2662

Table field 1 not initialized

Am I doing something wrong here or could this be a bug? This code will quit with the following error: Error in line 8 (Unnamed4.hws): Table field 2 was not initialized! To reproduce, select and ban first user on the list, then do the same for the second user. Then select first user again and remove ...
by amyren
Fri May 05, 2023 11:31 am
Forum: Newbie questions
Topic: How to get variable from a textentry
Replies: 8
Views: 1050

Re: How to get variable from a textentry

Thanks, thats exactly what I was thinking of :D
by amyren
Thu May 04, 2023 1:55 pm
Forum: Newbie questions
Topic: How to get variable from a textentry
Replies: 8
Views: 1050

Re: How to get variable from a textentry

@jPV
Thanks for your example. Would it be possible to use that triggervalue to fill in the textentry?
Eg. if the user writes the first letters of a certain word, you update the textentry with the full word.
by amyren
Sun Mar 26, 2023 2:34 pm
Forum: General programming
Topic: How to display progress of a for-next loop
Replies: 8
Views: 2013

Re: How to display progress of a for-next loop

Thanks, I think I got something cooking now. I got my example to work now, just need to find how to apply the same into my main program. modyfied example @REQUIRE "RapaGUI" @FILE 1, "Dialogs.xml" @FILE 2, "progress.xml" Function p_Test_progress() If IsOnline() Seek(2, 0...