Read More

Slide 1 Title Here

Slide 1 Description Here
Read More

Slide 2 Title Here

Slide 2 Description Here
Read More

Slide 3 Title Here

Slide 3 Description Here
Read More

Slide 4 Title Here

Slide 4 Description Here
Read More

Slide 5 Title Here

Slide 5 Description Here

Tuesday, 26 December 2017

See the interesting way Sahara Reporters reported news of James Ibori's attendance at the wedding of Orji Uzor Kalu's daughter...lol

See the interesting way Sahara Reporters reported news of James IboriSee the interesting way Sahara Reporters reported news of James IboriSee the interesting way Sahara Reporters reported news of James IboriSee the interesting way Sahara Reporters reported news of James Ibori
Read More

Adorable photo of ex-beauty queen, Anna Banner and her daughter, Sophia

Adorable photo of ex-beauty queen, Anna Banner and her daughter, Sophia

So cute! Anna is pictured above with her daughter, Sophia. See full photo below
Read More

ELON MUSK MIGHT BE BACK TOGETHER WITH AMBER HEARD — MEET THE ACTRESS WHO HAD THE BILLIONAIRE TESLA CEO LOVESICK

Elon Musk was spotted kissing Amber Heard, who had broken his heart. Here's everything you need to know about the actress.Later that year, she starred in the indie film "Remember the Daze," which was panned by critics. She also guest-starred in an episode of Showtime's "Californication."
Elon Musk, the founder of Tesla, apparently can't get enough of the actress Amber Heard.
In a November interview with Rolling Stone, Musk said he had split with Heard, though it sounded as if he was still pining after his ex and concerned about the status of his love life.
"I just broke up with my girlfriend," Musk said. "I was really in love, and it hurt bad."
He added: "If I'm not in love, if I'm not with a long-term companion, I cannot be happy."
But on Friday, TMZ snapped pictures of the two kissing after getting lunch in LA. While this doesn't confirm they're back together — TMZ later quoted a source close to Musk as saying they weren't — it's a possibility.
Heard, 31, has already had quite a career and continues to take on bigger acting roles. This year, she appeared as Mera, the queen of Atlantis, in "Justice League," and she'll probably have a more substantial role in 2018's "Aquaman." She's also an advocate for women, especially victims of domestic violence.

HEARD WAS BORN IN AUSTIN, TEXAS, IN 1986. WHEN SHE WAS 17, SHE DROPPED OUT OF HIGH SCHOOL AND MOVED TO LOS ANGELES TO PURSUE AN ACTING AND MODELING CAREER.

Heard was born in Austin, Texas, in 1986. When she was 17, she dropped out of high school and moved to Los Angeles to pursue an acting and modeling career.play
Heard was born in Austin, Texas, in 1986. When she was 17, she dropped out of high school and moved to Los Angeles to pursue an acting and modeling career.
  (Jordan Strauss/Invision/AP)
Source: The Telegraph


HER FIRST MOVIE ROLE WAS IN THE 2004 SPORTS DRAMA "FRIDAY NIGHT LIGHTS," WHICH STARRED BILLY BOB THORNTON. (IT LATER BECAME A TV SHOW.)

Her first movie role was in the 2004 sports drama "Friday Night Lights," which starred Billy Bob Thornton. (It later became a TV show.)play
Her first movie role was in the 2004 sports drama "Friday Night Lights," which starred Billy Bob Thornton. (It later became a TV show.)
  (Larry Busacca/Getty)


BEFORE THAT, SHE HAD SUPPORTING AND GUEST-STARRING ROLES ON TEEN DRAMAS INCLUDING "JACK AND BOBBY" AND "THE OC."

Before that, she had supporting and guest-starring roles on teen dramas including "Jack and Bobby" and "The OC."play
Before that, she had supporting and guest-starring roles on teen dramas including "Jack and Bobby" and "The OC."
  (Shutterstock / Featureflash)


IN 2005'S "NORTH COUNTRY," SHE PLAYED A YOUNGER VERSION OF CHARLIZE THERON'S CHARACTER.

In 2005's "North Country," she played a younger version of Charlize Theron's character.play
In 2005's "North Country," she played a younger version of Charlize Theron's character.
  (Fred Thornhill/Reuters)


SHE ALSO HAD A SMALL ROLE IN 2006'S "ALPHA DOG," WHICH STARRED JUSTIN TIMBERLAKE AND EMILE HIRSCH.

She also had a small role in 2006's "Alpha Dog," which starred Justin Timberlake and Emile Hirsch.play
She also had a small role in 2006's "Alpha Dog," which starred Justin Timberlake and Emile Hirsch.
  (Universal)


IN 2007, SHE HAD A STARRING ROLE ON THE CW'S "HIDDEN PALMS."

In 2007, she had a starring role on The CW's "Hidden Palms."play
In 2007, she had a starring role on The CW's "Hidden Palms."
  (The CW)
The show was canceled after eight episodes aired.


LATER THAT YEAR, SHE STARRED IN THE INDIE FILM "REMEMBER THE DAZE," WHICH WAS PANNED BY CRITICS. SHE ALSO GUEST-STARRED IN AN EPISODE OF SHOWTIME'S "CALIFORNICATION."

Later that year, she starred in the indie film "Remember the Daze," which was panned by critics. She also guest-starred in an episode of Showtime's "Californication."play
Later that year, she starred in the indie film "Remember the Daze," which was panned by critics. She also guest-starred in an episode of Showtime's "Californication."
  (Frist Look)
"Remember the Daze" has a 0% rating on Rotten Tomatoes.


SHE BECAME MORE RECOGNIZED AFTER PLAYING SETH ROGEN'S GIRLFRIEND IN 2008'S "PINEAPPLE EXPRESS."

She became more recognized after playing Seth Rogen's girlfriend in 2008's "Pineapple Express."play
She became more recognized after playing Seth Rogen's girlfriend in 2008's "Pineapple Express."
  (Columbia Pictures)


IN 2009, SHE APPEARED IN "THE STEPFATHER," "THE JONESES," AND "ZOMBIELAND."

In 2009, she appeared in "The Stepfather," "The Joneses," and "Zombieland."play
In 2009, she appeared in "The Stepfather," "The Joneses," and "Zombieland."
  (Columbia Pictures)


IN 2010, HEARD CAME OUT AS BISEXUAL.

In 2010, Heard came out as bisexual.play
In 2010, Heard came out as bisexual.
  (Dimitrios Kambouris/Getty)
She came out at a celebration in Los Angeles honoring the 25th anniversary of GLAAD.


SHE STARRED ALONGSIDE JOHNNY DEPP IN THE 2011 FILM "THE RUM DIARY," AND THE TWO ACTORS BEGAN DATING. LATER THAT YEAR, SHE STARRED OPPOSITE NICOLAS CAGE IN "DRIVE ANGRY."

She starred alongside Johnny Depp in the 2011 film "The Rum Diary," and the two actors began dating. Later that year, she starred opposite Nicolas Cage in "Drive Angry."play
She starred alongside Johnny Depp in the 2011 film "The Rum Diary," and the two actors began dating. Later that year, she starred opposite Nicolas Cage in "Drive Angry."
  (FilmDistrict)
Depp had left Vanessa Paradis, his longtime partner. They have two children together.


IN 2011, SHE HAD A STARRING ROLE ON NBC'S "THE PLAYBOY CLUB," WHICH CENTERED ON THE BUNNIES AND PATRONS OF THE ORIGINAL PLAYBOY CLUB IN 1960S CHICAGO. IT WAS PANNED BY CRITICS AND CANCELED AFTER THREE EPISODES AIRED BECAUSE OF LOW RATINGS.

In 2011, she had a starring role on NBC's "The Playboy Club," which centered on the bunnies and patrons of the original Playboy Club in 1960s Chicago. It was panned by critics and canceled after three episodes aired because of low ratings.play
In 2011, she had a starring role on NBC's "The Playboy Club," which centered on the bunnies and patrons of the original Playboy Club in 1960s Chicago. It was panned by critics and canceled after three episodes aired because of low ratings.
  (NBC)
Critics said the show glamorized an environment that was demeaning to women. Gloria Steinem, the well-known women's rights advocate who once worked undercover as a bunny in New York, called for a boycott of "The Playboy Club."


SHE WAS THE LOVE INTEREST OF CHANNING TATUM'S CHARACTER IN 2015'S "MAGIC MIKE XXL," THE SEQUEL TO "MAGIC MIKE."

She was the love interest of Channing Tatum's character in 2015's "Magic Mike XXL," the sequel to "Magic Mike."play
She was the love interest of Channing Tatum's character in 2015's "Magic Mike XXL," the sequel to "Magic Mike."
  (Warner Brotheres)


HEARD AND DEPP MARRIED IN A PRIVATE CEREMONY AT THEIR LA HOME IN EARLY 2015.

Heard and Depp married in a private ceremony at their LA home in early 2015.play
Heard and Depp married in a private ceremony at their LA home in early 2015.
  (Getty Images)


IN 2015, SHE HAD A SUPPORTING ROLE IN TOM HOOPER'S "THE DANISH GIRL."

In 2015, she had a supporting role in Tom Hooper's "The Danish Girl."play
In 2015, she had a supporting role in Tom Hooper's "The Danish Girl."
  (Working Title)


THAT YEAR, HEARD AND DEPP MADE HEADLINES WHEN THEY DID NOT CLAIM THEIR YORKSHIRE TERRIERS TO CUSTOMS IN AUSTRALIA. THE COUNTRY THREATENED TO PUT THE DOGS DOWN IF THEY WEREN'T RETURNED TO THE US.

That year, Heard and Depp made headlines when they did not claim their Yorkshire terriers to customs in Australia. The country threatened to put the dogs down if they weren't returned to the US.play
That year, Heard and Depp made headlines when they did not claim their Yorkshire terriers to customs in Australia. The country threatened to put the dogs down if they weren't returned to the US.
  (Getty Images)
Australia has strict animal-quarantine laws to prevent the spread of infections. Heard and Depp returned the dogs to the US and pleaded guilty in court to falsifying quarantine documents.


IN MAY 2016, HEARD FILED FOR DIVORCE FROM DEPP. DAYS LATER, SHE SAID HE HAD PHYSICALLY ABUSED HER THROUGHOUT THEIR RELATIONSHIP.

In May 2016, Heard filed for divorce from Depp. Days later, she said he had physically abused her throughout their relationship.play
In May 2016, Heard filed for divorce from Depp. Days later, she said he had physically abused her throughout their relationship.
(The Sun UK)
She accused him of throwing a phone at her, and she provided pictures that showed bruises on her face.
Source: People


IN AUGUST 2016, HEARD DROPPED THE ABUSE CLAIMS, AND THE COUPLE SETTLED THEIR DIVORCE.

In August 2016, Heard dropped the abuse claims, and the couple settled their divorce.play
In August 2016, Heard dropped the abuse claims, and the couple settled their divorce.
  (Getty Images)
"Our relationship was intensely passionate and at times volatile, but always bound by love," the two said in a statement to TMZ.
Heard donated her $7 million settlement to charities with "a particular focus to stop violence against women."


SHE'S AN ACTIVIST.

She's an activist.play
She's an activist.
  (Getty Images)
In 2016, Heard, alongside Freida Pinto and Gabourey Sidibe, read a letter written by a rape survivor at the Glamour Women of the Year awards. She has also openly spoken out about domestic violence.


HEARD PLAYED MERA, THE ATLANTEAN QUEEN, IN 2017'S "JUSTICE LEAGUE" AND THE UPCOMING FILM "AQUAMAN," EXPECTED TO BE RELEASED NEXT YEAR.

Heard played Mera, the Atlantean queen, in 2017's "Justice League" and the upcoming film "Aquaman," expected to be released next year.play
Heard played Mera, the Atlantean queen, in 2017's "Justice League" and the upcoming film "Aquaman," expected to be released next year.
  (Warner Bros)


IN APRIL, IT BECAME PUBLIC THAT HEARD WAS DATING ELON MUSK, THE BILLIONAIRE FOUNDER OF SPACEX AND TESLA. THEY HAVE SINCE BROKEN UP — WHICH THE BILLIONAIRE SAYS WAS MORE HEARD'S IDEA THAN HIS.

The two had been seen together in romantic images shared on their Instagram accounts, fueling rumors about a relationship.
Read More

Python - Pygame Simple SpriteSheet Animation

In this tutorial we will create a Simple SpriteSheet Animation. Pygame is a cross-platform set of Python modules designed for creating games. It includes computer graphics and sound libraries designed to be used with the Python programming language. This is a good opportunity for beginners to learn Pygame first when it comes in developing some games. So let's now do the coding...

Getting Started

First you will have to download & install the Python IDLE's, here's the link for the Integrated Development And Learning Environment for Python https://www.python.org/downloads/.
After Python IDLE's is installed, open the command prompt then type "python -m pip install pygame", and hit enter.
tut1

Importing Modules

After setting up the installation, run the IDLE and click file and then new file. After that a new window will appear containing a black file this will be the text editor for the python.
Then copy code that I provided below and paste it inside the IDLE text editor
  1. import pygame, sys, os
  2. from pygame.locals import *

Writing The Variables

We will assign the a certain variables that we will need to declare later in the main loop. To do that just kindly write this code inside your text editor.
  1. #Game Initialization
  2. pygame.init()
  3.  
  4. #Center the Game Application
  5. os.environ['SDL_VIDEO_CENTERED']='1'
  6.  
  7. # Game Resolution
  8. screen_width=800
  9. screen_height=600
  10. screen=pygame.display.set_mode((screen_width, screen_height))
  11.  
  12. # Color
  13. black=(0, 0, 0)
  14. white=(255, 255, 255)
  15.  
  16. # Fonts
  17. font="fonts/Gamer.ttf"
  18.  
  19. # Framerate
  20. clock=pygame.time.Clock()
  21. fps=12
  22.  
  23.  
  24. # Image Files
  25. image=pygame.image.load("images/sprite.png")
  26. imageSize=image.get_size()
  27. horiz_cell=6
  28. vert_cell=1
  29. cell_width=imageSize[0]/horiz_cell
  30. cell_height=imageSize[1]/vert_cell
  31.  
  32. cell_list=[]
  33.  
  34. cell_position=0
  35.  
  36. # Slicing The Sprite Sheet
  37. for y in range(0, imageSize[1], int(cell_height)):
  38. for x in range(0, imageSize[0], int(cell_width)):
  39. surface = pygame.Surface((cell_width, cell_height))
  40. surface.blit(image, (0, 0),
  41. (x, y, cell_width, cell_height))
  42. cell_list.append(surface)

Declaring Methods

We will now declare some methods to make it easier to call it in the main functions. This contains several function that can be use all through.
  1. # Methods
  2. def text_format(text, textFont, textSize, textColor):
  3. font=pygame.font.Font(textFont, textSize)
  4. newText=font.render(text, 0, textColor)
  5. return newText

Main Function

This is the Main Code for the Pygame application. The code contains a several function that will allow to render the application. To do that just write this code inside the IDLE text editor.
  1. # Main Loop
  2. while True:
  3. for event in pygame.event.get():
  4. if event.type==pygame.QUIT:
  5. pygame.quit()
  6. sys.exit()
  7.  
  8. if cell_position < len(cell_list)-1:
  9. cell_position+=1
  10. else:
  11. cell_position=0
  12. title=text_format("Python - Pygame Simple SpriteSheet Animation", font, 40, white)
  13. titleRect=title.get_rect()
  14. screen.blit(title, (screen_width/2 - (titleRect[2]/2), 50))
  15. screen.blit(cell_list[cell_position], (300, 200))
  16. pygame.display.update()
  17. pygame.display.set_caption("Python - Pygame Simple SpriteSheet Animation")
  18. clock.tick(fps)
There you have it we successfully created a Simple SpriteSheet Animation using Pygame. I hope that this simple tutorial help you to what you are looking for and enhance your programming capabilities. For more updates and tutorials just kindly visit this site. Enjoy Coding!!
Read More

Social Profiles

Twitter Facebook Google Plus LinkedIn RSS Feed Email Pinterest

Mission

Humanity Protection Trust is committed to enhancing the quality of life of vulnerable Nigerians by improving access to health and education

Vision

o have society where all people have access to education, health care, good standard of living and opportunities to realize their God given potential

Popular Posts

Mission

-to promote testing and vaccination of hepatitis B virus to IDP’s. -to provide water and sanitation in the IDP Camps. -to give quality education to deserving IDP's through scholarships.

OUR VISION.

Continue to give hope to the internally displaced persons in Africa. At H.I.D.P-FOUNDATION we strive to have a profound impact on the lives of the IDP’s. Our communal spirit creates an environment we support and inspire, helping the I.D.P’s achieve their fullest potential

About

HIDP-FOUNDATION is a non-profit organization registered to give hope to the internally displaced persons [IDP’s] in Africa. Our commitment includes, identifying talents and giving lifesaving skills etc to people living in the internally displaced camps in Africa.

Copyright © Zina Comedy Network | Powered by Blogger