Alpha_ProgDes

GDNet+ Basic
  • Content count

    11396
  • Joined

  • Last visited

Community Reputation

6912 Excellent

About Alpha_ProgDes

  • Rank
    Indie Resources Manager

Personal Information

  • Interests
    |programmer|
  1. Again... I do not understand. But this lady clearly has issues and pedophile if not child abuser would not be inaccurate in my description of her based on this article: http://www.foxnews.com/us/2017/06/20/married-middle-school-teacher-27-arrested-for-sex-romps-with-her-underage-boy-student.html
  2. These women are creepy, ActionMan
  3. So once again, there's another story about a female teacher having inappropriate contact with male students. An example of that, here. But this trend has been ongoing and rising (it seems) for the last 10 years. I hate to be that guy, but where were all these teachers when I was in school? But the more serious question is: why are all these grown, reasonably attractive women going out of their way to date children? Is it that hard to find a date? Have casual ...relations, with adults? Is this a power thing? Self-esteem thing? Lack of appreciation thing? I just don't get it. Does anyone have some insight on this? Anecdotal stories? Article to point me to?
  4. We have enough laws on the books to deal with the issues we have now concerning hate speech, terrorism, extremist violence. So I don't see the need to jump off a cliff to enact draconian measures to stop these acts. In terms of Europe, UK in particular, it seems their citizens have the right idea. They can clearly separate the bad from the good (at least according to the media). People on terror watchlists and have been legitimately vetted to be legitimate threats (website viewing, actual travel, social media posts, criminal record, known associates) should be watched closely, among other things. Deported/expelled, as long there is compelling evidence, I'd say go for it. If Europe truly wants to put an end to this, then a lot of these North African and Middle Eastern countries need to be stabilized and engaged with. Otherwise, they'll be complaining about immigration for decades to come.
  5. If you're making a game with Pygame, then a game with the same complexity as: pong, snake, asteroids, breakout, tetris, missile command, galaga,  pac-man, ikari warriors, gradius, super mario bros, or zelda then pygame should be [more than] sufficient.   If you're struggling with making a button class, then know it's not going to be much easier in other languages. Python is one of the easier languages to work with.   So I guess the questions really are: what is it exactly you're struggling with, what's the button planned to be used for (menu, part of in-game GUI, etc), and do you understand what's actually needed to make a button class?
  6. Automatic is nice as long as the algorithm is doing the right thing. Though it could be that if an user is upvoted enough times, then they could be up for consideration and a select group of people can vote on whether or not they get the guru tag. Kinda like how we approve articles now.
  7. @Khawk - poor blogs. :D Is this to promote more articles or because of the random nature of blogs? Just curious. @frob - It would be nice if somehow people could be given some sort of acknowledgement as a guru. Like if someone has a "C++" tag next to their name, then people know that user is knowledgeable in C++. The tag could be given by committee or number of articles (or something).
  8. 1 - I'm quite ok with the OP getting points or good answers getting points. At least we know those people are adding to the knowledge base of GDN and the points can indicate that. 2 - I never liked getting points for logging in or upvoting. 3 - However, users should be rewarded, quite visibly, for actual contributions to the site. Blogs (arguably), articles, content for the Store, creating tutorials, hosting Yearly Events (ex: WoA). If those rewards come in the form of (major) points, icons, and/or titles, then that's visible and should be well-received. However, we can provide something a bit more tangible. Books, [x] amount of time of free membership, a ticket to a conference (ex: CppCon, E3, PAX East), Steam Keys, etc. Either heavily discounted or free. (Or if you really wanna get crazy, pull a string and get someone's game published by a AAA studio). I think that would spark some activity or at least motivation for some more, if not better, content to be added by the users. 4 - It still would be nice if there were some place to hosted or publish games. (But I know that a different subject for a different day.)
  9. I'm in like Flinn. First line of code: return 0;
  10.   I agree. Or at least Your Announcements forum. Here: https://www.gamedev.net/forum/6-your-announcements/
  11.   I agree. Or at least Your Announcements forum. Here: https://www.gamedev.net/forum/6-your-announcements/
  12.   I agree. Or at least Your Announcements forum. Here: https://www.gamedev.net/forum/6-your-announcements/
  13. The liberal mindset, at least mine anyway, is this: Trump accused for months that he and team and Cabinet were and might still be in collusion with Russia More evidence of collusion piles up and the "heat" intensifies Syria which is under significant Russian influence for one batshit moment decide to drop a chemical attack on civilians (conspiracy part(s) follow) Perfect opportunity for Trump to bomb ally and claim "i haz no collusions! i bombz 5 feet from comradez!" Everybody, once again plays "Squirrel!", gets distracted and focuses on this new Trumpism Trump missiles airbase just enough to put on a show, but not enough render it useless. Strangely Russian and Syrian aircraft are using it again 2 days later as if nothing happened Bonus effect: Allows NSA Director to flex muscles and throw out Bannon and his lackeys. Showing that Bannon doesn't run the Oval. Bonus effect 2: Nuclear option is used and Gorusch is now confirmed as S.C. Justice with not much coverage as one would expect. Bonus effect 3: Russia now won't update US on flight plans and engagement in the area. Nunes recusal after Susan Rice accusation plus Syria bombing clears way (temporarily at least) for next Trump agenda item I don't mind the fact that he bombed Syria. But I was pretty sure the country was against that action anyway. Especially after all the shit Obama got for even trying such a thing. And if we are in fact just throwing missiles at empty lots and saying "Mission Accomplished" then what's the point? Really?
  14. I'd like to go down that rabbit hole.   Some example code of that, if you don't mind.   Agree. Agree. It'll be used later, in a different tutorial. An array?
  15. """ Sample Python/Pygame Programs Simpson College Computer Science http://programarcadegames.com/ http://simpson.edu/computer-science/ Explanation video: http://youtu.be/_XdrKSDmzqA """ # Import a library of functions called 'pygame' import pygame ## draw_snowman is what I want to put in a class def draw_snowman(screen, x, y): """ --- Function for a snowman --- Define a function that will draw a snowman at a certain location. """ pygame.draw.ellipse(screen, WHITE, [35 + x, 0 + y, 25, 25]) pygame.draw.ellipse(screen, WHITE, [23 + x, 20 + y, 50, 50]) pygame.draw.ellipse(screen, WHITE, [0 + x, 65 + y, 100, 100]) # Initialize the game engine pygame.init() # Define the colors we will use in RGB format BLACK = [0, 0, 0] WHITE = [255, 255, 255] # Set the height and width of the screen size = [400, 500] screen = pygame.display.set_mode(size) # Loop until the user clicks the close button. done = False clock = pygame.time.Clock() def main(): while not done: for event in pygame.event.get(): if event.type == pygame.QUIT: done = True # Clear the screen and set the screen background screen.fill(BLACK) # Snowman in upper left draw_snowman(screen, 10, 10) # Snowman in upper right draw_snowman(screen, 300, 10) # Snowman in lower left draw_snowman(screen, 10, 300) # Go ahead and update the screen with what we've drawn. # This MUST happen after all the other drawing commands. pygame.display.flip() # This limits the while loop to a max of 60 times per second. # Leave this out and we will use all CPU we can. clock.tick(60) # Be IDLE friendly pygame.quit() if __name__ == "__main__": main() Now if I make a class such as - import pygame # Define the colors we will use in RGB format BLACK = [0, 0, 0] WHITE = [255, 255, 255] class Snowman(): def __init__(self): # --- Class Attributes --- # Snowman position self.x = 0 self.y = 0 # Snowman's vector self.change_x = 0 self.change_y = 0 # Snowman size self.size = 10 # Snowman color self.color = [255,255,255] # --- Class Methods --- def move(self): self.x += self.change_x self.y += self.change_y # --> Should I pass pygame/pygame.draw/pygame.draw.ellipse # to the draw method? Or is this proper as is? def draw(self, screen): pygame.draw.ellipse(screen, WHITE, [35 + self.x, 0 + self.y, 25, 25]) pygame.draw.ellipse(screen, WHITE, [23 + self.x, 20 + self.y, 50, 50]) pygame.draw.ellipse(screen, WHITE, [0 + self.x, 65 + self.y, 100, 100]) And change the original code to this - """ Sample Python/Pygame Programs Simpson College Computer Science http://programarcadegames.com/ http://simpson.edu/computer-science/ Explanation video: http://youtu.be/_XdrKSDmzqA """ # Import a library of functions called 'pygame' import pygame from P10_Graphics import Graphics def main(): snowman1 = Graphics.Snowman() snowman2 = Graphics.Snowman() snowman3 = Graphics.Snowman() # Initialize the game engine pygame.init() # Define the colors we will use in RGB format BLACK = [0, 0, 0] WHITE = [255, 255, 255] # Set the height and width of the screen size = [400, 500] screen = pygame.display.set_mode(size) # Loop until the user clicks the close button. done = False clock = pygame.time.Clock() while not done: for event in pygame.event.get(): if event.type == pygame.QUIT: done = True # Clear the screen and set the screen background screen.fill(BLACK) # Snowman in upper left snowman1.x = 10 snowman1.y = 10 snowman1.draw(screen) # Snowman in upper right snowman2.x = 300 snowman2.y = 10 snowman2.draw(screen) # Snowman in lower left snowman3.x = 10 snowman3.y = 300 snowman3.draw(screen) # Go ahead and update the screen with what we've drawn. # This MUST happen after all the other drawing commands. pygame.display.flip() # This limits the while loop to a max of 60 times per second. # Leave this out and we will use all CPU we can. clock.tick(60) # Be IDLE friendly pygame.quit() if __name__ == "__main__": main() Should the draw() take other parameters? Is this right? Is there a better way to write this particular piece of code?