14 April 2020, 03:06 | #241 | |
Registered User
Join Date: Mar 2018
Location: Austria
Posts: 617
|
Quote:
MidHandle is not changing/determining something here, it's just to set the handle afterwards for blitting. The result, most of the time, is not beautifull (in non 90 degree situations), but hey, even photoshop doesnt rotate lowres shapes in small angles beautifully as I recently found out... Where is your rotation axis located? Want to share a pic? |
|
25 April 2020, 14:10 | #242 |
Registered User
Join Date: Mar 2018
Location: Austria
Posts: 617
|
In some sources i find usage of NPrint"\nSomeText"
However my current installation of AB3.7.3 just prints "\n" and no linebreak there. Was this removed or am I missing something here? |
25 April 2020, 19:00 | #243 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,381
|
You need to escape the newline sequence with a second backslash, so NPrint "\\nSomeText" should work. Also, it requires optimize 4 to activate the new syntax mode.
|
25 April 2020, 20:41 | #244 |
Registered User
Join Date: Mar 2018
Location: Austria
Posts: 617
|
I'm sure I've seen it in at least one of Thilos Sourcecodes with a single backslash. So I fired up BB2 to check if it works there, but it won't also.
However using the syntax you described it works fine, thanks! |
25 April 2020, 21:17 | #245 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,381
|
Cool Yeah, it was one of the new AmiBlitz3 additions. What you might be seeing is that one of the backslashes is getting eaten by AmigaGuide, so if you view the documentation, it might only show a single backslash. Just a guess though
|
03 May 2020, 14:20 | #246 |
Registered User
Join Date: Jan 2014
Location: Belgrade / Serbia
Age: 41
Posts: 1,008
|
Why sometimes compiled executables require env: assigned?
|
04 May 2020, 20:25 | #247 |
Registered User
Join Date: Mar 2018
Location: Austria
Posts: 617
|
(I hope it's okay if I ask another question in parallel)
Do the dimensions (wxh) of bitmaps that I load (and show) have to be multiples of 8? (bitmap..., loadBitmap ..., initCoplist..., displayBitmap...) Edit: Had overlooked a bug which prevented correct bitmap display. Other sizes work too, nevermind. Last edited by Nightshft; 05 May 2020 at 19:28. |
24 June 2020, 12:30 | #248 |
Registered User
Join Date: Jan 2014
Location: Belgrade / Serbia
Age: 41
Posts: 1,008
|
Can I use powerpacked mods with Blitz? Will it work just with pp.lib in libs perhaps or something more would be needed?
|
24 June 2020, 17:57 | #249 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
You'll need powerpacker.library and then convert the fd file for use in blitz
|
29 June 2020, 15:44 | #250 |
Banana
Join Date: Jul 2016
Location: Darmstadt
Posts: 1,217
|
Does Blitz (or one of the expansions on the UBB CD) have a map editor, tile-based?
|
29 June 2020, 16:33 | #251 | |
Registered User
Join Date: Oct 2008
Location: Finland
Posts: 643
|
Quote:
|
|
29 June 2020, 16:45 | #252 |
Banana
Join Date: Jul 2016
Location: Darmstadt
Posts: 1,217
|
Cool I'll check that out, thanks.
|
23 May 2021, 04:32 | #253 |
Registered User
Join Date: Mar 2018
Location: Austria
Posts: 617
|
When I dont enter blitzmode and stay system friendly and on the current screen, is it possible to change the system palette/colors somehow?
|
23 May 2021, 12:31 | #254 |
Registered User
Join Date: Jan 2014
Location: Belgrade / Serbia
Age: 41
Posts: 1,008
|
FindScreen 0
Loadpalette 0... Use palette 0 Should work. I used that approach but with wbtoscreen and it worked. |
23 May 2021, 22:30 | #255 |
Registered User
Join Date: Mar 2012
Location: UK
Posts: 1,895
|
Nice to see this thread burst back into life!
|
24 May 2021, 02:32 | #256 |
Registered User
Join Date: Mar 2018
Location: Austria
Posts: 617
|
Cobe that works fine, thanks!
>Nice to see this thread burst back into life! Agreed. |
27 August 2021, 10:50 | #257 |
Registered User
Join Date: Jan 2014
Location: Belgrade / Serbia
Age: 41
Posts: 1,008
|
Can I have more than one customstring, at different ypos of course?
For now, when I add second customstring, first one no longer works. |
15 December 2021, 21:03 | #258 |
Registered User
Join Date: Feb 2017
Location: Urmston, Manchester, UK
Posts: 23
|
How do you get text to wrap in a window you've opened, rather than have it "fall off" the edge? I'm sure I used to know, but can't remember for the life of me!
|
31 January 2022, 23:15 | #259 |
Registered User
Join Date: Mar 2018
Location: Austria
Posts: 617
|
You can open a messagebox with some text and one button with "Request".
Can you open a messagebox with 2 buttons like "OK" and "Cancel" without having to define a window and all its properties and gadgets? |
01 February 2022, 11:09 | #260 | ||
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,381
|
Quote:
Quote:
Code:
result.w = Request("Test", "Please choose an option","Continue|Hold|Cancel") |
||
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blitz basic] How much amiga-blitz friendly is this? | saimon69 | Coders. Blitz Basic | 105 | 21 April 2022 19:45 |
Blitz Basic (1) | Retro1234 | Coders. Blitz Basic | 9 | 18 February 2016 17:54 |
Blitz basic 2 Help | Havie | Coders. Blitz Basic | 30 | 08 September 2013 09:15 |
Blitz Basic 2 anyone? | jobro | request.Apps | 12 | 28 November 2005 18:15 |
Blitz Basic 2 | LaundroMat | Retrogaming General Discussion | 5 | 24 July 2001 08:10 |
|
|