Dark Bit Factory & Gravity

GENERAL => General chat => Topic started by: newbee on July 27, 2014

Title: hello. complete noob here.
Post by: newbee on July 27, 2014
Hello , people ! I'm 17 and i love the demoscene , and i really want to learn how the stuff is made . so could anyone please point me in the right direction ? I know some really basic JAVA programming ... idk whether that would come in handy though .... so , err , help me out here , anyone ? i'd like to learn about the graphics programming stuff :)
Title: Re: hello. complete noob here.
Post by: Kirl on July 28, 2014
Hi newbee, coursera just started a creative programming course ( https://www.coursera.org/course/digitalmedia ). They're using a programming environment called Processing, which I'm not familiar with but from what I saw it looks pretty interesting and not too difficult to start with.

There's a huge amount of languages available to code graphics. If you want speed and procesing power pick a compiled language, for ease of use look at a scripting language. Personally I'm pretty excited about javascript wich has gotten a lot of graphics capabilities in recent years and will run on all/most devices with a browser.

On the ipad (and possibly android devices too) there's codea (or codify) wich is an interesting sort of progamming toy which uses LUA.

Good luck finding a language and welcome to the forums!  :hi:
Title: Re: hello. complete noob here.
Post by: LittleWhite on July 28, 2014
Hello,

Processing (http://"https://www.processing.org/") is not a bad idea. I am always forgetting such solution (maybe because I prefer to do some low level programming, I don't know).
But, Processing language is specialised in graphical effects. You don't have to bother about low level stuff (pointers, classes or whatever), nor with OpenGL/DirectX or any other library.

So, you shoud take a look.

But, maybe you are a programmer and you like the hard programming stuff. If you want to continue with Java, you should look at LibGDX for 2D struff, and LWGL for 3D stuff (LWGL is a wrapper for OpenGL). If you want to start a new language ... well, you can do that too. My advice will be : take a programming language with which one you are feeling the best. Since graphical programming is a complete area in itself, it's better to use a known language to start :)
Title: Re: hello. complete noob here.
Post by: newbee on July 28, 2014
Thanks , both of ya :) ... i guess i'll try out both LWGL and processing and find what suits me most :))
Title: Re: hello. complete noob here.
Post by: inc. on July 28, 2014
i can provide a demo source code for processing :)
nice random growing flowers with lens flare
Title: Re: hello. complete noob here.
Post by: newbee on July 28, 2014
sure thing , man ! i'd be really glad :)
Title: Re: hello. complete noob here.
Post by: inc. on July 28, 2014
all right here you go:

1. start processing
2. open file
3. open Drawer
4. load: stern.pde
5. press preview in processing

have fun

Title: Re: hello. complete noob here.
Post by: newbee on July 29, 2014
all right here you go:

1. start processing
2. open file
3. open Drawer
4. load: stern.pde
5. press preview in processing

have fun

thanks man ! i'll check it out :)
Title: Re: hello. complete noob here.
Post by: inc. on July 29, 2014
An other good coding language is PureBasic. There is a strong community behind. Many many source Codes available and easy to learn. You also may give PureBasic a try.

I attached 2 examples that i made in the past. its included dx9 hlsl Shader Code.
make sure DX9 is installed and up tp date

(http://abload.de/img/keisoqwa2f.jpg)  (http://abload.de/img/napaliumq1xz6.jpg)
Title: Re: hello. complete noob here.
Post by: newbee on July 29, 2014
all right here you go:

1. start processing
2. open file
3. open Drawer
4. load: stern.pde
5. press preview in processing

have fun

hey for some reason i can't get this thing to run :/ .... well i downloaded the rar , unzipped it , opened up processing , went to file -> open , and tried to open up stem.pde ... it prompted me to move the file to another folder ... i hit yes , it opened up , but when i click on "run" , it says "the nested type Stem cannot hide an enclosing type" ... help me out ?
Title: Re: hello. complete noob here.
Post by: inc. on July 29, 2014

try this package.


tested and is working :)
sorry for the trouble
Title: Re: hello. complete noob here.
Post by: newbee on July 30, 2014

try this package.


tested and is working :)
sorry for the trouble

aww man it still shows the same error :/ .... something due to difference between the versions we're using , maybe ?
Title: Re: hello. complete noob here.
Post by: inc. on July 30, 2014
hell yeah. What a mess.

Next try. I made a whole package of my Processing and the Source Code.

follow the mentioned Steps above.

get the whole pack here (http://www.a5recordings.com/PC_DEV/processing-1.2.1.rar)
Title: Re: hello. complete noob here.
Post by: newbee on July 30, 2014
hell yeah. What a mess.

Next try. I made a whole package of my Processing and the Source Code.

follow the mentioned Steps above.

get the whole pack here (http://www.a5recordings.com/PC_DEV/processing-1.2.1.rar)

yep it works now ... and holy cow it's awesome ! i'm gonna analyze the code right away ! thanks man !
Title: Re: hello. complete noob here.
Post by: Hotshot on August 04, 2014
 :hi: newbee to the forum :)

Processing 1.2 is very good programming language with little code on what you can do :)

Stern demo is amazing on what people can put mind into it :)

The code example in Processing 1.2 had got lots of source code to learn from and it can even do Open Gl too!

There is one things is missing in processing 1.2 is doesnt have load music or sound commands :(

Title: Re: hello. complete noob here.
Post by: newbee on August 10, 2014
:hi: newbee to the forum :)

Processing 1.2 is very good programming language with little code on what you can do :)

Stern demo is amazing on what people can put mind into it :)

The code example in Processing 1.2 had got lots of source code to learn from and it can even do Open Gl too!

There is one things is missing in processing 1.2 is doesnt have load music or sound commands :(

actually , processing does come with a library called "Minim" , which can be used to import and play sounds ! it's pretty great :)
Title: Re: hello. complete noob here.
Post by: flightcrank on August 11, 2014
I think processing is great for trying out new effects and getting some ideas down. It should be the default language used on the forum due to the common syntax and ease of plotting pixels.

I recommend it !

ive made my first 3D engine in it. heres a few screens.
Title: Re: hello. complete noob here.
Post by: Hotshot on August 11, 2014
 flightcrank - That is very good and Well Done  :clap:

Quote
It should be the default language used on the forum due to the common syntax and ease of plotting pixels.

I agree and much easier than any programming language and I mean try do Window Mode and put sprites on the screen in C++ as it would need lots of code to do that!

Here processing 1.2 that show how put window mode with sprites on screen in smallest code there is!

Code: [Select]
PImage online;

void setup() {
  size(640, 360);
 
  background(0, 0, 0);

  online = loadImage( "hotshot.png");
  image(online, 2, 0);
}

Quote
actually , processing does come with a library called "Minim" , which can be used to import and play sounds ! it's pretty great :)

That is Great :)

I am wondering what Files music does Processing 1.2 accept apart from MP3?
Title: Re: hello. complete noob here.
Post by: newbee on August 12, 2014
flightcrank - awesome job man !


I am wondering what Files music does Processing 1.2 accept apart from MP3?

from the documentation , it seems that au , snd , aiff and wav are also supported :)
Title: Re: hello. complete noob here.
Post by: Hotshot on August 17, 2014
Excellent Tutorials for Processing :)

http://staticvoidgames.com/tutorials/intro/index.jsp

https://www.khanacademy.org/computing/cs/programming

 :cheers: