Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (592)
Games in Android Showcase (168)
games submitted by our members
Games in WIP (645)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1] 2 3 ... 54
1  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-05 21:55:10
Kopied the kinda popular game "Dont touch the Spikes!".



Implemented in haskell using my libs and a tiny little bit of FRP.
(Code: https://github.com/matheus23/DontTouchTheSpikesHaskell)
2  Discussions / General Discussions / Re: Schemes to teach the masses to code on: 2015-02-02 15:51:54
Just because "that's how it's always been" doesn't mean that's how it should continue to be.
(just a sidenote)
http://en.wikipedia.org/wiki/Naturalistic_fallacy

Stuff I learned in school ôo Roll Eyes
3  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-01 19:29:45
I remember the one time I got on that chart... good times... good times..

I think I was once Top 3 or something. Felt good, gamification ftw Cheesy
4  Discussions / General Discussions / Re: Schemes to teach the masses to code on: 2015-01-31 18:02:17
Our discussion has centred on numerous points, one of which is that is is a fallacy to believe that "gender Z should peform well in career Q because of specific gender attribute P", which is what it appears you just stated. (I don't actually agree - I think that there are careers inherently more interesting, and/or more suited, to specific genders, for reasons that people don't like to mention, which are conflated with sexism).

Yeah, wait a second. I agree that there are careers suited for a gender, for example midwifery or coal mining. My argument is that programming is not one of those careers.
Ah good we're on the same page then Smiley I don't think programming is any more or less suited to any specific gender (in fact there are almost no careers where this is really the case). However I do think certain careers are far more interesting to one gender or another and that these levels of interest are deeply built in to brain physiology and instinct.

Not quite. I don't think it's inherently in the psychology or instinct. It's because of our bodies. A man is naturally stronger than a woman and a woman knows better about the female body, obviously.

You might think I'm talking absolute crap here btw  Shocked but just one example I can think off off the top of my head is that there is actually a "maternal gene". This gene is only expressed in females. It has no effect in males whatsoever. It fundamentally affects the behaviour of a mother towards her offspring; when missing, the mother will largely ignore and neglect her offspring. This is just the (enormous) effects of a single gene which fundamentally separates behaviour. Not physiology.

* For your elucidation: http://www.telegraph.co.uk/news/science/science-news/9548698/Maternal-gene-identified-in-mice.html

Ok well, interesting. That reply came while writing the above. Do you think there is a gene controlling the abilities needed to code? Wink

EDIT: AARGH You are writing replies faster than I produce replies. Sorry, I'm busy. I didn't read the last 3 replies. I'll read tomorrow Smiley
5  Discussions / General Discussions / Re: Schemes to teach the masses to code on: 2015-01-31 16:49:07
Our discussion has centred on numerous points, one of which is that is is a fallacy to believe that "gender Z should peform well in career Q because of specific gender attribute P", which is what it appears you just stated. (I don't actually agree - I think that there are careers inherently more interesting, and/or more suited, to specific genders, for reasons that people don't like to mention, which are conflated with sexism).

Yeah, wait a second. I agree that there are careers suited for a gender, for example midwifery or coal mining. My argument is that programming is not one of those careers.
6  Discussions / General Discussions / Re: Schemes to teach the masses to code on: 2015-01-31 16:26:00
It makes sense that Women do midwifery, because ...<snip>
Sound of needle skipping off record...

W... wait a second. I'm not native english speaker, care to elaborate?
7  Discussions / General Discussions / Re: Schemes to teach the masses to code on: 2015-01-31 11:26:33
The elephant in the room is that nobody wants to admit that girls and boys are very much different. It really is that simple but in a world of political correctness one is liable to be shot down in flames for pointing it out.

I'm just going to go ahead and shoot you down for that persecutioncomplex Roll Eyes

Just as most boys aren't interested in midwifery and babies, most girls aren't interested in STEM. It's nothing to do with parental encouragement. They just find different things interesting. How about you try and encourage more boys into midwifery? No? Not so appealing? Midwives perhaps not seen as useful or worthy, hmm?

It makes sense that Women do midwifery, because they know the act of getting a baby much better than males and that's gene dependent.

So how does this compare to STEM? How are genes supposed to influence a human's interests? The interests are only dependent on the human's experience and education, not their genes. And genes are the only things that differentiate between males and females Smiley
8  Discussions / General Discussions / Re: Schemes to teach the masses to code on: 2015-01-30 13:09:36
...and I hate to trot out this old joke but, "Fire service crews, road diggers and coal miners all seem to have the right number of women working in those professions" (dons flameproof pants)

The Jobs in that joke are all dependent on the physical strength of the empolyed.

Programming does not need muscle strength. It's about the brain, and the intelligence difference between men and women is much smaller (=0?) and not so much gene-dependent as muscle strength.
9  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-01-29 20:48:14
Today, ... well, yesterday I created something that creates a graph of a Gauss Curve (or binomial distribution? I have no idea).



Basically it's a bar Diagram of the following:

I have 50 bars in the bar diagram. I simulate 50 coin flips and if for example 27 of those are heads, I count +1 for bar number 27. That I repeat 1 million times (that takes about 2 secs, inefficient code, sorry).

It's obvious, that most of the 50-coin-toss-rounds have 25 heads and it's much less common for anything else. That's why the maximum is at 25 Smiley


I also wrote a Binary Tree renderer / Layouter:


(sorry for JPG quality...)

Both little test projects are written in haskell. The first one because I was curious, the second one because I wanted to test out a library that mainly I with the help of my brother wrote (https://github.com/DeclarativeGraphics). The code for rendering the Tree is the following:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
data Tree a = Node a (Tree a) (Tree a) | Leaf a

exampleTree :: Tree String
exampleTree =
  Node "Test"
    (Node "oh"
      (Leaf "my")
      (Node "god"
        (Leaf "tis")
        (Leaf "awesum")))
    (Node "right"
      (Leaf "right1")
      (Leaf "right2"))

data TreeStructure = SuperNode | SubLeft | SubRight deriving (Eq, Ord)

main :: IO ()
main = showFormWindow (0.5, 0.5) $ centeredHV $ renderTree exampleTree

renderTree :: Tree String -> Form
renderTree (Leaf str) = drawTreeNode str
renderTree (Node str left right) = removeTracking trackedTree `atop` conLines
  where
    subtrees = centeredHV $ append Vec2.right [addOriginTracking SubLeft $ renderTree left, addOriginTracking SubRight $ renderTree right]
    trackedTree = append Vec2.down [addOriginTracking SuperNode $ drawTreeNode str, subtrees]
    superPos = fromJust $ getTrackedPos SuperNode trackedTree
    rightPos = fromJust $ getTrackedPos SubRight trackedTree
    leftPos = fromJust $ getTrackedPos SubLeft trackedTree
    blackLine start end = outlined (solid black) $ noBorder $ openPath $ pathPoint start `lineConnect` pathPoint end
    conLines = blackLine superPos leftPos `atop` blackLine superPos rightPos

drawTreeNode :: String -> Form
drawTreeNode str = (collapseBorder $ centeredHV $ text tstyle str) `atop` (padded 10 $ filled grey $ circle 25)
  where tstyle = defaultTextStyle { fontFamily = "monospace", fontSize = 8 }
10  Discussions / General Discussions / Re: Schemes to teach the masses to code on: 2015-01-29 20:22:47
I'm currently in "High School" here in Germany (or better: "Gymnasium", as we call it here) and I'll write my final written examination in 7 weeks.
In Germany (or at least in Baden-Wüttemberg, the Southwest part of Germany ^^) we all have the opportunity to choose courses for our 11th and 12th year. One of them is "Informatik", basically computer science, but a little more practically oriented. So I've had almost 2 years of 4 times 45 minute lessons a week now. First we learned HTML + PHP, including arrays, iteration, control flow and all that stuff + a little recursion. Then moved on to Java, learning Classes, little bit of OOP, recursion, Linked Lists, Sorting algorithms and currently stuff like sorted, balanced binary trees.

As of now I'm not allowed to do parts of my Abitur in Informatik. That'll change from next year on, though (I'll be gone then :/).

I agree to KevinWorkman. Programming should be taught to everyone. Or better: Some kind of logic thinking. Currently learning to program means learning how to use computers comprehensively, that is, learning how to use the command line (we had a little bit of this when learning Java), learning about how the internet works (HTML + PHP). Basically our computer course included a lot of specification learning, less of the "essence programming - the thinking about processes" stuff. It is also bound to current technology, or better - the technology that was "current" when they wrote the curriculum. Programming technology changes fast. It's not like in maths, where everyone seems to have agreed to some basic concepts and syntax (Sets, Basic number operations, functions, etc.). I, for example, would have liked to learn a lot more functional language stuff in school, instead of Java, since I know functional languages will take over the world, it's just a matter of time *evil-laughter*. Honestly, though, it's not really practical to stick with one technology.

Also, I believe in the future (if programming is going to be taught to a lot of people), programming will appear much more in our daily lifes: It already started with people using Excel in their dayjobs (See Reply #38). They program macros for making their life easier. I think that is going to appear in much more applications in the future. Or at least it should. Because it could make so many things easier! Smiley

About the "the great programmers and the rest" debate: Something like that seems to exist in everything that can be done as a hobby at home. For example Art: I know of some students in an art course at our school, who are significantly more skilled than the rest of the students. It's not as extreme as in our computer science course, to be honest, but it's noticable.
11  Java Game APIs & Engines / OpenGL Development / Re: Fill Ellipse from a fragment shader on: 2015-01-18 12:48:48
I'm writing a fillOval implementation using a fragment shader instead of pushing a lot of vertices for drawing my ellipse.

I'm sorry I don't have the time to look deep into this, but what I have been told, when trying to "optimize" the circle drawing  by drawing a rectangle and determining which pixels to fill in the fragment shader I have been told that simply pushing lots of verticies is faster. You might need to benchmark this. I didn't test it, but that's what I have been told Smiley
12  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-01-17 14:41:06
At least make the borders a lot smaller Smiley
13  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-01-11 10:27:45
Went for a ride in the back garden:
[...]
It was frikkin' freezing lol.

Holy moly. I would have liked to go with you on that tour!
14  Games Center / WIP games, tools & toy projects / Re: Bit Siege - 2D Competitive Multiplayer PvP Game. (Alpha v1 out now!) on: 2015-01-08 16:57:16
@opiop65 You make it seem like his progress is not worth sharing. It's one of the best games on JGO at the moment.
I... I never said that.
Honestly, I don't understand why you would release this (even as an "alpha") before you had some sort of singleplayer mode.
                                                                             
15  Games Center / Featured Games / Re: State of Fortune on: 2015-01-03 16:32:36
That render distance... How did you do that?
16  Discussions / General Discussions / Re: Programmer jokes on: 2014-12-28 15:26:15
1  
2  
// Some code
:wq

A file my brother wrote
17  Games Center / WIP games, tools & toy projects / Re: WorldOfBlocks Puzzel Game Update [42] - Indie Christmas Edition!!! on: 2014-12-26 12:03:59
That title and its syntax reminds me of my WorldOfCube Smiley  Pointing (no problem, though)
18  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-12-15 17:51:00

Yo forgot mey m8
19  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-12-14 20:34:13
Also following the trend. Smiley
Love that Brocolli! Cheesy
20  Game Development / Newbie & Debugging Questions / Re: JBullet Shaking & Weird collisions on: 2014-12-14 18:05:09
It looks like these things masses are too big. How do you calculate / set the mass of the objects?
21  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-12-14 09:02:49
I follow the trend!
22  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-12-01 16:45:15
I'd play that.
Same
23  Games Center / WIP games, tools & toy projects / Re: Legends of Fore - Planets Update - Translation on: 2014-11-27 16:09:21
Just starting on the translation services for the game so I can remedy the problem with Legends of Yore. Planning to use Google Translate as a first ditch to get all the strings translated. First target language German. Any other good targets?

Yay, German

Russian's bigger.

Yay, Russian

(Both languages I know)
24  Games Center / WIP games, tools & toy projects / Re: Paint.JAVA - Attempt at cloning Paint.NET (with cross-platform support) on: 2014-11-26 19:38:22
I just love how BurntPizza twice as much Medals worth as me, even though we almost have the same amounts of posts Smiley

That Color chooser looks beautiful, really nicely done!
25  Discussions / Miscellaneous Topics / Re: Is drinking half a bottle of vodka safe? on: 2014-11-21 21:55:00
Also, you don't instantly become dumb when you drink alcohol, ...
It's a gradual process. Over-consumption of alcohol (more than 3 'units' per day) slowly deteriorates brain tissue, as (among other reasons) your brain-matter is fatty, and fat easily dissolves in alcohol. Excessive alcohol consumption (to the point of passing out) does immediate damage, and some neurologists compare it to being hit by a baseball bat (whatever that entails..)

One or two units per day is actually better for your brain than zero, but I can't get myself to drink that 'much'...

It's possible you get brain damage when you get a little drunk everyday though
or when you drink very much for once.

Smiley
                                                                                                                                                                                                                     
26  Discussions / Miscellaneous Topics / Re: Is drinking half a bottle of vodka safe? on: 2014-11-21 17:31:28
Quote
What's the point of temporarily impairing your brain? To get the courage to speak to girls/guys? Group pressure? Reality escaping? Seriously, why do you guys drink?

For me it's all of the reasons you mentioned, plus in moderation you do remember what happens. Lightens up the mood, makes everyone more fun. Sometimes I have a few beers with my friends while gaming or watching a sport on TV, both activities which I don't normally enjoy much but after a few drinks becomes more fun and social.

Pretty much nailed it. I wouldn't say that "in moderation you do remember what happens", I'd say "only in rare cases when you overdo it, you can't remember". It never happened to me and I can hardly remember anybody who had that happen (no pun intended Tongue).

Like I said, if you don't want to drink, don't do it! I'm just trying to answer the question and balance out some of OP's "woo alcoholic beverages" nonsense. I'm not here to convince anybody of anything, so if you don't want to- just don't!
You couldn't force me drink even if my life depended on it. I don't surround myself with people who'd force me to drink. I'm not writing this in some attempt to get confirmation by random people online; I know what I want and don't want to do. =P

That's perfectly fine. You're not the only one that reads his posts Smiley

I myself drink in moderation. Not regularily at all, just at parties. When I drink, I usually drink more that a couple of beers, but just because everything is percieved much more positively, at least for me. I tend to have much more fun when a _little_ drunk, compared to when I'm not. If you don't feel comfortable with drinking alcohol, stuff won't be more fun for you, probably. Also, It depends on your friends, too. I'm pretty lucky, I'd say, because my friends usually don't get too drunk and are really tolerant. If you don't want to drink, it's perfectly fine for us.

Yep. It's a trade-off. Also, you don't instantly become dumb when you drink alcohol, it's just that it's more common that dumb people go over their limits Smiley It's possible you get brain damage when you get a little drunk everyday though (I heard about someone who was very intelligent, but drank beer everyday and now is mentally disabled...) or when you drink very much for once.

As Aristoteles says, you need to find your middle (mesótes), the moderation. Wink

17, Male, Germany
27  Discussions / General Discussions / Re: Parsing SVG files on: 2014-11-16 10:48:14
Gl, hf.

That's quite some amount of work, if you want support for patterns, gradients, etc. But it's also a nice learning experience, you get to know Bezier curves and all that stuff Smiley
28  Discussions / Miscellaneous Topics / Re: How memory works? on: 2014-11-16 10:46:46
Just try out Assembly language. It helps understanding what happens in the lowest programmable layer. I found assembly language easy to understand. It's just really hard to write big bug-free programs with it, but the for the sake of understanding, I'd recommend. Smiley
29  Discussions / Miscellaneous Topics / Re: How memory works? on: 2014-11-14 12:38:52
But that doesnt make sense...
How does the program remember that address? Another memory address? Does that address stay with the compiled code? So if two programs use the same memory address, what happens then?

Haha good point Smiley

I'm not entirely sure, but that's how I think it is:
In the program assembly code there is a defined memory adress, for example addres 0x0000A001. Each program assembly is a single process in the operating system. So if the OS is currently processing that program and it request to read/write a value in 0x0000A001, it is actually written in RAM at a specific offset. That offset is different in different processes (= programs).

As I said - I'm not entirely sure about that. But I am sure that each program (= process) has it's own part of RAM. It's the OS's duty to manage those.
30  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-11-14 12:33:21
i wrote a simple subdivision spline looking for fractals in skewed weights

Taking inspiration from that computerphile videoPointing

Thought exactly the same. Seen it too Smiley
Pages: [1] 2 3 ... 54
 
Za\'Anzabar (15 views)
2015-06-29 05:44:54

TritonDreyja (29 views)
2015-06-24 17:10:40

CopyableCougar4 (26 views)
2015-06-23 00:34:45

BurntPizza (32 views)
2015-06-21 20:36:46

cookiecompiler (74 views)
2015-06-11 15:42:53

cookiecompiler (38 views)
2015-06-11 15:41:14

NegativeZero (63 views)
2015-06-11 09:49:18

Fairy Tailz (88 views)
2015-06-11 01:59:47

chrislo27 (60 views)
2015-06-06 18:12:44

Burnsalan20 (72 views)
2015-06-05 03:00:51
How Do I Expand My Game?
by bashfrog
2015-06-14 11:34:43

List of Learning Resources
by PocketCrafter7
2015-05-31 05:37:30

Intersection Methods
by Roquen
2015-05-29 08:19:33

List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

Resources for WIP games
by kpars
2014-12-18 10:26:14
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!