Flame Painter Dev Thread

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

User avatar
MrDeathNote
ES Beta Backer
ES Beta Backer
Posts: 594
Joined: Sun Oct 11, 2009 9:57 am
Current Project: cocos2d-x project
Favorite Gaming Platforms: SNES, Sega Megadrive, XBox 360
Programming Language of Choice: C/++
Location: Belfast, Ireland
Contact:

Re: Flame Painter Dev Thread

Post by MrDeathNote »

avansc wrote:
MrDeathNote wrote:
avansc wrote: I'll just put the zip up.
Did you ever put this up, i'd definitely like to have a look at the source :)
I'll get on that, It's just very very messy atm. but i'll chuck something out there.
Good, good. Even if it's messy i'd just like to have a look.
http://www.youtube.com/user/MrDeathNote1988

Image
Image

"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
User avatar
avansc
Respected Programmer
Respected Programmer
Posts: 1708
Joined: Sun Nov 02, 2008 6:29 pm

Re: Flame Painter Dev Thread

Post by avansc »

There is an xcode project file in that should work fine for you folks with xcode. For the rest, the code should be pretty portable, I took the time to do some conditional things, you'll just have to tell it at a minimum where to find glut/gl, you can add timing as well, but it will use a default of 0.01s as is, and will look okay.

press C to clear the screen, C to resume drawing, if you press any other key it will stop drawing but not clear the screen, press another key to start drawing again, sorry, i did not do the mouse click thing.

Also, this code is not pretty or even good, its been through some lets jam this in here and see what happens, so just keep that in mind.
http://s000.tinyupload.com/index.php?fi ... 94&gk=hyip
Last edited by avansc on Mon Jan 10, 2011 4:15 pm, edited 1 time in total.
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: Flame Painter Dev Thread

Post by dandymcgee »

Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
User avatar
avansc
Respected Programmer
Respected Programmer
Posts: 1708
Joined: Sun Nov 02, 2008 6:29 pm

Re: Flame Painter Dev Thread

Post by avansc »

dandymcgee wrote:
I don't get it..

Ugh, my bad, fixed.
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: Flame Painter Dev Thread

Post by dandymcgee »

avansc wrote:
dandymcgee wrote:
I don't get it..

Ugh, my bad, fixed.
Heh, I figured it was a clipboard malfunction.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
User avatar
MrDeathNote
ES Beta Backer
ES Beta Backer
Posts: 594
Joined: Sun Oct 11, 2009 9:57 am
Current Project: cocos2d-x project
Favorite Gaming Platforms: SNES, Sega Megadrive, XBox 360
Programming Language of Choice: C/++
Location: Belfast, Ireland
Contact:

Re: Flame Painter Dev Thread

Post by MrDeathNote »

Awesome avansc cheers!
http://www.youtube.com/user/MrDeathNote1988

Image
Image

"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
User avatar
xiphirx
Chaos Rift Junior
Chaos Rift Junior
Posts: 324
Joined: Mon Mar 22, 2010 3:15 pm
Current Project: ******** (Unkown for the time being)
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Contact:

Re: Flame Painter Dev Thread

Post by xiphirx »

I'm still struggling with this... Implementing avansc's code line for line produces extremely bad results for me...
StarCraft II Zerg Strategy, open to all levels of players!

Looking for paid work :< Contact me if you are interested in creating a website, need a web design, or anything else you think I'm capable of :)
User avatar
xiphirx
Chaos Rift Junior
Chaos Rift Junior
Posts: 324
Joined: Mon Mar 22, 2010 3:15 pm
Current Project: ******** (Unkown for the time being)
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Contact:

Re: Flame Painter Dev Thread

Post by xiphirx »

Who said this was dead?

Image

ohai there OpenGL :3
StarCraft II Zerg Strategy, open to all levels of players!

Looking for paid work :< Contact me if you are interested in creating a website, need a web design, or anything else you think I'm capable of :)
User avatar
eatcomics
ES Beta Backer
ES Beta Backer
Posts: 2528
Joined: Sat Mar 08, 2008 7:52 pm
Location: Illinois

Re: Flame Painter Dev Thread

Post by eatcomics »

OOOOOH PRETTY!!!!! *reaches out to touch*
Image
User avatar
xiphirx
Chaos Rift Junior
Chaos Rift Junior
Posts: 324
Joined: Mon Mar 22, 2010 3:15 pm
Current Project: ******** (Unkown for the time being)
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Contact:

Re: Flame Painter Dev Thread

Post by xiphirx »

Image

I'm not very happy with the rendering *yet*. If the particles rotate around the cursor too fast, then you can tell that the whole thing is made of lines... which I want to avoid. would it be viable to see if, say, the current point is greater than 0.5 away from the previous point, if it is, for previous point to this point, render lines. The idea here is to fill in wherever theres a gap... unless theres a better way.

I'm using OpenGL + SDL now, so OGL solutions should work :)
StarCraft II Zerg Strategy, open to all levels of players!

Looking for paid work :< Contact me if you are interested in creating a website, need a web design, or anything else you think I'm capable of :)
User avatar
xiphirx
Chaos Rift Junior
Chaos Rift Junior
Posts: 324
Joined: Mon Mar 22, 2010 3:15 pm
Current Project: ******** (Unkown for the time being)
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Contact:

Re: Flame Painter Dev Thread

Post by xiphirx »

Trying new rendering things :D


Image
StarCraft II Zerg Strategy, open to all levels of players!

Looking for paid work :< Contact me if you are interested in creating a website, need a web design, or anything else you think I'm capable of :)
User avatar
BugInTheSYS
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 88
Joined: Mon Feb 07, 2011 4:16 pm
Current Project: Vintage Roads
Favorite Gaming Platforms: PC
Programming Language of Choice: C++, Delphi
Location: Pinneberg, Germany
Contact:

Re: Flame Painter Dev Thread

Post by BugInTheSYS »

Ooooooooooooooooh! :shock2: :worship:
No it truly does look great and I was actually looking at it for quite a while :D
Are you happy with the rendering now?
Someday, everything will go to /dev/null. - Bug's prophecy 13:37
User avatar
Ginto8
ES Beta Backer
ES Beta Backer
Posts: 1064
Joined: Tue Jan 06, 2009 4:12 pm
Programming Language of Choice: C/C++, Java

Re: Flame Painter Dev Thread

Post by Ginto8 »

xiphirx wrote:Trying new rendering things :D


[img]
ooh purdy colors :shock2:
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.
User avatar
adikid89
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 94
Joined: Tue Apr 27, 2010 6:59 am
Current Project: small tiny-mini projects
Favorite Gaming Platforms: PC I guess...
Programming Language of Choice: c++

Re: Flame Painter Dev Thread

Post by adikid89 »

:shock: Is it magic? Sure looks like it :)
My first game C++/SDL Yoshi Combat! = http://www.youtube.com/watch?v=HQ9mMBEWSZg
==============================================================
Image
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: Flame Painter Dev Thread

Post by dandymcgee »

The cyan is still my favourite yet.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
Post Reply