Independent programmers?

If you've just gotten into programming and can do what you just did then you are probably very talented. Would you care to discuss with us the algorithm used to get the pixels to flow sideways and to accumulate?
 
I like makeing text games in C++, very ****en easy to do.
 
If you've just gotten into programming and can do what you just did then you are probably very talented. Would you care to discuss with us the algorithm used to get the pixels to flow sideways and to accumulate?

I just got into Java. I programmed in C++ for about a year, and now I'm taking a class on programming in java.

It is basically a big array of integers, each one representing a "type". There is an algorithm called "switch" which determines what to do when two integers switch, "heavier" elements switch with "lighter" ones, eventually causing them to settle. Another algorithm loops through the array and draws pixels depending on what integer it is, and of course I have special cases for plant and fire, which still don't work properly.
 
I once created a pixel-font generator using PHP. I basically kept the pixel information inside an array using no more than 4 numbers or characters (ie: AE3 would represent the letter 'A'). It also had some cool shadow and border effects.
 
i'm pretty useless when it comes to programming, to be honest, i know a bit of java and cpp but i stick to web design as far as coding is concerned
 
I'm currently building an rpg editor in qbasic.
 
I'm currently(at this moment) working on my music player in C#.

I know C# quite well(I'm finally getting into drawing with GDI+, DirectDraw, and DirectX). I use C++ for interacting with static libraries and often make a C++ dll for interactions I can't pull off with C#(rather rare though).
 
I like to make RPG games in RPGMaker 2000!
Heh <3 that game. Never finished an RPG though :(.
I can't code, even in basic. I keep thinking I'd like to learn though, but it's mostly maths, which I hate.
 
well not really. you dont need math to code simple applications.
i know a bit of c++,AS,JS and im currently learning PHP but the only thing thats really hindering me from coding applications is that i've never learnt OOP methods.
here are a few things that i've made in flash and php:-
flash based menu coded in action script:
http://img133.imageshack.us/my.php?image=menusysaa8.swf
news posting system coded in php:
http://franklyn.ifastnet.com/News/
 
Once you know one curly braced language you know them all pretty much. I've recently been learning LISP, coming from a procedural orientated language like C++ or C to LISP is a real mind bender.
 
well yes and no. you can probably pickup the syntax really quick but there are few factors that are presented by the environment that you have to consider.
whats lisp like ? can you show me a "hello world" example?
 
I just got into Java. I programmed in C++ for about a year, and now I'm taking a class on programming in java.

It is basically a big array of integers, each one representing a "type". There is an algorithm called "switch" which determines what to do when two integers switch, "heavier" elements switch with "lighter" ones, eventually causing them to settle. Another algorithm loops through the array and draws pixels depending on what integer it is, and of course I have special cases for plant and fire, which still don't work properly.


That's interesting.

How did you figure out the switch algorithm was used to create the falling sand program? Did you learn that in your C++/Java class ??

By the way - I tried to create a clone of your clone and failed miserably :D To draw a pixel at a given spot, it searches an array to determine whether the pixel in question is "empty" (everytime you draw a "wall" it adds those pixels to that array, making them not empty), and if so, draws the pixel. Then a bunch of if thens to determine whether to draw the next pixel to the left, right or down. Post your code ;)
 
Back
Top