Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Munchor

Pages: 1 ... 10 11 [12] 13 14 ... 424
166
Miscellaneous / Re: Which language should I use?
« on: October 20, 2011, 04:12:44 pm »
Are you planning to post updates on the game here if it starts being worked on?  As for java you should probably avoid it unless it's a simple game, though (ie, nothing like Minecraft :P)

I will make a topic on it when I have some progress. I have finished the game design for now. I have to plan the code structure now.

167
Math and Science / Re: Chemistry
« on: October 19, 2011, 04:46:36 pm »
I took chemistry last year and will take again this year. However, it's my last year of chemistry. I never used Chemistry to explain much about macroscopic world, we'd always stick to microscopic and not use the concepts achieved in the macroscopic world.

I'm looking forward to do it myself this year, though :)

Regarding what I learnt, I prefer Physics over Chemistry, but Chemistry was interesting. I liked the temperature and agitation of particles part.

168
Miscellaneous / Re: Which language should I use?
« on: October 19, 2011, 12:35:16 pm »
I would suggest C++ with the SFML library. SFML is actually quite good and developer friendly from what I hear about it between it and SDL.

Oh, and SFML is great for 2D games. :D

I just checked out SFML, looks cool, but I think SDL has more documentation, and I prefer SDL because of that.

169
Axe / Re: Axe Greyscale Tutorial
« on: October 18, 2011, 10:17:25 am »
Thanks Stefan and Yeong too, your answer is just perfect.

170
Miscellaneous / Re: Which language should I use?
« on: October 16, 2011, 04:48:18 pm »
Given that, Java seems like the way to go, since it really is a universal standard on almost all devices with any sort of CPU.

Hm... Do you have any recommendation on what library I should use? I know Minecraft uses some library that has OpenGL bindings. However, I'm not sure if I need that. Probably I could just use Swing or AWT with the respective Graphics component.

171
Miscellaneous / Re: Which language should I use?
« on: October 16, 2011, 04:45:58 pm »
How much speed do you actually need? Java can produce somewhat fast games like Minecraft if you're willing to devote enough CPU to it and you can obfuscate the compiled bytecode to prevent [simple] reverse engineering to make it closed source.

Not much speed. I need 2D Graphics based on images, no 3D, and pretty much is based on images. Oh and there's also the downside that people need Java to run my game, but that's not a big issue these days, is it?

172
Computer Programming / Re: urllib is not being nice :(
« on: October 16, 2011, 04:44:35 pm »
Have you tried using urllib2? You can find information on it here.

Can you try this?

Code: [Select]
__module_name__ = "IrmageBoard"
__module_version__ = "0.2.0"
__module_description__ = "Like a real imageboard guies (without the images!!1)"

import string
import re
import random
import yaml

import xchat
import urllib2

global myFilter #Do you really need to use globals? They ain't recommended
ymlFilter = urllib2.urlopen("http://xvicario.us/irmageboard/filters.yml")
myFilter = yaml.load(ymlFilter)
ymlFilter.close()

print "\0034 %s %s has been loaded\003" % (__module_name__, __module_version__)

def greenText(word, word_eol, userdata):
    """TODO Docstring for greenText()"""
    print "EXECUTING greenText()"
    if word_eol[0].find('>'):
        return xchat.EAT_NONE
        print "FOUND NOTHING!"
    else:
        xchat.command(" ".join(["msg", xchat.get_info("channel"),
                      ''.join(["3",word_eol[0]])]))
        print "FOUND SOMETHING!"
    return xchat.EAT_ALL

def filters(word, word_eol, userdata):
    """Filters a word"""
    newString = word_eol[0]
    for k, v in myFilter.iteritems():
        if k in newString:
            tempColor = random.randrange(0, 16, 1)
            tempBack = random.randrange(0, 16, 1)
            tempReplace = re.compile(k, re.IGNORECASE)
            newString = tempReplace.sub(v, newString)
            newString = "".join(["\003", str(tempColor), ", ", str(tempBack),
                                newString,"\003"])
    xchat.command(" ".join(["msg", xchat.get_info("channel"), newString]))
    return xchat.EAT_ALL

All my changes were minimum, but I think I changed a few things with urllib2 that might make a difference.

173
Miscellaneous / Which language should I use?
« on: October 16, 2011, 04:42:12 pm »
I had an idea for a computer game (it can't really be made for calculators that I have :(), I won't give many details, but I can say the following:

* It's a maze game;
* It's a strategy/thinking game;
* It requires a tilemapping system;
* It requires colours and images;
* It requires sound;
* Close source is a +, unlike all of my other software;

So I thought of the following ways of making it:
- Use the playn library so that I can code it in Java and have it released for Android, HTML5, Java and Flash;
- Use C/C++ with SDL and have it released for all operating systems;
- Use Java and have it released both as a Web App and a desktop App;
- Use HTML5/Javascript; (too complicated)

It's basically Java vs C++... With C++ I can make sure it's closed source and make it fast. But if it were Java, I could distribute Web Applications, and that would be cool, so that people don't have to make downloads. Oh! And I can use Java with playn or Java without playn, that's also a problem.

What do you think? Thanks!

174
News / Re: Members organizes ritual for DJ_O's postcount of 30000
« on: October 12, 2011, 09:42:20 am »
Congratulations DJ, 30000 is awesome, I would love it if you could get to "geek" someday ;)

175
News / Re: OmnomIRC Update
« on: October 12, 2011, 09:38:28 am »
Yay! What do you mean by the status bar? The browser status bar?

Yes it seems like it's that. However, many browsers don't have it like Chrome.

Good updates Netham!

EDIT: Also I'm getting 1 Chrome notification for every Omnimaga tab open :P

176
Art / Re: [Request] Lobster Sprite
« on: October 10, 2011, 01:02:37 pm »
My futile attempt.  :D


It's very awesome, thanks a lot, I'll PM you now requesting crediting, but it's so great!

177
Khavi / Re: Khavi: Java on the Prizm
« on: October 10, 2011, 02:57:33 am »
Okay, after a lot of pain, I finally figured out how to set up a repository and use SVN.

http://khavi.googlecode.com/svn/trunk/

All the source files seem to be .txt though :S

178
Art / [Request] Lobster Sprite
« on: October 09, 2011, 01:18:35 pm »
Hey everyone, I need a sprite for a project Jim Bauwens and I have been working on.

I need a lobster sprite. However, it gets quite complex because its height can't be higher than 21.

Well, here are some of the details:
  • Maximum height: 21 pixels
  • Maximum width: it doesn't exist, but preferably below 40
  • Colors: blue and purple

I would like the lobster to be laid down, stomach faced down. The colours are more or less the ones in the Omnimaga Title, where it says "THE CODERS OF TOMORROW".

I don't think this is very easy to do, but you'll be credited, and I'll thank you tons if you can make it, thanks!

179
Miscellaneous / Re: The Leader Who Created Apple...
« on: October 07, 2011, 03:03:07 am »
Well, even though I wasn't very keen to use his products, and not very keen to believe that he actually invented them or even Apple did, I feel bad.

I feel bad (and not iFeelBad) because if it wasn't for him, I'm pretty sure I wouldn't be using an Android cellphone right now. What made Android so good is that it always has to compete with iOS, which he helped to create.

Even though a lot of us don't use his products, our favorite technology products might have been affected by the existence of Apple's products.

180
Web Programming and Design / Re: Javascript Element Selection Engine
« on: October 05, 2011, 06:20:22 am »
Can you add like a button that, when pressed, sets all selected elements to display: none;? I would like to see how that would work. Also, I'm talking about the demo ;)

Pages: 1 ... 10 11 [12] 13 14 ... 424