Search found 391 matches
- Tue Mar 30, 2021 11:35 am
- Forum: Newbie questions
- Topic: I looking function paint bucket type (dpaint ou ppaint)
- Replies: 24
- Views: 4477
Re: I looking function paint bucket type (dpaint ou ppaint)
Alpha channel isn't available in 8 bit graphics modes.
- Mon Mar 29, 2021 4:01 pm
- Forum: Wishlist
- Topic: Indefinite Palette cycling?
- Replies: 4
- Views: 373
Re: Indefinite Palette cycling?
Good to know!
- Sat Mar 27, 2021 7:09 pm
- Forum: Wishlist
- Topic: Indefinite Palette cycling?
- Replies: 4
- Views: 373
Re: Indefinite Palette cycling?
@AirsoftSoftwair
I see now that the palette cycling demonstration code doesn't use the built-in cycling command but manipulates the palette manually. Perhaps a future asynchronous version could implement infinite cycling like AmosPro has so that fading and cycling don't conflict.
I see now that the palette cycling demonstration code doesn't use the built-in cycling command but manipulates the palette manually. Perhaps a future asynchronous version could implement infinite cycling like AmosPro has so that fading and cycling don't conflict.
- Sat Mar 27, 2021 7:03 pm
- Forum: Wishlist
- Topic: Cos, Tan, Sin, mention to manual about Degrees and Radians.
- Replies: 3
- Views: 163
Re: Cos, Tan, Sin, mention to manual about Degrees and Radians.
Code: Select all
Function p_deg(rad#)
Return(180*rad#/pi#)
EndFunction
- Tue Mar 23, 2021 5:29 pm
- Forum: Wishlist
- Topic: Indefinite Palette cycling?
- Replies: 4
- Views: 373
Indefinite Palette cycling?
I see that the default for the CyclePalette() function is 1 cycle and stop. If I enter -1 as number of cycles will it cycle indefinitely or will unsigned wraparound at least kick in and cycle to MaxInt times? I'd like -1 to signify an indefinite number of palette cycles.
- Mon Mar 22, 2021 3:26 am
- Forum: Announcements
- Topic: Hollywood 9.0: Sugarcane released!
- Replies: 34
- Views: 2304
Re: Hollywood 9.0: Sugarcane released!
Upgrade order sent!
- Wed Feb 24, 2021 11:28 pm
- Forum: General programming
- Topic: possibility to have two same installeventhandlers at same time?
- Replies: 3
- Views: 551
Re: possibility to have two same installeventhandlers at same time?
After some thought, the 2 table method is essentially a hash-set implementation. Here it is: global HandleKey={} HandleKey["functions"]={} HandleKey["set"]={} HandleKey["last"]=0 Function HandleKey:InstallHandler(func) Local current=self.last self.last=self.last+1 self.functions[current]=func self.s...
- Wed Feb 24, 2021 10:53 pm
- Forum: RapaGUI
- Topic: Advanced RapaGUI techniques
- Replies: 20
- Views: 2251
Re: Advanced RapaGUI techniques
Now for a major update: The first draft of the macro substitution engine! /* ** Template macro library ** ** By Samuel D. Crow */ ; NOTE: ALL TEMPLATE DEFINITIONS MUST BE INCLUDED AFTER THIS FILE Global template={} Global template["macro$"]={} /* ** Pattern Pipeline ** ** Does all pattern substitut...
- Wed Feb 24, 2021 9:41 pm
- Forum: General programming
- Topic: possibility to have two same installeventhandlers at same time?
- Replies: 3
- Views: 551
Re: possibility to have two same installeventhandlers at same time?
Is there any other way to achieve this, except by coding it myself in way of that I refer onkeydown to go to a function which takes care that all my "onkeydown" events are being executed? I mean, I could do something like: InstallEventHandler({onkeydown = onkeydownfuncs function onkeydownfuncs() fo...
- Wed Feb 24, 2021 9:15 pm
- Forum: RapaGUI
- Topic: How to handle a SPACE accelerator?
- Replies: 4
- Views: 286
Re: How to handle a SPACE accelerator?
Have you considered a separate event handler for OnKeyDown events independently from RapaGUI?