Martyr2's Profile User Rating: *****

Reputation: 4425 Guru
Group:
Mentors
Active Posts:
12,360 (4.41 per day)
Joined:
18-April 07
Profile Views:
218,924
Last Active:
User is offline Today, 12:19 AM
Currently:
Offline

Previous Fields

Country:
CA
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
AMD
Favorite Gaming Platform:
Playstation
Your Car:
Who Cares
Dream Kudos:
0
Expert In:
C/C++, Java, VB, VB.NET, C#, PHP, Web Development, HTML & CSS, Javascript

Latest Visitors

Icon   Martyr2 sings "I'm waking up, I feel it in my bones. Code enough to make my systems 0wN. Welcome to the new age, to the new age."

Posts I've Made

  1. In Topic: Earnings from html5 games

    Posted 21 Dec 2014

    Uhh... I said you could do that or put it on your own site. Heck I would do both myself. But as for getting it on miniclip you should check out http://corporate.min...com/developers/ and on the right side they say to contact them about getting your game on their site. But keep in mind that miniclip doesn't sell your games for you, they just host them and use online ads to make money for themselves.

    Either way sounds like you need to do some further research on sites like miniclip to see how you can get your game into a situation where you can make some money. But either way, if you sell a game and make profits, you WILL need to account for taxes etc. So I suggest you look into that as well.
  2. In Topic: Few responsive issues - the background, the logo and few div

    Posted 21 Dec 2014

    First of all using absolute positioning for everything is really bad for responsive designs and will give you a ton of problems. This is because absolute positioning takes the element out of the flow of the page and really responsive design is all about flow of the elements. Secondly Did you setup your viewport element to be device width and zoom level? This will help with display on devices. Don't know since you didn't show any HTML code for the page setup.

    Lastly, if you planned out a whole page/site without thinking of responsive from the beginning, you are going to be in a world of hurt and will need to touch just about everything to get it working. Sorry to hear that. You might want to provide everyone here a URL to look at so they can test on mobiles and such and see where you need help.
  3. In Topic: Earnings from html5 games

    Posted 21 Dec 2014

    Well there is a lot there you have think about. If you are using graphics from the Internet, you have to make sure you have the license to use them. Some graphics are free for personal non-commercial use but once you sell a game, you are commercial. So check out your asset licensing first. As for the quality of a game, it all depends. Flappy bird wasn't high end and yet I am sure it made some money. Same thing could be said for minecraft which now has "notch" living it up in the most expensive house in Beverly Hills.

    If you create a fun game, people will buy if the price is right. But you have to keep in mind of many things like once you start selling and acting like a business you are going to have to worry about taxes and all that jazz. That can get messy quick. Try to sell it on your website or through something like miniclip. See how things go and listen to your customers on what they would like to see. You could also sell in game items or something too.

    Good luck. :)
  4. In Topic: How to call a javascript function from a button?

    Posted 21 Dec 2014

    Moved to Javascript forum. Javascript != Java. Two very different things.

    As for your question, open your developer tools in the browser (in chrome press ctrl+shift + i) and look for any red icons or lines of text. They often tell you what errors have been encountered.

    Also tell us more about the javascript you are using. I assume this is a script you found somewhere? Does it have a website with examples etc?
  5. In Topic: create atable of numbers start with agiven num and with agiven row,col

    Posted 20 Dec 2014

    Well I don't think you want to print a line inside your inner for loop, you just want to print (no line). You want to print a line in your outer loop (when you need to go to a new row).

    In other words you print... 1, 2, 3, 4, 5 then println. This sends you to the second row where you print 5, 6, 7, 8, 9 then println to send you to row 3.

    for (int i = 0; i < r; i++){
       for(int j = 0; j < c; j++){
          sum= sum + j;
          print(sum + " "); //<--- Just print here, not println
       }
       println(); //<--- now println because we are going to next row	
    }
    
    


    I think this is what you are referring to. If not, tell us what error messages you are getting or how your display is looking and what you want it to look like. :)

My Information

Member Title:
Programming Theoretician
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Location:
Vancouver, Canada
Interests:
I love programming and science (almost became a chemist). My favorite languages are C#, Java, Python and PHP. While I am not programming I enjoy movies that feature something medieval (Gladiator, Braveheart etc) or high tech (like Hackers or Swordfish).

I have a diploma in computer science and another in arts and science. My favorite sciences are astronomy, chemistry and geology.

If you have any questions regarding programming, you will find I live and breathe the stuff and should prove an invaluable asset.

Winner of 25 2008-2013 DIC Community Awards including Blog of the Year, Mentor of the Year, DIC Head of the Year, Most helpful Programming Category, Most Helpful in Web Development Category and overall Nicest Member of the year.

You can now catch me on Twitter! Follow me as I talk about technology and specifically programming and answer questions like the best book to learn from or how to organize your code.

http://twitter.com/martyrscry :)
Years Programming:
16
Programming Languages:
C/C++/VC++/C#, VB6/VB.NET, Java, JavaScript, Ruby, HTML/CSS, PHP, ASP/.NET, Python, mIRC Scripting

Contact Information

E-mail:
Private
Website URL:
Website URL  http://www.coderslexicon.com
Facebook:
http://www.facebook.com/coderslexicon
Twitter:
martyrscry

Comments

  • (8 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »
  1. Photo

    Dogstopper Icon

    05 Dec 2013 - 14:39
    Have a 6-year badge good sir!
  2. Photo

    mostyfriedman Icon

    12 Oct 2013 - 21:07
    I am good, busy as well.
  3. Photo

    Martyr2 Icon

    07 Oct 2013 - 12:16
    Good mosty, you? Been busy lately.
  4. Photo

    mostyfriedman Icon

    07 Oct 2013 - 11:26
    Martyr2 my man, how's it going??
  5. Photo

    ishkabible Icon

    22 Aug 2013 - 15:58
    O ah, didn't even realize it. No prob. much deserved!
  6. Photo

    balloon1 Icon

    18 May 2013 - 14:57
    Hi can you help me with one of my questions!
  7. Photo

    groovmuffn Icon

    24 Apr 2013 - 10:10
    Greetings! Newish coder here. I came across your php histogram equalization code the other day and figured I'd try and draft something similar up in javascript. I feel like my code is sound, though something has to be wrong as the output of the image is black with some faint greens. I'm wondering if I am missing something from your original code. Consider perusing a jsFiddle?
  8. Photo

    Martyr2 Icon

    31 Dec 2012 - 12:48
    Thanks lucky3! Winning these types of things always energizes me to continue my work to help everyone I can here. I am a firm believer that we should always provide more than just a quick answer, but teach as well. :)
  9. Photo

    lucky3 Icon

    31 Dec 2012 - 02:23
    Congratulations for the "Mentor of the Year" 1st place, "Nicest Member of the Year" 1st place, "Most Helpful- Web Development" 1st place, and "DIC Blog of the Year" award 3rd place awards! Really impressive, and well deserved.
  10. Photo

    xwordgrl Icon

    27 Dec 2012 - 14:26
    Martyr2, I’m a reporter for the Wall Street Journal and would like to ask you a question about your post on Code Academy. Please email me at sarah.needleman@wsj.com. Thanks!
  11. Photo

    MsParnel Icon

    16 Sep 2012 - 23:17
    Thank you very much for the project list :).
  12. Photo

    ishkabible Icon

    19 Feb 2012 - 20:19
    "This is Chris's basement!!!"
  13. Photo

    Martyr2 Icon

    19 Feb 2012 - 12:47
    Very very true. echo "THIS IS SPARTA!!!";
  14. Photo

    no2pencil Icon

    19 Feb 2012 - 11:51
    It's like the movie 300. 10 times.
  15. Photo

    Martyr2 Icon

    31 Jan 2012 - 16:48
    Thanks macosxnerd! I am glad someone noticed. :)
  • (8 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »