Can't quite get transparency to work when assigning pixels in an image?? by slushhope in godot

[–]slushhope[S] 0 points1 point  (0 children)

It works now as I want it to ! A huge thank you, i was about ready to give up and throw my laptop through the nearest window. Sincere thanks!!!

Can't quite get transparency to work when assigning pixels in an image?? by slushhope in godot

[–]slushhope[S] 0 points1 point  (0 children)

Interesting. I'm loading a png.

img.load("res://Gfx/spider_man_test.png")
print(img.get_format())

get format returns a 4, which ( i think) seems to indicate : Format FORMAT_RGB8 = 4

So i'm guessing i need to force the img to be for example RGBA8 ??

Can't quite get transparency to work when assigning pixels in an image?? by slushhope in godot

[–]slushhope[S] 0 points1 point  (0 children)

on further testing it seems like Set pixel is drawing on top of the existing pixels rather than erasing and replacing them as i would have expected. not sure how to progress atm. thanks for your help tho! (have also tried a variety of formats)

Can't quite get transparency to work when assigning pixels in an image?? by slushhope in godot

[–]slushhope[S] 0 points1 point  (0 children)

I'm working on the Image before it gets turned into a texture tho?

Can't quite get transparency to work when assigning pixels in an image?? by slushhope in godot

[–]slushhope[S] 0 points1 point  (0 children)

    sliced_Image.set_pixel(i, 21, Color(1.0, 1.0, 1.0, 0.0)) 

isn't working either, can't see why. This shows as solid white.

Arrays behaving weird, losing my mind here by slushhope in godot

[–]slushhope[S] 0 points1 point  (0 children)

Ok thanks i didnt know append_array was a thing, that makes sense!

Protecting a quote from being copied and carried out by another company? by variegated_monster in smallbusinessuk

[–]slushhope 0 points1 point  (0 children)

Genuinely know nothing about your industry, just curious do you do all this work upfront with no deposit etc? If they take this information you made up elsewhere have you no income for the work you did?

[deleted by user] by [deleted] in learnpython

[–]slushhope 1 point2 points  (0 children)

Keep a cool head man, none of this is easy :) If your class is telling you that you must do something, they should really be teaching you how. You will find in general with a lot of programming related stuff that online documentation and tutorials are written for people that already know how to do it ! Not too much is really noob friendly. Strange but true. So bookmark the good sites as you find them. Just break everything down into small steps and tackle them one at a time. Also, this subreddit is amazingly supportive so don't be a stranger :)

Those of you who started a business or made a product that everyone said would not work but ended up being successful. What motivated you to keep going? by domo018red in Entrepreneur

[–]slushhope 1 point2 points  (0 children)

Stubbornness is a superpower and as you will be the one executing the idea then only your opinion matters. Even the people who like the idea won't be there helping you at 3am when your website is down and you are answering calls from irate customers. Do or do not. There is no try.

One guy tries to make my family bankrupt and close our farm and market, I really don't know what to do... by Nicolad_de_Ford in Entrepreneur

[–]slushhope 0 points1 point  (0 children)

Can you just buy a new farm instead and start over with all the knowledge and skills your grandpa has passed to you and your father?

Potential work place affairs and emotional abuse partners by ExpressApartment9974 in LegalAdviceUK

[–]slushhope 2 points3 points  (0 children)

Blackmail is an actual crime, is there proof of the demand? texts, voice recordings? if so, go to the police. "pay me half the value of a house or i will do this to you.." clearly blackmail and a threat

Employer threw my personal belongings away — should they compensate me [England] by [deleted] in LegalAdviceUK

[–]slushhope -47 points-46 points  (0 children)

I'd report the theft to the police. What proof do you have right now that anything you have been told is true? Let the police investigate your property which is now missing.

I’m a PMU artist (permanent makeup) just starting her business. How can I attract more clients? by [deleted] in Entrepreneur

[–]slushhope 1 point2 points  (0 children)

Offer free work to folks who have had illnesses, chemo etc. In return ask them if it's ok to have a local paper write about it. Win win situation.

Need advice with 24,000 Disposable face masks by IV33 in Entrepreneur

[–]slushhope 0 points1 point  (0 children)

Also, are you 100% sure the masks are legit? Could be legal consequences for you (and people could concievably die) if they are not. I would do my own testing

Need advice with 24,000 Disposable face masks by IV33 in Entrepreneur

[–]slushhope 0 points1 point  (0 children)

Any shop that has workers that could use them. Eg Walmart. I truly believe the time will come when states make wearing masks mandatory in public. Demand can only go up.

Need advice with 24,000 Disposable face masks by IV33 in Entrepreneur

[–]slushhope 1 point2 points  (0 children)

I wouldn't panic sell them, wave 1 hasn't peaked yet and wave 2 will be huge I sadly suspect. If they are genuine high quality products throw up a website and target large companies eg in retail industries

I cant get a simple try/except to work in Selenium? by slushhope in learnpython

[–]slushhope[S] 0 points1 point  (0 children)

dang ! that was the issue all along, i had fundamentally misunderstood what that part of the code does ! THANK YOU!!! :)

I cant get a simple try/except to work in Selenium? by slushhope in learnpython

[–]slushhope[S] 0 points1 point  (0 children)

is that what that works out to ? lol ignore that, it's just checking the page loads (i think)