Page 7127 of 7354
Re: All topics unimportant enough to not create a thread for
Posted: Sun Sep 27, 2015 12:50 pm
by Liraxus
HOOOOOOT
CROOOOOOOOOSS
BUUUUUUUUUUUUUUUUUUNS
Re: its late at night and im bored
Posted: Sun Sep 27, 2015 1:31 pm
by Ersatz
AngelicSongx wrote:What's everyone's favorite ice cream flavor?
I'd say mine is maple & walnuts. There's a brand from southern Quebec (Coaticook) that's amazing. They use real ingredients and actual cream and that makes all the difference.
Re: its late at night and im bored
Posted: Sun Sep 27, 2015 4:10 pm
by Supaaku
AngelicSongx wrote:What's everyone's favorite ice cream flavor?
Butterscotch & Gingerbread.
Re: its late at night and im bored
Posted: Sun Sep 27, 2015 7:23 pm
by The Nightman
AngelicSongx wrote:What's everyone's favorite ice cream flavor? Mine is mint chocolate chip. But, I have been leaning more towards cookies and creame lately.
Butter pecan and birthday cake. bodaciously the only correct answer.
Re: All topics unimportant enough to not create a thread for
Posted: Sun Sep 27, 2015 8:04 pm
by Brekkjern
I started working on a game to learn programming, but there are so many things I can't figure out how to do properly. It's not really an issue of syntax/capabilities of code, but rather how to make the program do what I want.
If someone wants to help out it's written in Python and
on GitHub.
Re: All topics unimportant enough to not create a thread for
Posted: Sun Sep 27, 2015 8:39 pm
by AngelicSongx
Riku wrote:Everyone who can think of one, please tell me a song or two (with English words) you liked from elementary music class. Preferrably one that you haven't heard anywhere else, so that it's less likely that a bunch of music students will know it.
I remember we tried singing songs from The Music Man once. Other than that, I don't remember very many songs that music students wouldn't know, other than some Texan songs like "The Yellow Rose of Texas". There were other songs I liked from elementary school that weren't in music class, though, if that helps. Anything by Lucas Miller the singing zoologist, and also
We're Going On a Bear Hunt. The bear hunt song that I linked is way less scary than the one I remember. Everyone was afraid of bears because of this song.
Although, that reminds me, there was a song from my brother's middle school play that went something like "Gobble gobble gobble, fat turkeys hooray~ Gobble gobble gobble, fat turkeys today~ You're not here for living, you're here for Thanksgiving~ Gobble gobble gobble, fat turkeys hooray~"
I don't remember what the play was about, or if I even went to go see it, but it's still really creepy to remember, especially since he went to a Catholic middle school.
Re: All topics unimportant enough to not create a thread for
Posted: Sun Sep 27, 2015 8:56 pm
by Syobon
Brekkjern wrote:I started working on a game to learn programming, but there are so many things I can't figure out how to do properly. It's not really an issue of syntax/capabilities of code, but rather how to make the program do what I want.
If someone wants to help out it's written in Python and
on GitHub.
That gives me a 404.
Re: All topics unimportant enough to not create a thread for
Posted: Sun Sep 27, 2015 9:04 pm
by Brekkjern
Syobon wrote:Kubein wrote:I started working on a game to learn programming, but there are so many things I can't figure out how to do properly. It's not really an issue of syntax/capabilities of code, but rather how to make the program do what I want.
If someone wants to help out it's written in Python and
on GitHub.
That gives me a 404.
Eh. It's because of the wordfilter that filters my name into Kubein. Just substitute that in the URL and it should work.
Re: All topics unimportant enough to not create a thread for
Posted: Sun Sep 27, 2015 9:50 pm
by Ersatz
Oh hey I could help a bit maybe. I've used Python while learning to program two years ago, but we never used it for OOP, we did that in Java and Eiffel.
Do you want to make it graphical? Do you know what library you'd use? In my second semester I made a graphical chess game in Python using Pyglet, which was simple enough. I know other people used Pygame but I haven't looked at it. It seemed much more complex.
Last semester I made a
2-player breakout/pong that could be played through a network (
screenshot). That's the one that had that
funky UML I posted back then.
Back in June I killed some time making a simple platformer using the same library I used for the pong game and two weeks ago I started
porting it to the second version of the library I used, which is much more optimised. The code is still in French but I might take the time to change it eventually.
I could probably answer your questions.
Re: All topics unimportant enough to not create a thread for
Posted: Sun Sep 27, 2015 10:12 pm
by Brekkjern
I honestly don't know yet. I've been thinking of this mostly as practice and prototyping the idea. Graphics haven't really entered the equation yet.
Right now I have just done all that seemed obvious to begin with. I'm having issues trying to figure out what to do now. I know I need a lot of stuff, but I have no idea how to structure it. My next step would probably be to figure out a way to make the game tick in set intervals and probably implementing a way to load assets into memory from file, but I kind of want to get the class definitions done before I start making the constructors(i think it's called that).
Your projects are certainly impressive for a noob like me. I really just don't have any idea what to do next besides whatever little obvious addition think of there and then, so currently it feels like I'm refactoring the same two unfinished classes over and over again.
Re: All topics unimportant enough to not create a thread for
Posted: Sun Sep 27, 2015 11:02 pm
by Toddv1997
[quote="Liraxus"]HOOOOOOT
CROOOOOOOOOSS
BUUUUUUUUUUUUUUUUUUNS[ /quote]
I had to perform a song about Duct tape.
Also Cookies and cream
Re: All topics unimportant enough to not create a thread for
Posted: Sun Sep 27, 2015 11:11 pm
by Ersatz
Brekkjern wrote:My next step would probably be to figure out a way to make the game tick in set intervals
Just like every other interactive program, the main thread is a loop that updates everything. Don't worry about performance and hitting a certain framerate (that's really not what Python is for anyway). What most libraries I've seen do is make you define functions that will be called whenever a certain event is triggered (like on_key_down(), on_mouse_click() ) and take care of the rest.
It's a good idea to make an object that contains the state of the mouse/keyboard and pass it to objects that need it. That way you only have to write once when you detect an event. The way my pong game dealt with whether or not a player controlled his paddle from the local computer or from a remote host was super convenient, the paddles didn't even have to know. They had a "keyboard" attribute which would contain the state of the keys. All you had to do to make a paddle be controlled remotely was give it a "remote_keyboard" object instead of a "local_keyboard" (both subclasses of "keyboard") when creating them.
Brekkjern wrote:and probably implementing a way to load assets into memory from file, but I kind of want to get the class definitions done before I start making the constructors(i think it's called that).
I think you mean a factory. Constructors are the functions within a class that create the objects ( __init__ in Python).
Brekkjern wrote:currently it feels like I'm refactoring the same two unfinished classes over and over again.
I was going to tell you to work with abstract classes and singletons but a quick search showed Python's way of defining those is horrible/nonexistent so nevermind. If you want to really learn OOP, I think other languages would be a better choice. Python is more geared towards scripting and procedural programming, it's implementation of OOP concepts seems like an afterthought.
Re: All topics unimportant enough to not create a thread for
Posted: Mon Sep 28, 2015 4:03 am
by [Citation Needed]
A customer from work tried to add me on Facebook. Somehow he found me despite knowing only my first name.
is it time to delete my Facebook again?
Re: All topics unimportant enough to not create a thread for
Posted: Mon Sep 28, 2015 5:21 am
by Riku
Why not just ignore it? That's what I do.
Re: All topics unimportant enough to not create a thread for
Posted: Mon Sep 28, 2015 7:52 am
by [Citation Needed]
it's more about the fact that people think that is okay to do
just emptied my recycle bin.
12.0 GB