Pokémon X and Y Fan Community

General Boards => Social => Topic started by: klondikebar on November 12, 2012, 09:51:50 am



Title: Programming Thread
Post by: klondikebar on November 12, 2012, 09:51:50 am
A few of us on here know how to program, so post anything your working on, any languages you've been learning, errors you need help with, etc.

I'm working on a text adventure game in python. It's about cats :D


Title: Re: Programming Thread
Post by: klondikebar on November 18, 2012, 06:10:52 am
Well, that idea fell through fast. Now I'm making a zelda style action game in Game Maker.


Title: Re: Programming Thread
Post by: Aperl on November 18, 2012, 10:26:34 am
Aperl's Game Showcase

http://pipes-mania.googlecode.com/files/Instructions.doc

Download this file, rename it Instructions.zip and open it.
I have placed in there my most notable GameMaker, C# and Java games.

CSharp - Pipes Mania
This game was my first big project in C#. You click on pipes to rotate them in order to have a closed circuit. You can have multiple circuits though, the only goal is to have all the pipes connected to other pipes. The file options.txt allows you to specify the size of the map, as well as the files you'll be using as backgrounds and tilesets. In-game, the menu does not work. Press R to start a new level. All levels are possible.

CSharp - PaintTextBox
Might not work properly if you are not using Windows Vista or 7. You select characters on the right and draw them by moving your mouse over the screen. It was a mouse position test.

CSharp - SnakeTextBox
Who's never wanted to play a text version of Snake? Pretty much everyone... But hey, play with ASDF and don't touch your tail or the walls!

Java - Pipes Mania
Remake of my C# game. But now, you have three kinds of tiles. Green ones are rotating. Blue ones have two different values. Red ones cannot be modified. The properties file determines how tall is the game board, and how many there are Red and Blue tiles (the rest is green).

GameMaker - AllSpark
Shift to accelerate, Ctrl to brake/reverse, Left and Right arrows to turn. Change into character mode with Space, then click to shoot, though bullets have no use for now. Collect the AllSpark to earn points.

GameMaker - Breakout
Mouse to control, only one level though I have a complete 20-level version.

GameMaker - CityTest
Just an engine where you can go inside buildings in a city. Some buildings are not working yet.

GameMaker - Marauders Map
I love Harry Potter, so I made this engine of footsteps. They can be controlled with 1) Arrows, 2) ASDW, 3) The mouse.

GameMaker - Rolab
My biggest maze project. Nice concept, boring levels. Press F11/F12 to enter/leave vehicles or portals. Move with Arrow keys. If you're standing on coloured tiles, you can remotely control vehicles with ASDW. A lot of specifications, like vehicles go through fire and stuff. Shovels destroy breakable rocks.

GameMaker - RushHour Xtreme
Press Play, write your name and select No. Your account will be created. Press F10/F11 (not sure which one, so do both) to save your progress, next time you'll play write your name and then press Yes to load. Click on cars then move them with Arrow keys. Better instructions are offered in-game.

GameMaker - SuperSnake
My best snake game up to now, try all difficulty levels and all styles, Freestyle is my fave. Winks to Meerca Chase from Neopets.

Have fun!


Title: Re: Programming Thread
Post by: klondikebar on November 18, 2012, 10:51:06 am
@Aperl

Very cool, but why is it a .doc file instead of just calling it .zip or .rar?


Title: Re: Programming Thread
Post by: Aperl on November 18, 2012, 11:31:21 am
@Aperl

Very cool, but why is it a .doc file instead of just calling it .zip or .rar?
Because GoogleCode is public and I don't want anyone to access these games easily.
If I wanted to have my works known, I'd publish them on YoYoGames or make a website for myself.
For now, it's just to share with you guys.


Title: Re: Programming Thread
Post by: klondikebar on November 18, 2012, 11:59:28 am
Because GoogleCode is public and I don't want anyone to access these games easily.
If I wanted to have my works known, I'd publish them on YoYoGames or make a website for myself.
For now, it's just to share with you guys.

Aw, thanks :D

I'm not sure where to go next after python. I'll definitely be learning HTML5 (HTML, CSS, JavaScript) at some point, but for right now, I'm stuck between C or C#. Suggestions?


Title: Re: Programming Thread
Post by: Milky13 on November 18, 2012, 03:37:46 pm
Aperl's Game Showcase

http://pipes-mania.googlecode.com/files/Instructions.doc

Download this file, rename it Instructions.zip and open it.
I have placed in there my most notable GameMaker, C# and Java games.

CSharp - Pipes Mania
This game was my first big project in C#. You click on pipes to rotate them in order to have a closed circuit. You can have multiple circuits though, the only goal is to have all the pipes connected to other pipes. The file options.txt allows you to specify the size of the map, as well as the files you'll be using as backgrounds and tilesets. In-game, the menu does not work. Press R to start a new level. All levels are possible.

CSharp - PaintTextBox
Might not work properly if you are not using Windows Vista or 7. You select characters on the right and draw them by moving your mouse over the screen. It was a mouse position test.

CSharp - SnakeTextBox
Who's never wanted to play a text version of Snake? Pretty much everyone... But hey, play with ASDF and don't touch your tail or the walls!

Java - Pipes Mania
Remake of my C# game. But now, you have three kinds of tiles. Green ones are rotating. Blue ones have two different values. Red ones cannot be modified. The properties file determines how tall is the game board, and how many there are Red and Blue tiles (the rest is green).

GameMaker - AllSpark
Shift to accelerate, Ctrl to brake/reverse, Left and Right arrows to turn. Change into character mode with Space, then click to shoot, though bullets have no use for now. Collect the AllSpark to earn points.

GameMaker - Breakout
Mouse to control, only one level though I have a complete 20-level version.

GameMaker - CityTest
Just an engine where you can go inside buildings in a city. Some buildings are not working yet.

GameMaker - Marauders Map
I love Harry Potter, so I made this engine of footsteps. They can be controlled with 1) Arrows, 2) ASDW, 3) The mouse.

GameMaker - Rolab
My biggest maze project. Nice concept, boring levels. Press F11/F12 to enter/leave vehicles or portals. Move with Arrow keys. If you're standing on coloured tiles, you can remotely control vehicles with ASDW. A lot of specifications, like vehicles go through fire and stuff. Shovels destroy breakable rocks.

GameMaker - RushHour Xtreme
Press Play, write your name and select No. Your account will be created. Press F10/F11 (not sure which one, so do both) to save your progress, next time you'll play write your name and then press Yes to load. Click on cars then move them with Arrow keys. Better instructions are offered in-game.

GameMaker - SuperSnake
My best snake game up to now, try all difficulty levels and all styles, Freestyle is my fave. Winks to Meerca Chase from Neopets.

Have fun!

What do you mean a text based version of snake though?


Title: Re: Programming Thread
Post by: Aperl on November 18, 2012, 07:49:55 pm
What do you mean a text based version of snake though?
Try it ^^.
You'll understand what I mean.
The snake is a bunch of O letters, the game board is actually a text area.


Title: Re: Programming Thread
Post by: Milky13 on November 18, 2012, 09:25:09 pm
Try it ^^.
You'll understand what I mean.
The snake is a bunch of O letters, the game board is actually a text area.

It's actually pretty cool.


Title: Re: Programming Thread
Post by: Steel on November 18, 2012, 09:47:53 pm
I wish I knew how to program ;-;


Title: Re: Programming Thread
Post by: Aperl on November 18, 2012, 11:32:59 pm
It's actually pretty cool.
It's very primitive, but it shows how much you can do with a bunch of characters if you know how to handle them.

I wish I knew how to program ;-;
After one semester of basic Java studies, I could already make a basic MasterMind game. It was like 5 years after I had made my first games off GameMaker.

Seriously if anyone is interested to know more about GameMaker and to start working with it, you can count me as a reference.


Title: Re: Programming Thread
Post by: klondikebar on November 19, 2012, 01:39:12 am
I wish I knew how to program ;-;

If you want to make games, game maker is awesome and surprisingly not crap.
Else, python.

Alternatively:

Code:
if you_want_to_make_games == True:
      answer = "Game maker"
else:
      answer = "Python"


Title: Re: Programming Thread
Post by: Shihen on November 23, 2012, 07:39:55 am
It's very primitive, but it shows how much you can do with a bunch of characters if you know how to handle them.
After one semester of basic Java studies, I could already make a basic MasterMind game. It was like 5 years after I had made my first games off GameMaker.

Seriously if anyone is interested to know more about GameMaker and to start working with it, you can count me as a reference.
A semester of Java? I'm jealous. Hopefully I get that next semester as I have a module on OOP and I don't see why they wouldn't put us onto Java for that. At the moment I'm stuck doing Python which I'm not really fond of.

Oh the good old Game Maker days - it's good for game making obviously and it's the best tool for quickly testing things out. Because of Game Maker I got into programming and it pretty much turned my life around, it's definitely worth the price tag but now I've moved on to Java. I wouldn't stick with it and try to make a career out of it, just let it teach you the programming basics and it'll help you out enormously.


Title: Re: Programming Thread
Post by: Aperl on November 23, 2012, 07:58:18 am
A semester of Java? I'm jealous. Hopefully I get that next semester as I have a module on OOP and I don't see why they wouldn't put us onto Java for that. At the moment I'm stuck doing Python which I'm not really fond of.

Oh the good old Game Maker days - it's good for game making obviously and it's the best tool for quickly testing things out. Because of Game Maker I got into programming and it pretty much turned my life around, it's definitely worth the price tag but now I've moved on to Java. I wouldn't stick with it and try to make a career out of it, just let it teach you the programming basics and it'll help you out enormously.
Well that game didn't have any sort of validation or exception handling, it was horrible, but I had the right logic at least ^^.

I think that without GameMaker I would have had a lot of trouble learning to program. Sprites, rooms, objects, scripts, events... I learned Object Oriented Programming before even knowing what that was.

I am currently coding a game in Unity with C#, I've been working on that all night long, it's 9 a.m. and I have a class in 4 hours. Love programming ^^.


Title: Re: Programming Thread
Post by: klondikebar on November 23, 2012, 09:59:23 am
At the moment I'm stuck doing Python which I'm not really fond of.

Can I ask why? I'm teaching myself Python and I'm loving it. So many libraries and a lot of support for it too. Even the older versions.


Title: Re: Programming Thread
Post by: Shihen on November 23, 2012, 10:48:14 am
Well that game didn't have any sort of validation or exception handling, it was horrible, but I had the right logic at least ^^.

I think that without GameMaker I would have had a lot of trouble learning to program. Sprites, rooms, objects, scripts, events... I learned Object Oriented Programming before even knowing what that was.

I am currently coding a game in Unity with C#, I've been working on that all night long, it's 9 a.m. and I have a class in 4 hours. Love programming ^^.

Hahaha, I've been hooked on a game I'm making in Java at the moment. I even take my laptop into my classes so I can code in secret - for my Japanese lectures anyway. I don't really need to hide it in my computer lectures :P

I tried Unity but I've never been able to get into it, maybe because I'm not really big on 3d stuff. It was really cool messing around with the demo stuff though!

Can I ask why? I'm teaching myself Python and I'm loving it. So many libraries and a lot of support for it too. Even the older versions.
I've dabbled with Python on-and-off and I do like how incredibly simple it is and the nice support of libraries. Just the syntax structure isn't for my tastes although that isn't stopping me from learning it.


Title: Re: Programming Thread
Post by: klondikebar on November 23, 2012, 11:08:18 am
I've dabbled with Python on-and-off and I do like how incredibly simple it is and the nice support of libraries. Just the syntax structure isn't for my tastes although that isn't stopping me from learning it.

Fair enough. I won't be sticking with it forever, I'm using it to learn programming and OOP basics, maybe make a few small games and some software that might help me cheat speed up my homework. Afterwards, It's either C or C# (or both, not really sure).


Title: Re: Programming Thread
Post by: Shihen on November 23, 2012, 11:21:07 am
Fair enough. I won't be sticking with it forever, I'm using it to learn programming and OOP basics, maybe make a few small games and some software that might help me cheat speed up my homework. Afterwards, It's either C or C# (or both, not really sure).
Aaaah, makes sense. Looking forward to seeing a few of your games :)


Title: Re: Programming Thread
Post by: klondikebar on November 23, 2012, 01:10:47 pm
Aaaah, makes sense. Looking forward to seeing a few of your games :)

If they ever get made, which I doubt...


Title: Re: Programming Thread
Post by: Shihen on November 23, 2012, 03:49:56 pm
If they ever get made, which I doubt...
What's holding you back? I don't see any reason why you can't do it so believe in yourself a little, eh? :P


Title: Re: Programming Thread
Post by: klondikebar on November 23, 2012, 05:35:49 pm
What's holding you back? I don't see any reason why you can't do it so believe in yourself a little, eh? :P

I'm sure I can, I just can't ever think of storylines (besides one that I have, that I think will work, but I'm going to need a LOT more experience before I go ahead with it).


Title: Re: Programming Thread
Post by: Shihen on November 24, 2012, 06:09:50 pm
I'm sure I can, I just can't ever think of storylines (besides one that I have, that I think will work, but I'm going to need a LOT more experience before I go ahead with it).
My programming life started with Game Maker, I don't think there's ever a time when you need more experience to start making a game. Let's be honest, you won't be making the game of your dreams right away. Just start small and mess around with it - that's how I'm learning Java right now, by diving in the deep end with game development. :P

On the topic of game development, I've been working on a RPG engine lately. Just spent all today working on importing .tmx files so I could make levels easier using Tiled (http://www.mapeditor.org/). It's a great program and saves you time developing your own level editor - it exports to XML so you can easily read the files in virtually any language.

(https://dl.dropbox.com/u/23931032/Monster/Monster01.png)

The sprites/tiles are placeholders and once development is further along, I'll be hiring a spriter to do some work for me :)


Title: Re: Programming Thread
Post by: klondikebar on November 24, 2012, 06:14:20 pm
My programming life started with Game Maker, I don't think there's ever a time when you need more experience to start making a game. Let's be honest, you won't be making the game of your dreams right away. Just start small and mess around with it - that's how I'm learning Java right now, by diving in the deep end with game development. :P

On the topic of game development, I've been working on a RPG engine lately. Just spent all today working on importing .tmx files so I could make levels easier using Tiled (http://'http://www.mapeditor.org/'). It's a great program and saves you time developing your own level editor - it exports to XML so you can easily read the files in virtually any language.

(https://dl.dropbox.com/u/23931032/Monster/Monster01.png)

The sprites/tiles are placeholders and once development is further along, I'll be hiring a spriter to do some work for me :)

Good point. I know that it takes a lot of effort, but I'm sure I'll get there. And I'd be learning Java right now as well if my computer could figure out how to open it without crashing. Might still do it alongside C# though. Where are you learning it?

Oh, and your RPG engine, looks good from the screenshot :D Will you be releasing the code for it?

--------

In other news, Minecraft: Pocket Edition has been officially ported to the Raspberry Pi by Mojang: http://www.raspberrypi.org/archives/2565 (http://www.raspberrypi.org/archives/2565)
Best part: Built in Python modding/scripting. Meaning the modding community will only get stronger, and maybe we can even improve the android version!


Title: Re: Programming Thread
Post by: Shihen on November 24, 2012, 06:44:26 pm
Good point. I know that it takes a lot of effort, but I'm sure I'll get there. And I'd be learning Java right now as well if my computer could figure out how to open it without crashing. Might still do it alongside C# though. Where are you learning it?

Oh, and your RPG engine, looks good from the screenshot :D Will you be releasing the code for it?

--------

In other news, Minecraft: Pocket Edition has been officially ported to the Raspberry Pi by Mojang: http://www.raspberrypi.org/archives/2565 (http://www.raspberrypi.org/archives/2565)
Best part: Built in Python modding/scripting. Meaning the modding community will only get stronger, and maybe we can even improve the android version!
lol nice, reminds me that I need to get a Raspberry Pi. I was waiting for the networking one to be released but then I just slowly forgot about it. :/ Now if only my Android could actually run Minecraft... Think I'll be buying a Nexus 4 soon anyway :)

I'm not actually learning Java from anywhere specific - more like jumping around from site to site as I google things. The Oracle Java tutorials are really nice for reference stuff, I had to look at them before when I did some coding with Swing. I didn't learn it all in one go though, I've been touching Java on-and-off in the past year or two. Not to mention that Java isn't my first language so I skipped most of the basics.

Although I did start off on something like this when I started out: http://zetcode.com/tutorials/javagamestutorial/
It runs along with Swing which is easy enough to start out with and you will find Swing continuously useful if you further expand on Java, you'll also find out that Java2d is horrible for games - especially cross-platform wise (The nightmares I had with that...).
My suggestion would to start out there anyway and once you're comfortable with Java, Swing, and Java2D, then move over to JOGL which is your saviour when it comes to game development in Java.

I won't be releasing the code for my engine, especially with the idea of going commercial with it. :P


Title: Re: Programming Thread
Post by: klondikebar on November 24, 2012, 09:26:27 pm
lol nice, reminds me that I need to get a Raspberry Pi. I was waiting for the networking one to be released but then I just slowly forgot about it. :/ Now if only my Android could actually run Minecraft... Think I'll be buying a Nexus 4 soon anyway :)

I'm not actually learning Java from anywhere specific - more like jumping around from site to site as I google things. The Oracle Java tutorials are really nice for reference stuff, I had to look at them before when I did some coding with Swing. I didn't learn it all in one go though, I've been touching Java on-and-off in the past year or two. Not to mention that Java isn't my first language so I skipped most of the basics.

Although I did start off on something like this when I started out: http://zetcode.com/tutorials/javagamestutorial/
It runs along with Swing which is easy enough to start out with and you will find Swing continuously useful if you further expand on Java, you'll also find out that Java2d is horrible for games - especially cross-platform wise (The nightmares I had with that...).
My suggestion would to start out there anyway and once you're comfortable with Java, Swing, and Java2D, then move over to JOGL which is your saviour when it comes to game development in Java.

I won't be releasing the code for my engine, especially with the idea of going commercial with it. :P

That website looks useful, thanks. I'll have a play around with java, might give me an excuse to screw with minecraft a bit :D


Title: Re: Programming Thread
Post by: Aperl on November 25, 2012, 09:18:00 am
Sato, you should install Eclipse. I actually had it installed on my computer and I've been using it for 6 months before realizing I didn't even have the JDK (Java Development Kit) installed. It worked anyways, so that's quite wonderful.
If you want to make games quite easily in Java, I suggest you take a look at the Slick library, to add it to a Java project you just have to import two files, slick.jar and lwgjl.jar (sumthin liek dat). Then you add images and you manage all game elements programmatically.

I am currently making a nice framework to manage procedural platform level creation. I can't really go into details because it's a project I am doing with a friend.

C# is great for games if you use XNA or Unity.
Java makes it very easy to program.
GameMaker is a solid basic game engine, but it's the programming part that limits me.


Title: Re: Programming Thread
Post by: klondikebar on November 25, 2012, 09:22:22 am
Sato, you should install Eclipse. I actually had it installed on my computer and I've been using it for 6 months before realizing I didn't even have the JDK (Java Development Kit) installed. It worked anyways, so that's quite wonderful.
If you want to make games quite easily in Java, I suggest you take a look at the Slick library, to add it to a Java project you just have to import two files, slick.jar and lwgjl.jar (sumthin liek dat). Then you add images and you manage all game elements programmatically.

I am currently making a nice framework to manage procedural platform level creation. I can't really go into details because it's a project I am doing with a friend.

C# is great for games if you use XNA or Unity.
Java makes it very easy to program.
GameMaker is a solid basic game engine, but it's the programming part that limits me.

I recently deleted eclipse due to having no interest in Java, but now that I do, I suppose I'll reinstall it.

Which version is best? They have so many on their site, it's hard to pick.


Title: Re: Programming Thread
Post by: Shihen on November 25, 2012, 09:28:52 am
Eclipse IDE for Java Developers is the one you want, you can ignore the one for EE developers.
http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/junosr1


Title: Re: Programming Thread
Post by: klondikebar on November 25, 2012, 09:31:59 am
Eclipse IDE for Java Developers is the one you want, you can ignore the one for EE developers.
http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/junosr1

Cheers. I'll have a look at Java over next week, I need to focus on finishing some python stuff right now.

By the way, does anyone know the exact (Like, to the decimal) calculation you have to do to convert between Celsius and Fahrenheit and vice versa? I need to know so I can finish work on a python convertor I made a while back. It's not specific enough.


Title: Re: Programming Thread
Post by: Shihen on November 25, 2012, 09:43:58 am
Cheers. I'll have a look at Java over next week, I need to focus on finishing some python stuff right now.

By the way, does anyone know the exact (Like, to the decimal) calculation you have to do to convert between Celsius and Fahrenheit and vice versa? I need to know so I can finish work on a python convertor I made a while back. It's not specific enough.

To convert Fahrenheit to Celsius it's: C = (5/9) * (F-32)
To convert back it's: F = (9/5) * C + 32

Sato, you should install Eclipse. I actually had it installed on my computer and I've been using it for 6 months before realizing I didn't even have the JDK (Java Development Kit) installed. It worked anyways, so that's quite wonderful.
If you want to make games quite easily in Java, I suggest you take a look at the Slick library, to add it to a Java project you just have to import two files, slick.jar and lwgjl.jar (sumthin liek dat). Then you add images and you manage all game elements programmatically.

I am currently making a nice framework to manage procedural platform level creation. I can't really go into details because it's a project I am doing with a friend.

C# is great for games if you use XNA or Unity.
Java makes it very easy to program.
GameMaker is a solid basic game engine, but it's the programming part that limits me.

I moved from Game Maker to Java for that reason pretty much. I wanted more functionality in the language and more power when it came to manipulating objects - hence Java. Plus I wanted to program for Android which Game Maker couldn't do at the time but now they've released GM:Studio and well... I'm not paying for that thing now when I can just do it anyway - and at no-cost!

Never tried Slick myself, I use LibGDX mainly or just LWJGL. Once I started using 3rd party libraries I saw Java in a whole new light and decided to go further with it :)

When you're allowed to, I would like to see your procedural level generator, or even the finished game. :P


Title: Re: Programming Thread
Post by: klondikebar on November 25, 2012, 09:56:45 am
To convert Fahrenheit to Celsius it's: C = (5/9) * (F-32)
To convert back it's: F = (9/5) * C + 32

Cheers.

I've downloaded Eclipse. I'll do a few basic programs to make sure my computer won't explode and then I'll go back to python.


Title: Re: Programming Thread
Post by: Shihen on November 25, 2012, 10:05:13 am
Cheers.

I've downloaded Eclipse. I'll do a few basic programs to make sure my computer won't explode and then I'll go back to python.
Haha xD Try playing around with Swing - I find it fun lol. It's better than relying on command line output which I'm sure you've had enough of with Python :P

This seems like a decent site to learn it from: http://www.javabeginner.com/java-swing/java-swing-tutorial
It gives you the code and then there's a breakdown of all the components below it with a sample on each.

Here's the page I use for reference when it comes to finding the things I want (Also has code examples): http://docs.oracle.com/javase/tutorial/ui/features/components.html

Edit: If you need help with anything, let me know :)


Title: Re: Programming Thread
Post by: klondikebar on November 25, 2012, 11:22:16 am
Haha xD Try playing around with Swing - I find it fun lol. It's better than relying on command line output which I'm sure you've had enough of with Python :P

This seems like a decent site to learn it from: http://www.javabeginner.com/java-swing/java-swing-tutorial
It gives you the code and then there's a breakdown of all the components below it with a sample on each.

Here's the page I use for reference when it comes to finding the things I want (Also has code examples): http://docs.oracle.com/javase/tutorial/ui/features/components.html

Edit: If you need help with anything, let me know :)

I'll have a look at swing, but I'd much rather learn the language before using it's libraries, otherwise I won't be able to code from scratch if I want to.

I've made a basic hello world program that managed to run, meaning my computer can actually run Java :D (Which surprises me because most java things can barely run when I use them).


Title: Re: Programming Thread
Post by: Shihen on November 25, 2012, 11:58:44 am
I'll have a look at swing, but I'd much rather learn the language before using it's libraries, otherwise I won't be able to code from scratch if I want to.

I've made a basic hello world program that managed to run, meaning my computer can actually run Java :D
Heh nice :P Don't worry, I'm the same way. I also prefer to code everything rather than using GUI editors like the one that comes with Netbeans for Swing - Ugh!

If you ever do programming classes with Java, they usually start you out with Swing applications. Then bomb you with OOP jargon and boring theory stuff like UML... -.-


Title: Re: Programming Thread
Post by: klondikebar on November 25, 2012, 02:03:38 pm
Oh god. I don't understand python classes. I don't get the __init__ thing either. This could delay my learning :/


Title: Re: Programming Thread
Post by: Shihen on November 25, 2012, 02:38:07 pm
Oh god. I don't understand python classes. I don't get the __init__ thing either. This could delay my learning :/
I hate doing classes in Python, it's so weird. the __init__ is just the constructor (code that's executed when a object is created from the class) method. Comparing it to Java:

Code:
public class myClass{
      public myClass(){
             System.out.println("New Object");
      }
}

Is Python's equivelent of:
Code:
class myClass:
       def __init__(self):
              print("New Object")


Title: Re: Programming Thread
Post by: klondikebar on November 25, 2012, 03:06:43 pm
I hate doing classes in Python, it's so weird. the __init__ is just the constructor (code that's executed when a object is created from the class) method. Comparing it to Java:

Code:
public class myClass{
      public myClass(){
             System.out.println("New Object");
      }
}

Is Python's equivelent of:
Code:
class myClass:
       def __init__(self):
              print("New Object")

I think it's the "self" thing that throws me off. It seems like every class is just referring to itself.
I'm learning python through Learn Python the Hard Way, and it's been great, but I needed more help on the classes. So, I went to codecademy, and it was slightly helpful, but then it's editor started bugging and it passed me for things I know that I'd done wrong, meaning I couldn't tell what I did wrong and fix it, or it failed me and then didn't give any clue as to what went wrong...

God I hate the internet sometimes.


Title: Re: Programming Thread
Post by: Shihen on November 25, 2012, 03:14:32 pm
I think it's the "self" thing that throws me off. It seems like every class is just referring to itself.
I'm learning python through Learn Python the Hard Way, and it's been great, but I needed more help on the classes. So, I went to codecademy, and it was slightly helpful, but then it's editor started bugging and it passed me for things I know that I'd done wrong, meaning I couldn't tell what I did wrong and fix it, or it failed me and then didn't give any clue as to what went wrong...

God I hate the internet sometimes.
Welcome to the number one thing I hate about Python :P

A book which I rely heavily upon in my classes:
https://play.google.com/store/books/details/Mark_Lutz_Python_Pocket_Reference?id=4PILpjlt8CgC#?t=W251bGwsMSwyLDUwMSwiYm9vay00UElMcGpsdDhDZ0MiXQ..

I've just spent all day building a Controller class for my engine so that I can add support for game controllers. Still working on it but I've got the left-axis functionality done and just finished a function to check if a button is pressed. Next to do are onPress and onRelease functions.


Title: Re: Programming Thread
Post by: klondikebar on November 25, 2012, 03:23:11 pm
Welcome to the number one thing I hate about Python :P

A book which I rely heavily upon in my classes:
https://play.google.com/store/books/details/Mark_Lutz_Python_Pocket_Reference?id=4PILpjlt8CgC#?t=W251bGwsMSwyLDUwMSwiYm9vay00UElMcGpsdDhDZ0MiXQ..

I've just spent all day building a Controller class for my engine so that I can add support for game controllers. Still working on it but I've got the left-axis functionality done and just finished a function to check if a button is pressed. Next to do are onPress and onRelease functions.

Java's syntax is beautiful. It looks like it would make a lot of tasks easier just down to usability.


Title: Re: Programming Thread
Post by: Shihen on November 25, 2012, 03:29:03 pm
Java's syntax is beautiful. It looks like it would make a lot of tasks easier just down to usability.
Give me curly brackets and I'm happy. :P


Title: Re: Programming Thread
Post by: klondikebar on November 25, 2012, 03:33:09 pm
Give me curly brackets and I'm happy. :P

Yah, that's one reason I enjoyed actionscript (But I stopped as there weren't enough non-flash professional oriented tutorials).

I think I've worked out python classes, or at least the parts that I'll actually use.


Title: Re: Programming Thread
Post by: Shihen on November 25, 2012, 03:48:59 pm
Yah, that's one reason I enjoyed actionscript (But I stopped as there weren't enough non-flash professional oriented tutorials).

I think I've worked out python classes, or at least the parts that I'll actually use.
I played around with AS2 like 2 years ago and then tried moving to AS3, but Adobe Flash was always too complicated for me and I never really wanted to make graphics with it. I took a liking to Flashdevelop shortly after and started using FlashPunk which took all my Adobe Flash worries away, sadly I never stuck with it. I'd recommend it though - and it's all free!


Title: Re: Programming Thread
Post by: klondikebar on November 25, 2012, 03:53:48 pm
I played around with AS2 like 2 years ago and then tried moving to AS3, but Adobe Flash was always too complicated for me and I never really wanted to make graphics with it. I took a liking to Flashdevelop shortly after and started using FlashPunk which took all my Adobe Flash worries away, sadly I never stuck with it. I'd recommend it though - and it's all free!

Mmm, but like I said, I'd want to learn AS3 before learning FlashPunk.

It's still a possibility though.


Title: Re: Programming Thread
Post by: Shihen on November 25, 2012, 07:04:33 pm
Mmm, but like I said, I'd want to learn AS3 before learning FlashPunk.

It's still a possibility though.
One thing at a time! You don't have to learn everything, yet. :)


Title: Re: Programming Thread
Post by: klondikebar on November 26, 2012, 01:37:21 am
One thing at a time! You don't have to learn everything, yet. :)

I know. Still finishing python, like I said.


Title: Re: Programming Thread
Post by: Shihen on November 26, 2012, 01:56:13 am
I know. Still finishing python, like I said.
I'm one to talk though... Tonight I got a years subscription for two domain names (including hosting) for $29 each - Black Friday deal thing. Now I'm in the process of designing a website for one of them which will take me like a month to roll out fully since I'll be running it on top of Drupal.

I wished I could slow down time or duplicate myself because my workload is insane right now :/


Title: Re: Programming Thread
Post by: klondikebar on November 26, 2012, 10:43:30 am
I'm one to talk though... Tonight I got a years subscription for two domain names (including hosting) for $29 each - Black Friday deal thing. Now I'm in the process of designing a website for one of them which will take me like a month to roll out fully since I'll be running it on top of Drupal.

I wished I could slow down time or duplicate myself because my workload is insane right now :/

I bought a domain for $5... unless it was a high demand domain, you may have been ripped off...

What site did you get it from?


Title: Re: Programming Thread
Post by: Shihen on November 26, 2012, 12:16:08 pm
I bought a domain for $5... unless it was a high demand domain, you may have been ripped off...

What site did you get it from?
Hosting and a domain for $29 a year... That is FAR from being ripped off. That's like 1.50gbp a month for me which beats any prices around here.

I'm with hosting24.com, used them in the past and I've never really had issues with them. They host the 000webhost service (free web hosting with PHP/MySQL support).


Title: Re: Programming Thread
Post by: klondikebar on November 26, 2012, 12:20:39 pm
Hosting and a domain for $29 a year... That is FAR from being ripped off. That's like 1.50gbp a month for me which beats any prices around here.

I'm with hosting24.com, used them in the past and I've never really had issues with them. They host the 000webhost service (free web hosting with PHP/MySQL support).

Oh right. I thought you'd bought the domain on it's own. What you've got there is a pretty sweet deal :D


Title: Re: Programming Thread
Post by: Shihen on November 26, 2012, 12:32:17 pm
Oh right. I thought you'd bought the domain on it's own. What you've got there is a pretty sweet deal :D
If you look around, most hosting services are offering a discount so if you're up for grabbing cheap hosting then now is the time :)


Title: Re: Programming Thread
Post by: klondikebar on November 28, 2012, 03:46:45 pm
Decided that, now that I'm nearly done with python, that I'm going to go back to learning AS3. I've been playing some of Terry Cavanagh's games (VVVVVV, Super Hexagon, Don't Look Back) and I'd love to make something like that. I know I could on basically any platform, but flash has such a huge userbase, and I'm not sure it'll actually go out for a few more years yet, and if it does, there's always HTML5.


Title: Re: Programming Thread
Post by: Shihen on November 28, 2012, 04:53:03 pm
Decided that, now that I'm nearly done with python, that I'm going to go back to learning AS3. I've been playing some of Terry Cavanagh's games (VVVVVV, Super Hexagon, Don't Look Back) and I'd love to make something like that. I know I could on basically any platform, but flash has such a huge userbase, and I'm not sure it'll actually go out for a few more years yet, and if it does, there's always HTML5.
I had to do GUI programming in Python today and by God. I wanted to throw it out of the window (no puns intended)!
Why does it have to be so... different? -.-

Good luck with the AS3 stuff and I still recommend trying out FlashPunk once you get a bearing of things :)


Title: Re: Programming Thread
Post by: klondikebar on November 28, 2012, 05:32:17 pm
I had to do GUI programming in Python today and by God. I wanted to throw it out of the window (no puns intended)!
Why does it have to be so... different? -.-

Good luck with the AS3 stuff and I still recommend trying out FlashPunk once you get a bearing of things :)

I think python is amazing for small projects and basic games (like roguelikes) but for anything else, most languages beat it.

Aren't Ruby and luau quite similar? Would you say they're better or worse?

And I will be trying flashpunk. Thanks for the luck :)


Title: Re: Programming Thread
Post by: Shihen on November 28, 2012, 06:12:34 pm
I think python is amazing for small projects and basic games (like roguelikes) but for anything else, most languages beat it.

Aren't Ruby and luau quite similar? Would you say they're better or worse?

And I will be trying flashpunk. Thanks for the luck :)
I've never tried Ruby or Lua, I'm happy with what I know at the moment anyway. :)


Title: Re: Programming Thread
Post by: klondikebar on November 29, 2012, 01:39:34 am
I've never tried Ruby or Lua, I'm happy with what I know at the moment anyway. :)


Ok :D

I played around with ruby once, it seems similar to python, but I had a look online and the classes look... odd...


Title: Re: Programming Thread
Post by: Shihen on November 29, 2012, 08:14:03 pm
Ok :D

I played around with ruby once, it seems similar to python, but I had a look online and the classes look... odd...
I just took a look at it and I really do like the looks of it although that's mainly because the website looks nice. xD

My work load is crazy at the moment, I haven't been able to work on my engine or website for the past 2 days :( The last thing I did was make the beginnings of a textbox engine.


Title: Re: Programming Thread
Post by: klondikebar on December 01, 2012, 09:57:58 am
Great, every damn tutorial for AS3 is designed for Flash Pro. Moving on then...


Title: Re: Programming Thread
Post by: Shihen on December 04, 2012, 06:27:54 am
Great, every damn tutorial for AS3 is designed for Flash Pro. Moving on then...
Haha, yeah. I could never get the hang of it really.

I have a theory test on Python this/next week, I have to revise over binary numbers again as I've totally forgotten how floating point numbers are represented in binary and I even got a two's compliment practice question wrong. :/ (Forgot to add one after switching the digits around...)


Title: Re: Programming Thread
Post by: klondikebar on December 04, 2012, 10:08:08 am
Well, after AS3 being too pro Flashy (IT'S A PUN), I think I'll try out some JavaScript and figure out all this HTML5 business, considering the amount of insanely cool stuff that has been made with it, and it's compatibility with basically everything (if nintendo supports it, most things will).

Also, I made a little python thing to save me a few button clicks on a calculator for my maths homework. It literally just performs pi*r-squared on the radius of a circle.

Code:
from math import pi
radius = float(raw_input("RADIUS: "))
answer = pi * radius * radius
print "\n",answer,"\n"
for i in range(1, 6):
x = round(answer, i)
print x, "(%sDP)" % i

It also rounds it to digits up to 5, which is also time saving as it means I won't have to retype it on a calc to figure it out.


Title: Re: Programming Thread
Post by: klondikebar on December 04, 2012, 03:05:45 pm
Holy cow python, you're so damn annoying.

If we have functions, I don't see how classes can be useful in any way whatsoever. And python just makes it more complicated because the devs messed up and didn't correct the massive flaws that classes have in python (mainly the whole "inheriting from itself" thing).

Edit so I don't DP:

Decided, due to wanting to know a lot of languages, I'll have a little system to keep me organized. Basically, I want to be able to know a web language, a scripting language, and a full on programming language, so I can do everything I need to.

Plan so far:

Web: JavaScript (HTML5 too, but CSS and HTML are a lot simpler so i wouldn't count them in this)
Scripting: Python or Lua (Depends on how well I can figure out the whole python classes thingy)
Programming: Probably Java, C# or C


Title: Re: Programming Thread
Post by: Shihen on December 09, 2012, 02:31:20 am
It's a good idea to learn a language for each purpose, but I wouldn't worry about it all that much yet. Just focus on at least getting a language under your belt before taking on more. I've been using PHP for over a year before I went over to another language like Java.

Ludum Dare (http://www.ludumdare.com/compo/) is next weekend if you want a little challenge at making a game in 48 hours which then gets scored by the community. :p For the preceding ones I've been using Game Maker and this will be my first time using Java!
You could even use this chance to make a game in HTML5 if you want to try learning it, it's a wise-choice and I'd totally go for it! Don't think there's things you need to know before making a game, I got into Java by skipping right into game development.

Just follow a tutorial or two :)


Title: Re: Programming Thread
Post by: klondikebar on December 09, 2012, 06:50:15 am
It's a good idea to learn a language for each purpose, but I wouldn't worry about it all that much yet. Just focus on at least getting a language under your belt before taking on more. I've been using PHP for over a year before I went over to another language like Java.

Ludum Dare (http://www.ludumdare.com/compo/) is next weekend if you want a little challenge at making a game in 48 hours which then gets scored by the community. :p For the preceding ones I've been using Game Maker and this will be my first time using Java!
You could even use this chance to make a game in HTML5 if you want to try learning it, it's a wise-choice and I'd totally go for it! Don't think there's things you need to know before making a game, I got into Java by skipping right into game development.

Just follow a tutorial or two :)

Don't worry, this is all for the future. I'm still on python.

Well, I'm not sure I'd want to go into HTML5 for game dev without actually knowing HTML5 in the first place. I feel like I wouldn't learn as much, especially if I plan on using HTML5 for things other than games.

Still, it's a possibility, so thanks for the suggestion.

NINJA EDIT: If I don't try HTML5, I'll just use PyGame and see if I can get it working. I was playing around with Pyglet as well which could also work.


Title: Re: Programming Thread
Post by: Shihen on December 11, 2012, 10:43:51 am
Don't worry, this is all for the future. I'm still on python.

Well, I'm not sure I'd want to go into HTML5 for game dev without actually knowing HTML5 in the first place. I feel like I wouldn't learn as much, especially if I plan on using HTML5 for things other than games.

Still, it's a possibility, so thanks for the suggestion.

NINJA EDIT: If I don't try HTML5, I'll just use PyGame and see if I can get it working. I was playing around with Pyglet as well which could also work.
Sounds like you've been using Python for a while now, how about giving pygame a try? :)
You're ready for it!


Title: Re: Programming Thread
Post by: klondikebar on December 11, 2012, 12:19:45 pm
Sounds like you've been using Python for a while now, how about giving pygame a try? :)
You're ready for it!

Still don't understand classes, but I'll get there...

Also, my face when JavaScript has no classes:
(http://i.imgur.com/Yhjl6.jpg)


Title: Re: Programming Thread
Post by: Aperl on December 11, 2012, 02:12:50 pm
Still don't understand classes, but I'll get there...

Also, my face when JavaScript has no classes:
(http://i.imgur.com/Yhjl6.jpg)
Classes are the best part of programming, object-oriented programming makes everything so organized. Very complex at times, but when you get the hang of it you can do everything.


Title: Re: Programming Thread
Post by: klondikebar on December 11, 2012, 03:24:03 pm
Classes are the best part of programming, object-oriented programming makes everything so organized. Very complex at times, but when you get the hang of it you can do everything.

Well, once I get the hang of it, hopefully I'll think that way.
There are ways to get a semi-OOP way of using JavaScript, but I don't think they are required to get the most out of it.

Also, I'm getting an Android phone that doesn't suck soon, so I could try some Java on it...


Title: Re: Programming Thread
Post by: Shihen on December 11, 2012, 03:37:48 pm
Well, once I get the hang of it, hopefully I'll think that way.
There are ways to get a semi-OOP way of using JavaScript, but I don't think they are required to get the most out of it.

Also, I'm getting an Android phone that doesn't suck soon, so I could try some Java on it...
Hope it's a Nexus 4 :D

And JavaScript does have classes, although can be mistaken as functions? I honestly haven't done OOP in JS but I use things that I can only see working with classes. Eg, Google Maps API (Which I'm working with right now).

http://www.phpied.com/3-ways-to-define-a-javascript-class/


Title: Re: Programming Thread
Post by: klondikebar on December 11, 2012, 03:46:19 pm
Hope it's a Nexus 4 :D

And JavaScript does have classes, although can be mistaken as functions? I honestly haven't done OOP in JS but I use things that I can only see working with classes. Eg, Google Maps API (Which I'm working with right now).

http://www.phpied.com/3-ways-to-define-a-javascript-class/

I think it's more like, functions can be used in a way similar to classes, but there aren't actual classes built in. Bit strange, but if it works, not sure it matters :D

And it's an HTC One S. It was either that or the Motorola Razr i. The contracts for a Nexus 4 are too high for me...


Title: Re: Programming Thread
Post by: Shihen on December 12, 2012, 03:16:58 am
I think it's more like, functions can be used in a way similar to classes, but there aren't actual classes built in. Bit strange, but if it works, not sure it matters :D

And it's an HTC One S. It was either that or the Motorola Razr i. The contracts for a Nexus 4 are too high for me...
Ooh the contract prices are waaay too high here, too. That's why you get it from the google play store (which is insanely cheap) and you can go on any network you want with it. If you get the phone on contract over here, you're paying like twice the price in a year alone. It's insane.


Title: Re: Programming Thread
Post by: klondikebar on December 12, 2012, 09:56:30 am
Ooh the contract prices are waaay too high here, too. That's why you get it from the google play store (which is insanely cheap) and you can go on any network you want with it. If you get the phone on contract over here, you're paying like twice the price in a year alone. It's insane.

Well, I'm not the one paying for the contract, so I can't complain :D


Title: Re: Programming Thread
Post by: klondikebar on December 16, 2012, 10:19:52 am
EDIT BECAUSE I CHANGED MY MIND ON SOMETHING.

I'm honestly not sure what to pick between C# or C. C# has XNA, C has Allegro, and it'll make it easier for me to learn C++ (which I want to do eventually, but not in the near future). Thoughts? Most people would say C as it makes it easier to learn everything else.

Also, I've come up with a fun idea for a new Python text game, so I'm happily planning it. InDev title is "Dark Adventure".


Title: Re: Programming Thread
Post by: Shihen on December 16, 2012, 02:47:33 pm
EDIT BECAUSE I CHANGED MY MIND ON SOMETHING.

I'm honestly not sure what to pick between C# or C. C# has XNA, C has Allegro, and it'll make it easier for me to learn C++ (which I want to do eventually, but not in the near future). Thoughts? Most people would say C as it makes it easier to learn everything else.

Also, I've come up with a fun idea for a new Python text game, so I'm happily planning it. InDev title is "Dark Adventure".

Both languages have their good and bad and I would say go for C# over C - simply because it makes life easier. XNA is pretty fun, too.


Title: Re: Programming Thread
Post by: klondikebar on December 16, 2012, 02:59:39 pm
Both languages have their good and bad and I would say go for C# over C - simply because it makes life easier. XNA is pretty fun, too.

Alright, thanks for the input. I really need to read up on what features XNA even has.


Title: Re: Programming Thread
Post by: klondikebar on December 17, 2012, 03:51:57 pm
Okay, I need to organize this, because there's so damn much I want to learn.

HTML5 is a great technology, but it's still young. I'll learn it when it improves.
AS3 is impossible to find good resources for, soo....

I'm trying out Haxe, and loving it. It's easy to find information for, and has ports of Flixel and FlashPunk, as well as it's own game libraries. So, hell yeah!

C# I'll learn, but I'm not sure when or for what purpose. Python I'll use occasionally for scripting and automating crap, and also for cheating on my math homework.


Title: Re: Programming Thread
Post by: Aperl on December 18, 2012, 06:30:21 am
I'm honestly not sure what to pick between C# or C. C# has XNA, C has Allegro, and it'll make it easier for me to learn C++ (which I want to do eventually, but not in the near future). Thoughts? Most people would say C as it makes it easier to learn everything else.

Also, I've come up with a fun idea for a new Python text game, so I'm happily planning it. InDev title is "Dark Adventure".
I would suggest C# because you won't have to deal with explicit memory allocation and pointers when you don't want to.

Personally, my learning process in programming (suggested by school) was to start with Java, then give a try to Visual Basic .NET and then start C#. Java has a very consistent and legible syntax and logic, and it takes minutes to write a working application. Visual Basic was just to apply what we know in a less instinctive syntax, while introducing the .NET framework. Then C# combines the .NET framework with Java-like syntax.

For having tried C for a networking class, I know it makes simple functions extremely complex because you have to constantly think about what to do with the objects and variables you create. Errors pop up and you can't understand a thing they say because they target the problem at a totally legit line while the problem started dozens of lines before.

C++ made things a bit more instinctive with object-oriented programming, but you still need to deal with pointers and a bit of memory allocation.

C# has all functions combined. You can use some keywords (ref and const) to use dynamic pointers and thus allow multiple return values for functions (great advantage over Java), you can explicitly manage memory, but it's optional. Event management is incredibly simple and strong. You can use properties rather than getter/setter functions, so when you say myChild.Age = -10; it can validate the data and throw exceptions if needed, while in Java you'd need to do myChild.setAge(-10);.

I would also say that Java is a safe bet, it has loads of libraries available, I still use Java to create games and applications, except the independent project I'm working on, where we use C#.


Title: Re: Programming Thread
Post by: Shihen on December 18, 2012, 01:47:50 pm
Actually, HTML5 may be young but it's growing exponentially. A few people I know are making a living off HTML5 games because they jumped in with it very early.

I finished my entry for Ludum Dare yesterday, I entered the 72 hour jam as I slacked too much and didn't finish in time for the 48 hour run.
My first released game in Java and I even ported it to an applet after an hour of battling the signing process... http://harrk.com/applets/LD25/


Title: Re: Programming Thread
Post by: klondikebar on December 18, 2012, 02:01:15 pm
Actually, HTML5 may be young but it's growing exponentially. A few people I know are making a living off HTML5 games because they jumped in with it very early.

I finished my entry for Ludum Dare yesterday, I entered the 72 hour jam as I slacked too much and didn't finish in time for the 48 hour run.
My first released game in Java and I even ported it to an applet after an hour of battling the signing process... http://harrk.com/applets/LD25/

Very cool! And that only took you a few days?


Title: Re: Programming Thread
Post by: Shihen on December 18, 2012, 02:02:34 pm
Very cool! And that only took you a few days?
Three days, would have been two if I didn't decide to slack :P (I visited the Science Museum in London on Saturday!)


Title: Re: Programming Thread
Post by: klondikebar on December 18, 2012, 03:31:38 pm
Three days, would have been two if I didn't decide to slack :P (I visited the Science Museum in London on Saturday!)

Well, I'm having another look at Java. The book "Head First Java" is actually hilarious (in a good way).


Title: Re: Programming Thread
Post by: Shihen on December 18, 2012, 03:41:06 pm
Well, I'm having another look at Java. The book "Head First Java" is actually hilarious (in a good way).
I saw that book in Waterstones as I like to look at their display of computer books, never considered buying it though :p
Might have another look at it now that you've mentioned it.

Oh the language jumping phase - how you gotta love it.


Title: Re: Programming Thread
Post by: klondikebar on December 18, 2012, 05:03:34 pm
@Shihen

Yeah, language jumping is a fun time, because I don't care what I'm learning. And the book is really great, it's very humorously written so it's fun to read, but it still teaches well. Great reviews too.


Title: Re: Programming Thread
Post by: Aperl on December 19, 2012, 06:08:48 am
I'm almost never buying books for my courses, it's quite funny because I'm still one of the best students in my program when it comes to grades ^^.
I have Starting Out With Java - From Control Structures Through Object, and Absolute Java. Haven't looked at them for years.

And I borrowed C++ for Dummies from my library ;).

@Sato last post of the previous page, if you haven't seen it already:
I'm honestly not sure what to pick between C# or C. C# has XNA, C has Allegro, and it'll make it easier for me to learn C++ (which I want to do eventually, but not in the near future). Thoughts? Most people would say C as it makes it easier to learn everything else.

Also, I've come up with a fun idea for a new Python text game, so I'm happily planning it. InDev title is "Dark Adventure".
I would suggest C# because you won't have to deal with explicit memory allocation and pointers when you don't want to.

Personally, my learning process in programming (suggested by school) was to start with Java, then give a try to Visual Basic .NET and then start C#. Java has a very consistent and legible syntax and logic, and it takes minutes to write a working application. Visual Basic was just to apply what we know in a less instinctive syntax, while introducing the .NET framework. Then C# combines the .NET framework with Java-like syntax.

For having tried C for a networking class, I know it makes simple functions extremely complex because you have to constantly think about what to do with the objects and variables you create. Errors pop up and you can't understand a thing they say because they target the problem at a totally legit line while the problem started dozens of lines before.

C++ made things a bit more instinctive with object-oriented programming, but you still need to deal with pointers and a bit of memory allocation.

C# has all functions combined. You can use some keywords (ref and const) to use dynamic pointers and thus allow multiple return values for functions (great advantage over Java), you can explicitly manage memory, but it's optional. Event management is incredibly simple and strong. You can use properties rather than getter/setter functions, so when you say myChild.Age = -10; it can validate the data and throw exceptions if needed, while in Java you'd need to do myChild.setAge(-10);.

I would also say that Java is a safe bet, it has loads of libraries available, I still use Java to create games and applications, except the independent project I'm working on, where we use C#.


Title: Re: Programming Thread
Post by: Shihen on December 19, 2012, 09:14:39 am
I'm almost never buying books for my courses, it's quite funny because I'm still one of the best students in my program when it comes to grades ^^.
I have Starting Out With Java - From Control Structures Through Object, and Absolute Java. Haven't looked at them for years.

And I borrowed C++ for Dummies from my library ;).

@Sato last post of the previous page, if you haven't seen it already:I would suggest C# because you won't have to deal with explicit memory allocation and pointers when you don't want to.

Personally, my learning process in programming (suggested by school) was to start with Java, then give a try to Visual Basic .NET and then start C#. Java has a very consistent and legible syntax and logic, and it takes minutes to write a working application. Visual Basic was just to apply what we know in a less instinctive syntax, while introducing the .NET framework. Then C# combines the .NET framework with Java-like syntax.

For having tried C for a networking class, I know it makes simple functions extremely complex because you have to constantly think about what to do with the objects and variables you create. Errors pop up and you can't understand a thing they say because they target the problem at a totally legit line while the problem started dozens of lines before.

C++ made things a bit more instinctive with object-oriented programming, but you still need to deal with pointers and a bit of memory allocation.

C# has all functions combined. You can use some keywords (ref and const) to use dynamic pointers and thus allow multiple return values for functions (great advantage over Java), you can explicitly manage memory, but it's optional. Event management is incredibly simple and strong. You can use properties rather than getter/setter functions, so when you say myChild.Age = -10; it can validate the data and throw exceptions if needed, while in Java you'd need to do myChild.setAge(-10);.

I would also say that Java is a safe bet, it has loads of libraries available, I still use Java to create games and applications, except the independent project I'm working on, where we use C#.


I really don't like .NET or C#, I admit that pointers would be a great advantage but I can live without :p When you say myChild.age =- 10;, you can do that in Java by simply making a property public. I doubt you missed something like that out as you're a Java veteran so I'm guessing you're referring to Java's good coding practices when you mention that? As for the exception handling, I don't really see an issue there; can easily wrap in try/catch blocks.

Providing that the code behind myChild.setAge(-10); is only just:
Code:
public void setAge(int age){
this.age = age;
}

Overall, C# isn't as portable for my liking. I've never looked into it much and when I did I jumped right into XNA. Honestly my main put-off is the fact that Microsoft is directly behind it, so there's going to be some unfair competition control going on (like Apple is with Objective-C). MonoDevelop makes it look promising to me though. But maybe another time for me.


Title: Re: Programming Thread
Post by: Aperl on December 19, 2012, 10:06:14 am
I really don't like .NET or C#, I admit that pointers would be a great advantage but I can live without :p When you say myChild.age =- 10;, you can do that in Java by simply making a property public. I doubt you missed something like that out as you're a Java veteran so I'm guessing you're referring to Java's good coding practices when you mention that? As for the exception handling, I don't really see an issue there; can easily wrap in try/catch blocks.

Providing that the code behind myChild.setAge(-10); is only just:
Code:
public void setAge(int age){
this.age = age;
}

Overall, C# isn't as portable for my liking. I've never looked into it much and when I did I jumped right into XNA. Honestly my main put-off is the fact that Microsoft is directly behind it, so there's going to be some unfair competition control going on (like Apple is with Objective-C). MonoDevelop makes it look promising to me though. But maybe another time for me.
Actually, properties are not exactly variables. It's a way to control the integrity of data whilst avoiding to make explicit getters and/or setters.
Look at this piece of code in Java:
Code:
public class MyClass {
public int myAge = 10;
}
With that, you can simply write:
Code:
instance.myAge = 18;
But in that case, you could also set a negative age, which is an unacceptable value. Setting attributes public is a direct violation to encapsulation. Hence you need to control that:
Code:
public class MyClass {
private int myAge = 10;
public int getMyAge()
{
return myAge;
}
public void setMyAge(int myAge)
{
if(myAge < 0)
throw new IllegalArgumentException(
"Your age must be positive");
this.myAge = myAge;
}
}
Now everything is fine, you cannot do this anymore:
Code:
instance.myAge = 18;
because the attribute is not visible, the access modifier being private. You must thus use:
Code:
instance.setMyAge(18);
instance.setMyAge(-23);
And everything is working fine.
All good. But it's ugly. Making get's and set's, plus is's if you have boolean attributes, ex: isFinished().

C# found the right way to do it, in my opinion.
Let's start back with the class we had at first, let's assume it's in C#:
Code:
public class MyClass {
public int myAge = 10;
}
C# is same as Java, setting myAge to -10 will work, but shouldn't.
So we have two choices. Either go berserk with getters and setters and waste hours commenting every one of them, and then having to remember whether or not you have done it for every variable. Oooooor, you can use properties. Properties is declared as a variable, with a name convention as a class, and instead of being attributed a value, it is attributed a block of code, where you can specify the get and set conditions. The value reserved keyword takes the variable that is attributed in the set. Look at this marvelous piece of code:
Code:
public class MyClass {
private int myAge = 10;
public int MyAge{
get{
return myAge;
}
set{
if(value < 0)
throw new ArgumentException(
"The age must be positive.");
myAge = value;
}
}
}
Now, imagine you set up a variable that cannot be modified, just don't write a set. Or put the set private, it's also possible. The way to use it now is:
Code:
instance.MyAge = 18;
instance.MyAge = -10
And what's amazing too, is that you can use the gets and sets without even noticing it.
Look at that:
Code:
//My birthday!
myself.MyAge++;
And it totally works!
What is the Java code for that again?
Code:
//My birthday!
myself.setMyAge(myself.getMyAge+1));
Beauuuutiful... -_-
So no more setMyAge and getMyAge, you just use MyAge instead of myAge and all validation is done for you. You can even create properties for non-existing variables, just as you could have a getter in Java that does some calculation. I'm using properties everywhere, it would be so easy for Java to implement such feature.

Oh also in C#, you can specify the operators, so doing instance1 + instance 2 could actually result in something. Like in Java we have such functions:
Code:
if(myDate.compareTo(myOtherDate)>0)
myNewDate = myDate.addDate(myOtherDate);
In C# you can specify what ==, >, <, >=, <=. != does and what +, -, *, /, ^ may do as well. So the above statement could be translated as:
Code:
if(myDate > myOtherDate)
myNewDate = myDate + myOtherDate;

Though I'm still using Java more than C#, I still find C# has made everything more easy and beautiful. Also, even though they're only for Windows, I quite like having .exe files because some of my friends don't like when their computer asks for the permission to use Java to view my stuff. While an exe opens right away.

Oh, and Visual Studio is a marvel :D


Title: Re: Programming Thread
Post by: Shihen on December 19, 2012, 10:20:03 am
(Won't quote as you wrote a lot there)

Ah, I see what you mean now. It was an interesting read and I see how you really prefer the way C# does it. I still think Java is well structured - it has its flaws but so do all languages. I still have an iso for Visual Studio on my computer, gotta love Dreamspark. I don't like what they've done to DS recently though; downloading downloaders to download a freaking program -.-. I usually pirate the software when I have to go through all that rubbish.

Thank God I still have the iso handy!

I really want to give C# a go now but meh, I'll wait. I'm past my language jumping phase since I landed on Java and I'm taking my time to master it before moving onto another language. (Not limited to University throwing random languages at us) Haha, next semester we start Java and OOP so that'll be a breeze :)


Title: Re: Programming Thread
Post by: Aperl on December 19, 2012, 12:40:54 pm
(Won't quote as you wrote a lot there)

Ah, I see what you mean now. It was an interesting read and I see how you really prefer the way C# does it. I still think Java is well structured - it has its flaws but so do all languages. I still have an iso for Visual Studio on my computer, gotta love Dreamspark. I don't like what they've done to DS recently though; downloading downloaders to download a freaking program -.-. I usually pirate the software when I have to go through all that rubbish.

Thank God I still have the iso handy!

I really want to give C# a go now but meh, I'll wait. I'm past my language jumping phase since I landed on Java and I'm taking my time to master it before moving onto another language. (Not limited to University throwing random languages at us) Haha, next semester we start Java and OOP so that'll be a breeze :)
Well Java is still the language I'm using day to day, I find it easier to test things, I'm a lot more comfortable with it. I know the Java libraries probably 100x better than the .NET ones, and even when I code in C# I find myself reusing the Java logic. Like in C# they don't have TreeSet as a core library class unlike java.util. Same with Observer/Observable. So for my game in C#, I coded the Observer and Observable classes, and I'm about to code my own data structures based on how Java does it.
Plus, conventions are really strong in Java, Javadoc is also marvelous, it makes everything so consistent and well documented.
I've studied programming in three schools now, College for 2.5 years, university in France for a semester and now a semester at my engineering school, and everybody uses Java. It for sure makes things easier, and I just like it.
But at some point, it should evolve a little I think, otherwise it'll be surpassed by other languages. Last notable update was Java 5... Sept. 30, 2004.


Title: Re: Programming Thread
Post by: Shihen on December 25, 2012, 05:10:44 am
When pathfinding... goes wrong:
(Yellow = Start, Red = Goal, Sky Blue = Path)

(https://dl.dropbox.com/u/23931032/imgs/pathfindinggonewrong.png)

Still can't seem to get A* pathfinding down, it makes a path and avoids solid objects perfectly fine. As well as returning if a path can't be found, eg when surrounding the goal with solid nodes. It just... doesn't make a very convenient path - it's drunk.
The background terrain isn't joined up with the grid yet - I'm just working on getting the A* working perfectly before implementing it into any form of game.


Title: Re: Programming Thread
Post by: klondikebar on December 25, 2012, 07:01:06 am
Code:
if christmas == True:
    print "Merry Christmas!"
else:
    print "Or chanukah or whatever....


Title: Re: Programming Thread
Post by: Shihen on December 25, 2012, 07:04:49 am
Code:
if christmas == True:
    print "Merry Christmas!"
else:
    print "Or chanukah or whatever....

Python and its uppercasing of True/False - I'll never get used to that. Merry Christmas! :)

New update, got a less drunky-route and got the terrain plugged into the grid. Still not efficient as it could be but I'm happy with it for now. It'll be good to have a little leeway in the paths.
(https://dl.dropbox.com/u/23931032/imgs/pathfindinggonerightish.png)


Title: Re: Programming Thread
Post by: klondikebar on December 26, 2012, 09:59:56 am
I think I get classes now, but I'm not entirely sure. I definitely see how useful they can be though.


Title: Re: Programming Thread
Post by: Shihen on December 26, 2012, 02:42:46 pm
I think I get classes now, but I'm not entirely sure. I definitely see how useful they can be though.
When I only did PHP I never saw the lure of classes but Java can easily change your mind on that :) They just make life so much easier.


Title: Re: Programming Thread
Post by: klondikebar on December 27, 2012, 06:43:32 pm
When I only did PHP I never saw the lure of classes but Java can easily change your mind on that :) They just make life so much easier.

Oh yeah, considering I'm interested in making websites, how useful would PHP be?


Title: Re: Programming Thread
Post by: Shihen on December 28, 2012, 04:45:10 pm
Oh yeah, considering I'm interested in making websites, how useful would PHP be?
Depends. PHP would make life a hell of a lot easier but at the same time it can make it much harder .

An example of this would be to create a website using simple PHP to include pages here-and-there which means you only need to write things once. That's a life made easier.
However, should you decide to use a content management system (CMS) to make it easier for you to add content and manage it. Then you'll be in for a ride whilst you decide to either make your own (good for learning PHP but not recommended for actual use) or use an existing one like WordPress/Joomla/Drupal.

For the sake of starting out though, just keep it simple. Make your website in HTML (One .html file for each layout should be enough) first then switch over to PHP (hint: look into including other php files and separate your HTML into those files - reusability ftw, eg: header.php, footer.php)

Either way, PHP is extremely useful and I fully recommend it if you're going to create your own website.


Title: Re: Programming Thread
Post by: klondikebar on December 28, 2012, 05:51:32 pm
Depends. PHP would make life a hell of a lot easier but at the same time it can make it much harder .

An example of this would be to create a website using simple PHP to include pages here-and-there which means you only need to write things once. That's a life made easier.
However, should you decide to use a content management system (CMS) to make it easier for you to add content and manage it. Then you'll be in for a ride whilst you decide to either make your own (good for learning PHP but not recommended for actual use) or use an existing one like WordPress/Joomla/Drupal.

For the sake of starting out though, just keep it simple. Make your website in HTML (One .html file for each layout should be enough) first then switch over to PHP (hint: look into including other php files and separate your HTML into those files - reusability ftw, eg: header.php, footer.php)

Either way, PHP is extremely useful and I fully recommend it if you're going to create your own website.

Okay, thanks. At the moment, I'm just using standard HTML and CSS, I've been relearning them because we're making websites in school and I want to be the the top of the class when we start coding it :P

Also, I think I'm going to re-read Learn Python the Hard Way, or at least a large chunk of it. There are a lot of things I have forgotten or don't understand, so I guess it would be good.

Afterwards, I think I'll go with C# because:

Xbox Live Indie Games
PS Vita
XNA
Unity


Title: Re: Programming Thread
Post by: Shihen on December 28, 2012, 06:19:01 pm
Okay, thanks. At the moment, I'm just using standard HTML and CSS, I've been relearning them because we're making websites in school and I want to be the the top of the class when we start coding it :P

Also, I think I'm going to re-read Learn Python the Hard Way, or at least a large chunk of it. There are a lot of things I have forgotten or don't understand, so I guess it would be good.

Afterwards, I think I'll go with C# because:

Xbox Live Indie Games
PS Vita
XNA
Unity

I don't own or like a single one of the above. xD C# would be useless for me considering I'd want it for game development.
Aiming for the top, eh? If you really want to show off... Integrate your website on top of Drupal. :P Hah, you'll do fine with knowledge of PHP and it wouldn't hurt to learn some JavaScript and maybe some AJAX.


Title: Re: Programming Thread
Post by: klondikebar on December 28, 2012, 06:59:57 pm
I don't own or like a single one of the above. xD C# would be useless for me considering I'd want it for game development.
Aiming for the top, eh? If you really want to show off... Integrate your website on top of Drupal. :P Hah, you'll do fine with knowledge of PHP and it wouldn't hurt to learn some JavaScript and maybe some AJAX.

But.... all those things I listed were related to game development...

Anyway, this drupal thing, how exactly does it work? Is it kind of like the downloadable version of Wordpress that you can put directly on a server and make a site from it?


Title: Re: Programming Thread
Post by: Shihen on December 28, 2012, 09:07:53 pm
But.... all those things I listed were related to game development...

Anyway, this drupal thing, how exactly does it work? Is it kind of like the downloadable version of Wordpress that you can put directly on a server and make a site from it?
I said, "useless for me". What's the point in programming for something I don't even have or even consider getting? :P

Oh god, jumping in the deep end with Drupal? It's like Wordpress, yes, but in my opinion it's much better and easier to use (in terms of extending). I always found WP to be a bit of a bother. At the start Drupal has a rather big learning curve for its UI but once you get your head around it it's actually pretty darn amazing.

Download it, extract it to a server, install it. But a fresh Drupal installation is a nightmare, and in that case you at least want this mod: http://drupal.org/project/admin_menu
Should be the first thing you install on any fresh Drupal installation. Then if you're going to create your own theme then you want the Zen starter kit. Honestly there's a lot you need to pick up on if you intend to go with Drupal... Learn PHP first, at least a little.


Title: Re: Programming Thread
Post by: klondikebar on December 29, 2012, 08:08:59 am
I said, "useless for me". What's the point in programming for something I don't even have or even consider getting? :P

Oh god, jumping in the deep end with Drupal? It's like Wordpress, yes, but in my opinion it's much better and easier to use (in terms of extending). I always found WP to be a bit of a bother. At the start Drupal has a rather big learning curve for its UI but once you get your head around it it's actually pretty darn amazing.

Download it, extract it to a server, install it. But a fresh Drupal installation is a nightmare, and in that case you at least want this mod: http://drupal.org/project/admin_menu
Should be the first thing you install on any fresh Drupal installation. Then if you're going to create your own theme then you want the Zen starter kit. Honestly there's a lot you need to pick up on if you intend to go with Drupal... Learn PHP first, at least a little.

So... is it sort of a tool to assist in creating a website?


Title: Re: Programming Thread
Post by: Shihen on December 29, 2012, 10:35:56 am
So... is it sort of a tool to assist in creating a website?
It's a framework/CMS. I wouldn't say it's a tool as it doesn't create a website for you, you just build on it.


Title: Re: Programming Thread
Post by: klondikebar on December 29, 2012, 10:44:36 am
It's a framework/CMS. I wouldn't say it's a tool as it doesn't create a website for you, you just build on it.

Okay... I'll figure it out later if I can really be bothered.

In the meantime, I have got to figure out these damn classes. I don't know why I still don't get them...


Title: Re: Programming Thread
Post by: klondikebar on January 01, 2013, 08:07:55 pm
Right, totally relearning Python. Enough is enough, I need to get crap done. I'm coming up with a schedule to see if I can do it in under a week, it shouldn't be too hard seeing as I've done most of it before. I'm doing it in parts, based on what the exercises are hoping to teach.

Day 1: Exercises 1 - 10, Strings, variables, basic printing and mathematics.

Day 2: Exercises 11 - 17, Prompts, reading and writing files.

Day 3: Exercises 18 - 26, Functions, a bit more with files.

Day 4: Exercises 27 - 37, Loops, lists, if/else statements, memorizing logic, symbol revision

Day 5: Exercises 38 - 44, Dictionaries, modules, classes (shoot me), objects, inheritance, composition.

Day 6: Exercises 45 - 47, Make a game, set up automated testing

Day 7: Exercises 48 - 52, Make a website and a web game, also read afterword.

I think that's feasible. The first 3 - 4 days should be relatively simple. If I focus, I reckon I can get this done.


Also, it turns out Khan Academy's CS section is awesome so I'm moving my next project to being HTML5 including CSS and JavaScript.


Title: Re: Programming Thread
Post by: klondikebar on January 13, 2013, 05:52:17 am
Guys, I have a thing related to Evionet I'm gonna need some help with.

We're basically making a home page for the site, which will link to the forum and maybe other places. I'm going to ATTEMPT to design something good (I've never done anything related to web design, so I don't know how it'll turn out), but I was hoping some of the more experienced web programmers could help out. Probably just need basic HTML and CSS, maybe a little bit of JavaScript.

If you're up for it, do post.


Title: Re: Programming Thread
Post by: Aperl on January 13, 2013, 06:18:41 am
Guys, I have a thing related to Evionet I'm gonna need some help with.

We're basically making a home page for the site, which will link to the forum and maybe other places. I'm going to ATTEMPT to design something good (I've never done anything related to web design, so I don't know how it'll turn out), but I was hoping some of the more experienced web programmers could help out. Probably just need basic HTML and CSS, maybe a little bit of JavaScript.

If you're up for it, do post.
I've been doing some PHP, JavaScript, HTML and CSS pages, nothing huge though, but if I can help with anything it will be with pleasure.


Title: Re: Programming Thread
Post by: klondikebar on January 13, 2013, 06:27:16 am
I've been doing some PHP, JavaScript, HTML and CSS pages, nothing huge though, but if I can help with anything it will be with pleasure.

Great. I've been reading up on SMF's features, apparently there are ways you can embed recent posts/threads/announcements into a page with PHP.


Title: Re: Programming Thread
Post by: Shihen on January 23, 2013, 05:43:04 pm
Guys, I have a thing related to Evionet I'm gonna need some help with.

We're basically making a home page for the site, which will link to the forum and maybe other places. I'm going to ATTEMPT to design something good (I've never done anything related to web design, so I don't know how it'll turn out), but I was hoping some of the more experienced web programmers could help out. Probably just need basic HTML and CSS, maybe a little bit of JavaScript.

If you're up for it, do post.

Oooohh! I'll be up for it! I can do the whole lot, PHP, AJAX, JavaScript/JQuery. Plus it's what I do for a living. :P
I've also developed alongside SMF, so just let me know whenever you need help with anything.

If you're making a homepage, I suppose it has its own domain/host? I'm not sure if freesmfhosting will allow you to just add on a homepage and start tinkering around with the code. Honestly, freesmfhosting is bad. You won't be integrating any of the SMF functions into the homepage whilst you're on this host to say the least.


Title: Re: Programming Thread
Post by: klondikebar on January 24, 2013, 01:35:20 am
Oooohh! I'll be up for it! I can do the whole lot, PHP, AJAX, JavaScript/JQuery. Plus it's what I do for a living. :P
I've also developed alongside SMF, so just let me know whenever you need help with anything.

If you're making a homepage, I suppose it has its own domain/host? I'm not sure if freesmfhosting will allow you to just add on a homepage and start tinkering around with the code. Honestly, freesmfhosting is bad. You won't be integrating any of the SMF functions into the homepage whilst you're on this host to say the least.

I think we're just hosting the actual webpage somewhere else, then adding a link to it on evionet.

And I agree, freesmfhosting is awful and I wish there was a way we could export posts/members to an actual hosted version of SMF.


Title: Re: Programming Thread
Post by: klondikebar on April 02, 2013, 08:33:48 am
I'm bored and it's the holiday, so I'm gonna go through TheNewBoston's C tutorials for the hell of it. It's only about an hour and 40 minutes, and I have plenty of time :D


Title: Re: Programming Thread
Post by: Steel on April 16, 2013, 08:29:04 pm
I took programming (Grade 11) for my next year course.
It's going to be lonely, seeing as i'm with a bunch of kids, but yea.
Looking forward to it.


Title: Re: Programming Thread
Post by: Coyote Starrk on April 16, 2013, 09:13:02 pm
http://www.codecademy.com/#!/exercises/0

Is this shiz anygood?


Title: Re: Programming Thread
Post by: klondikebar on April 17, 2013, 09:44:35 am
http://www.codecademy.com/#!/exercises/0

Is this shiz anygood?

Try this instead: http://javascriptissexy.com/how-to-learn-javascript-properly/ (http://javascriptissexy.com/how-to-learn-javascript-properly/)

It goes through the codecademy stuff, but also gives you more resources so you have a FULL understanding of the language.

Like, codecademy will teach you the language basics, but not what to do with it. This guide teaches you both, as well as more advanced stuff, which is good :D

I have downloads of the books it says to get if you want me to upload them for you?


Title: Re: Programming Thread
Post by: Coyote Starrk on April 17, 2013, 01:32:06 pm
Try this instead: http://javascriptissexy.com/how-to-learn-javascript-properly/ (http://javascriptissexy.com/how-to-learn-javascript-properly/)

It goes through the codecademy stuff, but also gives you more resources so you have a FULL understanding of the language.

Like, codecademy will teach you the language basics, but not what to do with it. This guide teaches you both, as well as more advanced stuff, which is good :D

I have downloads of the books it says to get if you want me to upload them for you?
Maybe later, I am learning too much right now and just seeing what my options are for coding for the future. Thanks for the website broski :U


Title: Re: Programming Thread
Post by: klondikebar on April 17, 2013, 03:20:53 pm
Maybe later, I am learning too much right now and just seeing what my options are for coding for the future. Thanks for the website broski :U

No problems. If you want to try another language, there's also 'Learn Python The Hard Way', which I'm trying again now.


Title: Re: Programming Thread
Post by: klondikebar on April 20, 2013, 11:14:15 am
So, I've realized the only thing holding me back from learning anything, is lack of motivation. Has anyone here had this problem? How did you counter it?


Title: Re: Programming Thread
Post by: Magoo on April 20, 2013, 01:48:22 pm
So, I've realized the only thing holding me back from learning anything, is lack of motivation. Has anyone here had this problem? How did you counter it?

Had this problem.
No cure.
Just gave up.


Title: Re: Programming Thread
Post by: Coyote Starrk on April 20, 2013, 01:53:32 pm
So, I've realized the only thing holding me back from learning anything, is lack of motivation. Has anyone here had this problem? How did you counter it?
Well, maybe you need to go through your programs/apps and see if any arent that great or could do better and try to make a better version.

Or just make an app and hope it can make you moniez.

Why did you start programming in the first place?


Title: Re: Programming Thread
Post by: klondikebar on April 20, 2013, 02:05:14 pm
Well, maybe you need to go through your programs/apps and see if any arent that great or could do better and try to make a better version.

Or just make an app and hope it can make you moniez.

Why did you start programming in the first place?

I wanted to make games.
I still do, it's just all the tools people say to 'start' with seem so lackluster to me. Like, everyone recommends starting with Python and PyGame for games, but all the example games look terrible... I know I can't say much as I haven't even made one but still...


Title: Re: Programming Thread
Post by: Coyote Starrk on April 20, 2013, 02:13:14 pm
I wanted to make games.
I still do, it's just all the tools people say to 'start' with seem so lackluster to me. Like, everyone recommends starting with Python and PyGame for games, but all the example games look terrible... I know I can't say much as I haven't even made one but still...
Well if it's recommended for babbys first game, its expected that the games will look turrible, they are/were babbys first game. It aint gonna be no Kingdom Hearts right away.

Just start making a game and go from their, learning as you go maybe?


Title: Re: Programming Thread
Post by: klondikebar on April 20, 2013, 05:00:33 pm
Well if it's recommended for babbys first game, its expected that the games will look turrible, they are/were babbys first game. It aint gonna be no Kingdom Hearts right away.

Just start making a game and go from their, learning as you go maybe?

Maybe I'll make pong...

But I still don't feel motivated...


Title: Re: Programming Thread
Post by: Coyote Starrk on April 20, 2013, 05:01:34 pm
Maybe I'll make pong...

But I still don't feel motivated...
Make pong but with blackjack, and hookers! D:<


Title: Re: Programming Thread
Post by: klondikebar on April 20, 2013, 05:19:59 pm
Make pong but with blackjack, and hookers! D:<

That... could work if someone were to make a long, thin graphic of a hooker, for the bats, and then make the background a poker table and have the ball as a chip.

K, now I'm mildly inspired in a stupid way XD


Title: Re: Programming Thread
Post by: Coyote Starrk on April 20, 2013, 05:23:03 pm
That... could work if someone were to make a long, thin graphic of a ****, for the bat, and then make the background a poker table and have the ball as a chip.

K, now I'm mildly inspired in a stupid way XD
dont forget the flashing lights and bells and shiz!


Title: Re: Programming Thread
Post by: Magoo on April 20, 2013, 10:47:20 pm
That... could work if someone were to make a long, thin graphic of a hooker, for the bats, and then make the background a poker table and have the ball as a chip.

K, now I'm mildly inspired in a brilliant way XD

Fixed.


Title: Re: Programming Thread
Post by: klondikebar on April 21, 2013, 03:48:39 pm
I've realized that one of my favourite things to do while learning, is take the code from whatever example I'm looking at, and try to make it as small as possible. It's like organizing and trimming things, makes it more efficient :P


Title: Re: Programming Thread
Post by: Coyote Starrk on April 21, 2013, 03:56:00 pm
I've realized that one of my favourite things to do while learning, is take the code from whatever example I'm looking at, and try to make it as small as possible. It's like organizing and trimming things, makes it more efficient :P
You should work at mozilla >:U


Title: Re: Programming Thread
Post by: Shihen on April 27, 2013, 05:57:51 pm
So, I've realized the only thing holding me back from learning anything, is lack of motivation. Has anyone here had this problem? How did you counter it?
Try learning multiple languages. When you get bored of one you go to another. (I'd limit it to 2-3 languages to begin with though)
Works for me. Get bored of Java? Move to PHP and web development, etc.

I get bored of making games pretty often but then I go and work on one of my websites or work on my Japanese. 来年日本語の大学で勉強する。 :)
Currently I'm in a game development contest at university which finishes this Monday and our group has already won the design phase! Now to go for a full win. :D I haven't worked on it as much as I would have on my own though, plus we're using Greenfoot (forced to). I find it hard to start off motivated but once I start it's usually no problem to keep going from then on.

Oh and Ludum Dare (http://www.ludumdare.com/) is on this weekend. You learn a lot from it and it's really fun. I'm not competing in this one sadly as I have a lot of homework to do :(


Title: Re: Programming Thread
Post by: Coyote Starrk on April 27, 2013, 06:22:09 pm
Try learning multiple languages. When you get bored of one you go to another. (I'd limit it to 2-3 languages to begin with though)
Works for me. Get bored of Java? Move to PHP and web development, etc.

I get bored of making games pretty often but then I go and work on one of my websites or work on my Japanese. 来年日本語の大学で勉強する。 :)
Currently I'm in a game development contest at university which finishes this Monday and our group has already won the design phase! Now to go for a full win. :D I haven't worked on it as much as I would have on my own though, plus we're using Greenfoot (forced to). I find it hard to start off motivated but once I start it's usually no problem to keep going from then on.

Oh and Ludum Dare (http://www.ludumdare.com/) is on this weekend. You learn a lot from it and it's really fun. I'm not competing in this one sadly as I have a lot of homework to do :(
What kind of game yall making? an eroge perhaps?


Title: Re: Programming Thread
Post by: Shihen on April 27, 2013, 07:01:00 pm
What kind of game yall making? an eroge perhaps?

If only I could draw... Hey!


Title: Re: Programming Thread
Post by: Coyote Starrk on April 27, 2013, 07:27:30 pm
If only I could draw... Hey!
YOU DIDNT ANSWER THE QUESTION! IT MUST BE AN EROGE! D:<


Title: Re: Programming Thread
Post by: Shihen on April 27, 2013, 07:36:28 pm
YOU DIDNT ANSWER THE QUESTION! IT MUST BE AN EROGE! D:<
If it was, society should hope it never reaches the internet. Unless being turned on by stick figures is highly popular then who knows...


Title: Re: Programming Thread
Post by: Coyote Starrk on April 27, 2013, 07:45:35 pm
If it was, society should hope it never reaches the internet. Unless being turned on by stick figures is highly popular then who knows...
I bet you made baby sitting cream!


Title: Re: Programming Thread
Post by: klondikebar on April 29, 2013, 01:27:10 pm
So, my new plan:

-Continue with Learn Python the Hard Way
-Make a bunch of small games in pyGame (and maybe pyglet)
-Make Pong with Blackjack and Hookers
-Make a small RPG game, maybe a roguelike, possibly make it bigger if I enjoy making it.

-Learn other stuff.

So, I want to actually stick with python and get decent at it before doing anything else. I think my previous problems often included me rushing through each language thinking I could master it easily, then I'd just forget everything. Hopefully I won't do that this time :P


Title: Re: Programming Thread
Post by: Coyote Starrk on April 29, 2013, 03:37:34 pm
So, my new plan:

-Continue with Learn Python the Hard Way
-Make a bunch of small games in pyGame (and maybe pyglet)
-Make Pong with Blackjack and Hookers
-Make a small RPG game, maybe a roguelike, possibly make it bigger if I enjoy making it.

-Learn other stuff.

So, I want to actually stick with python and get decent at it before doing anything else. I think my previous problems often included me rushing through each language thinking I could master it easily, then I'd just forget everything. Hopefully I won't do that this time :P
You should make pong with blackjack and hookers first >:U


Title: Re: Programming Thread
Post by: Shihen on April 29, 2013, 05:46:17 pm
So, my new plan:

-Continue with Learn Python the Hard Way
-Make a bunch of small games in pyGame (and maybe pyglet)
-Make Pong with Blackjack and Hookers
-Make a small RPG game, maybe a roguelike, possibly make it bigger if I enjoy making it.

-Learn other stuff.

So, I want to actually stick with python and get decent at it before doing anything else. I think my previous problems often included me rushing through each language thinking I could master it easily, then I'd just forget everything. Hopefully I won't do that this time :P
You're doing good, keep going :)

I won a game development contest today for my university :D Apparently I get a prize but I don't know what it is yet :( I want to knooooow!


Title: Re: Programming Thread
Post by: Coyote Starrk on April 29, 2013, 06:20:20 pm
You're doing good, keep going :)

I won a game development contest today for my university :D Apparently I get a prize but I don't know what it is yet :( I want to knooooow!
Why dont you know? D:


Title: Re: Programming Thread
Post by: Shihen on April 30, 2013, 12:04:22 am
Why dont you know? D:
Because there's going to be a separate award ceremony by the sponsor. Should know soon! (I hope~)


Title: Re: Programming Thread
Post by: Coyote Starrk on April 30, 2013, 12:19:16 am
Because there's going to be a separate award ceremony by the sponsor. Should know soon! (I hope~)
Sponsor? Explain!


Title: Re: Programming Thread
Post by: klondikebar on April 30, 2013, 01:31:50 am
You're doing good, keep going :)

I won a game development contest today for my university :D Apparently I get a prize but I don't know what it is yet :( I want to knooooow!

Thank you :P

And congrats :D


Title: Re: Programming Thread
Post by: klondikebar on May 01, 2013, 12:15:55 pm
So, I'm looking at Lua and Love2D, and I'm thinking it looks insanely powerful for a scripting language. This guy made some awesomeness in only 8 hours: http://iwasdeportedandalligotwasthislousydomain.co.uk/index.php?entry=entry130501-122423 (http://iwasdeportedandalligotwasthislousydomain.co.uk/index.php?entry=entry130501-122423)


Title: Re: Programming Thread
Post by: Shihen on May 02, 2013, 02:41:25 am
So, I'm looking at Lua and Love2D, and I'm thinking it looks insanely powerful for a scripting language. This guy made some awesomeness in only 8 hours: http://iwasdeportedandalligotwasthislousydomain.co.uk/index.php?entry=entry130501-122423 (http://iwasdeportedandalligotwasthislousydomain.co.uk/index.php?entry=entry130501-122423)
Aaah I've seen quite a few people using Love2D in Ludum Dare. Personally haven't tried it and I don't think it's for me xD (Quite happy with what I already know) but let us know how it goes if you choose to expand on it.

Thank you :P

And congrats :D

Thank you :)

Sponsor? Explain!

I'll explain once I get my prize D: (It's not like I don't even know who is sponsoring us)


Title: Re: Programming Thread
Post by: klondikebar on May 02, 2013, 03:30:18 pm
I'm at the point in Learn Python the Hard Way where I previously gave up last time. Wish me luck...


Title: Re: Programming Thread
Post by: Coyote Starrk on May 02, 2013, 03:40:05 pm
I'm at the point in Learn Python the Hard Way where I previously gave up last time. Wish me luck...
May the old gods and the new protect you on your journey!


Title: Re: Programming Thread
Post by: Magoo on May 02, 2013, 09:10:11 pm
May the old gods and the new protect you on your journey!

And the forbidden ones too.


Title: Re: Programming Thread
Post by: Coyote Starrk on May 02, 2013, 09:19:40 pm
And the forbidden ones too.
Bro, do you even Westeros?


Title: Re: Programming Thread
Post by: Shihen on May 15, 2013, 02:23:10 pm
I got my prize for winning that game development contest finally! :D (Prepare to spot the irony) I got an Android tablet running ICS (4.04) and a £15 iTunes coupon. Followed by a free lunch and getting to talk to the sponsor directly. Learned lots of information about himself, his company, and the industry. Wouldn't mind winning things more often :)


Title: Re: Programming Thread
Post by: klondikebar on May 15, 2013, 03:47:30 pm
I got my prize for winning that game development contest finally! :D (Prepare to spot the irony) I got an Android tablet running ICS (4.04) and a £15 iTunes coupon. Followed by a free lunch and getting to talk to the sponsor directly. Learned lots of information about himself, his company, and the industry. Wouldn't mind winning things more often :)

Congrats!

In my programming news, I caught up to where I was last time I tried to learn Python, but am now stuck because, once again...
I can't understand freaking classes... every damn time, I just fail at understanding them...


Title: Re: Programming Thread
Post by: Coyote Starrk on May 15, 2013, 04:28:31 pm
I got my prize for winning that game development contest finally! :D (Prepare to spot the irony) I got an Android tablet running ICS (4.04) and a £15 iTunes coupon. Followed by a free lunch and getting to talk to the sponsor directly. Learned lots of information about himself, his company, and the industry. Wouldn't mind winning things more often :)
It's ironic cuz youre country doesnt use pounds? :O


Congrats!

In my programming news, I caught up to where I was last time I tried to learn Python, but am now stuck because, once again...
I can't understand freaking classes... every damn time, I just fail at understanding them...
Hit up the programming thread on /g/ perhaps?


Title: Re: Programming Thread
Post by: Shihen on May 15, 2013, 07:31:13 pm
Congrats!

In my programming news, I caught up to where I was last time I tried to learn Python, but am now stuck because, once again...
I can't understand freaking classes... every damn time, I just fail at understanding them...
Thanks!

I remember the time that I had no idea how classes worked. Always tried to grasp them in PHP but because they weren't forced I never used them.
I recommend learning Java for a while. It's where I really learned how to use classes and understand them the best. Or just ask away, we can answer your questions :D

It's ironic cuz youre country doesnt use pounds? :O

Hit up the programming thread on /g/ perhaps?
I do in fact live in England so pounds are indeed my currency. Just an iTunes coupon with an Android tablet? I don't even have a single product/service that would make use of that :P I just gave it away to my friend to use.


Title: Re: Programming Thread
Post by: Coyote Starrk on May 15, 2013, 09:21:51 pm
Thanks!

I remember the time that I had no idea how classes worked. Always tried to grasp them in PHP but because they weren't forced I never used them.
I recommend learning Java for a while. It's where I really learned how to use classes and understand them the best. Or just ask away, we can answer your questions :D
I do in fact live in England so pounds are indeed my currency. Just an iTunes coupon with an Android tablet? I don't even have a single product/service that would make use of that :P I just gave it away to my friend to use.
Doesnt android support AAC format by default cuz fuck the poleese?


Title: Re: Programming Thread
Post by: klondikebar on May 16, 2013, 01:46:35 am
Thanks!

I remember the time that I had no idea how classes worked. Always tried to grasp them in PHP but because they weren't forced I never used them.
I recommend learning Java for a while. It's where I really learned how to use classes and understand them the best. Or just ask away, we can answer your questions :D

Alright :D

Well, this example from learn python the hard way:

Code:
class Song(object):

    def __init__(self, lyrics):
        self.lyrics = lyrics

    def sing_me_a_song(self):
        for line in self.lyrics:
            print line

happy_bday = Song(["Happy birthday to you",
                   "I don't want to get sued",
                   "So I'll stop right there"])

bulls_on_parade = Song(["They rally around the family",
                        "With pockets full of shells"])

happy_bday.sing_me_a_song()

bulls_on_parade.sing_me_a_song()

I understand that the last two lines will call each song as a parameter in the sing_me_a_song function, but I don't get the whole 'self' thing. In song me a song you use 'self' as a parameter... which for some reason doesn't make sense to me...

And this:
Code:
def __init__(self, lyrics):
        self.lyrics = lyrics

I don't even know how to comprehend it, I know it's meant to basically start the class, but I can't see what it does...

Another thing I'm having, is that looking at when I use Song("[Song lyrics]"), I'd assume there'd have to be another parameter because the class has self and lyrics in __init__... why only the lyrics?

Sorry if this was weird to understand, I don't know what I'm talking about and it makes it harder to ask for advice...

Hit up the programming thread on /g/ perhaps?

HAHAHAHAHAHAAHHAHAHAHAHAHAHAHAHA.
No.


Title: Re: Programming Thread
Post by: Shihen on May 16, 2013, 02:15:42 am
Code:
def __init__(self, lyrics):
        self.lyrics = lyrics

This is the constructor for the class, consider it a special function (method) if you will. Everytime an object is created from that class then the constructor will be called. You'll notice the arguments 'self' and 'lyrics'. The self argument is a little complicated because it works in a different way than all the other arguments. (I'll come back to it later)
For 'lyrics', that's basically the variable that will hold any value you pass into your class when you create it. All arguments after 'self' are entirely optional and up to the programmer.

Code:
class Car():
    colour = "Unknown"
   
    def __init__(self, col):
        print(col)

car = Car("Red")
Will output "Red". If you were to change the print(col) to print(colour), then we'd get an error because the variable 'colour' is not in the function (__init__). To access it you'd have to use self.colour so, print(self.colour) would print out "unknown".
Setting the variable works in the same way:

Code:
class Car():
    colour = "Unknown"
   
    def __init__(self, col):
        self.colour = col

    def get_color(self):
        print(self.colour)

car = Car("Red")
car.get_color()

Each function in a class MUST have 'self' as a parameter. This is because Python passes an extra value behind the scenes, which goes into the self variable. It doesn't have to be called 'self' either, you can rename it to what you like. It'll still work in the same way.

As for this line:
Code:
class Song(object):
(object) is forcing whatever you pass into __init__ as an argument (lyrics) to be an object data type. That's all really. Try setting (object) to (int) and you'll see that you'll only be able to pass ints into lyrics.


Title: Re: Programming Thread
Post by: klondikebar on May 16, 2013, 10:01:20 am
Holy crap that clear things up a lot. Looking back on it, now it makes a lot more sense. Thanks shihen :D


Title: Re: Programming Thread
Post by: klondikebar on May 19, 2013, 01:47:34 pm
Pleased to report, you've helped enough that I've been able to play around with classes and make functions that respond to prompts in them :D So thanks a metric tonne ;D


Title: Re: Programming Thread
Post by: Shihen on May 19, 2013, 02:32:00 pm
Pleased to report, you've helped enough that I've been able to play around with classes and make functions that respond to prompts in them :D So thanks a metric tonne ;D
Haha wooo! :D I'm glad :) Although just wait until you try making a GUI in Python... and have a knife ready. :p


Title: Re: Programming Thread
Post by: Coyote Starrk on May 19, 2013, 02:49:37 pm
Haha wooo! :D I'm glad :) Although just wait until you try making a GUI in Python... and have a knife ready. :p
What's the knife for? o.o


Title: Re: Programming Thread
Post by: klondikebar on May 19, 2013, 02:49:43 pm
Haha wooo! :D I'm glad :) Although just wait until you try making a GUI in Python... and have a knife ready. :p

Sod that, I'll use a pre-built library :P


Title: Re: Programming Thread
Post by: Shihen on May 27, 2013, 02:10:01 pm
Got invited to a new contest for a prize of £5k although I'm not entering this one. Money's tempting, but the rules are too annoying. The idea is to make an application to aid student education but your idea isn't allowed to clash with any of the existing 90~ or so applications that the sponsor has commercially published already. Personally I have no patience to deal with that, plus I want freedom in my development. They will pretty much claim ownership of the application if you win, too.

I have an idea for the application anyway and I'm going to start on it over the Summer. If it obtains the same standard as required in order to win that contest then who knows, might earn something from it :p


Title: Re: Programming Thread
Post by: Coyote Starrk on May 27, 2013, 02:27:21 pm
Got invited to a new contest for a prize of £5k although I'm not entering this one. Money's tempting, but the rules are too annoying. The idea is to make an application to aid student education but your idea isn't allowed to clash with any of the existing 90~ or so applications that the sponsor has commercially published already. Personally I have no patience to deal with that, plus I want freedom in my development. They will pretty much claim ownership of the application if you win, too.

I have an idea for the application anyway and I'm going to start on it over the Summer. If it obtains the same standard as required in order to win that contest then who knows, might earn something from it :p
They are basically giving you 5K for a good idea, get on that, use your earnings to fund a new program, and become lead programmer for them! D:<


Title: Re: Programming Thread
Post by: klondikebar on May 27, 2013, 02:32:02 pm
Got invited to a new contest for a prize of £5k although I'm not entering this one. Money's tempting, but the rules are too annoying. The idea is to make an application to aid student education but your idea isn't allowed to clash with any of the existing 90~ or so applications that the sponsor has commercially published already. Personally I have no patience to deal with that, plus I want freedom in my development. They will pretty much claim ownership of the application if you win, too.

I have an idea for the application anyway and I'm going to start on it over the Summer. If it obtains the same standard as required in order to win that contest then who knows, might earn something from it :p

That's a shame, would be a cool thing to enter :P

In my news, I understand classes to the point where I can make them and understand what it all does (hell yeah), and once I've gotten to the part in this tutorial where it talks about installing modules I plan on learning pygame and maybe pyglet.

After that, I'll make games and be happy :)


Title: Re: Programming Thread
Post by: Shihen on May 27, 2013, 06:21:45 pm
That's a shame, would be a cool thing to enter :P

In my news, I understand classes to the point where I can make them and understand what it all does (hell yeah), and once I've gotten to the part in this tutorial where it talks about installing modules I plan on learning pygame and maybe pyglet.

After that, I'll make games and be happy :)

Wooo :D Ludum Dare, next! :)


Title: Re: Programming Thread
Post by: klondikebar on May 27, 2013, 06:29:01 pm
Wooo :D Ludum Dare, next! :)


Next Ludum Dare is in August. Should be enough time for me to learn pyGame and then I can make my pong game for it :P


Title: Re: Programming Thread
Post by: Magoo on May 27, 2013, 08:36:53 pm
Got invited to a new contest for a prize of £5k although I'm not entering this one. Money's tempting, but the rules are too annoying. The idea is to make an application to aid student education but your idea isn't allowed to clash with any of the existing 90~ or so applications that the sponsor has commercially published already. Personally I have no patience to deal with that, plus I want freedom in my development. They will pretty much claim ownership of the application if you win, too.

I have an idea for the application anyway and I'm going to start on it over the Summer. If it obtains the same standard as required in order to win that contest then who knows, might earn something from it :p

You're good man~


Title: Re: Programming Thread
Post by: klondikebar on June 22, 2013, 04:59:20 pm
Gonna try and learn JavaScript from here (http://javascriptissexy.com/how-to-learn-javascript-properly/) over the summer holiday, so I'm ready for my computing class next year (Because they will teach the absolute basics and no more, I want to show off :P).

Thinking about it, it's a logical choice as HTML5 is slowly getting better, especially for games.

I still want to learn C# for Unity and MonoGame, and eventually I want to learn C and 6502 assembly so I can make NES homebrew :P


Title: Re: Programming Thread
Post by: Magoo on June 22, 2013, 06:10:09 pm
Gonna try and learn JavaScript from here (http://javascriptissexy.com/how-to-learn-javascript-properly/) over the summer holiday, so I'm ready for my computing class next year (Because they will teach the absolute basics and no more, I want to show off :P).

Thinking about it, it's a logical choice as HTML5 is slowly getting better, especially for games.

I still want to learn C# for Unity and MonoGame, and eventually I want to learn C and 6502 assembly so I can make NES homebrew :P

What do you mean 'slowly getting better'?
Wasn't it awesome from the get go?


Title: Re: Programming Thread
Post by: klondikebar on June 22, 2013, 06:36:59 pm
What do you mean 'slowly getting better'?
Wasn't it awesome from the get go?

It was a little choppy, like, if you compare a flash game to an HTML5 version of the same game, Flash generally wins (Mainly due to better sound support).


Title: Re: Programming Thread
Post by: Magoo on June 22, 2013, 07:40:53 pm
It was a little choppy, like, if you compare a flash game to an HTML5 version of the same game, Flash generally wins (Mainly due to better sound support).

Yeah, maybe. But when HTML5 was released, wasn't Adobe neglecting Flash and Flash apps were suffering from it like a lot?


Title: Re: Programming Thread
Post by: klondikebar on June 23, 2013, 07:21:09 am
Yeah, maybe. But when HTML5 was released, wasn't Adobe neglecting Flash and Flash apps were suffering from it like a lot?

I think so. They basically weren't listening to their customers requests, which would have made Flash a lot better and probably held HTML5 games and apps back a little in popularity.


Title: Re: Programming Thread
Post by: Magoo on June 23, 2013, 08:44:17 am
I think so. They basically weren't listening to their customers requests, which would have made Flash a lot better and probably held HTML5 games and apps back a little in popularity.

Now they've both stabilized which is awesome~


Title: Re: Programming Thread
Post by: Coyote Starrk on June 23, 2013, 04:08:58 pm
I think so. They basically weren't listening to their customers requests, which would have made Flash a lot better and probably held HTML5 games and apps back a little in popularity.
It also has to do with HTCs influx of crap phones which caused them to spend way to much time and effort making flash work on all of HTCs phones, which is what caused adobe to drop android flash support.

HTC killed flash on android devices.


Title: Re: Programming Thread
Post by: Magoo on July 23, 2013, 09:49:00 pm
Fucking PHP/DATABASE bullcrap!

I can't figure out what's wrong but the value in my form won't register in the database! q_q
I would provide the script to anyone willing to help.
It's the website of my job's place btw.

I have absolutely no knowledge of PHP or Databases.
All I do is noob around copying and replacing stuff.
So my script might actually look totally hilarious to someone who knows this stuff.


Title: Re: Programming Thread
Post by: Aperl on July 23, 2013, 09:50:53 pm
Fucking PHP/DATABASE bullcrap!

I can't figure out what's wrong but the value in my form won't register in the database! q_q
I would provide the script to anyone willing to help.
It's the website of my job's place btw.

I have absolutely no knowledge of PHP or Databases.
All I do is noob around copying and replacing stuff.
So my script might actually look totally hilarious to someone who knows this stuff.
It's been a long while, but I can try to help. You can message me.


Title: Re: Programming Thread
Post by: Magoo on July 23, 2013, 10:00:14 pm
It's been a long while, but I can try to help. You can message me.

Glad it's you cuz the thing's in French. XD


Title: Re: Programming Thread
Post by: Shihen on July 24, 2013, 01:51:20 am
Feel free to send it to me too. I work with PHP and databases for my job :P


Title: Re: Programming Thread
Post by: Shihen on July 26, 2013, 08:58:28 pm
I've announced my new app and revealed some screenshots about on it my website: http://www.harrk.com/blog/post/friday-update-new-project-japanese-revision-app
It's only been one week roughly since I started work on it though :P

It's a Japanese revision app that I hope to get released before Summer's end, but judging from how I want to add mini-games to the app then it could get delayed. Usually I work with LibGDX to build games with and just skip the boring Android XML jibba-jabba, so this is a new turn for me and hopefully I can get LibGDX merged in later for the mini-games. :)

Really need to work on my website further at some point. It's built on Drupal 6 as I started building my website before we moved over to developing with Drupal 7 - which is faaaaar better and module developers are no longer developing for 6. :(


Title: Re: Programming Thread
Post by: klondikebar on July 27, 2013, 05:50:38 am
I've announced my new app and revealed some screenshots about on it my website: http://www.harrk.com/blog/post/friday-update-new-project-japanese-revision-app
It's only been one week roughly since I started work on it though :P

It's a Japanese revision app that I hope to get released before Summer's end, but judging from how I want to add mini-games to the app then it could get delayed. Usually I work with LibGDX to build games with and just skip the boring Android XML jibba-jabba, so this is a new turn for me and hopefully I can get LibGDX merged in later for the mini-games. :)

Really need to work on my website further at some point. It's built on Drupal 6 as I started building my website before we moved over to developing with Drupal 7 - which is faaaaar better and module developers are no longer developing for 6. :(

If you have a reddit account, /r/LearnJapanese really like their apps, maybe post it thwere for a little publicity :P


Title: Re: Programming Thread
Post by: Shihen on July 27, 2013, 07:23:41 am
If you have a reddit account, /r/LearnJapanese really like their apps, maybe post it thwere for a little publicity :P

I tend to stay away from it for addictive reasons. :P Will be sure to get the name around once it's complete heh.


Title: Re: Programming Thread
Post by: klondikebar on August 30, 2013, 12:16:41 am
I had a minor epiphany whilst failing to get to sleep. I've been trying to come up with a VERY SMALL project I can make, and managed to think of something :D