Java-Gaming.org Hi !
Featured games (87)
games approved by the League of Dukes
Games in Showcase (672)
Games in Android Showcase (194)
games submitted by our members
Games in WIP (727)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2 3 ... 10
 1 
 on: 2016-05-06 21:10:53 
Started by xtre - Last post by xtre
I see. How would I go about rendering to a VBO altering the current code? There doesn't seem to be anything with a good example. I meant to get into VBOs but never got around to it so don't know much about how to use them. I'm just looking for a way to render clean images. When I resize the window I resize the camera viewport to the new size to account for stretching. I'm also going to be getting into GLSL eventually so I think using a VBO would be a good idea. I did resize the window to a few powers of 2 and it was clear each time. So that is on the right track.

Thanks for the reply!

 2 
 on: 2016-05-06 20:16:04 
Started by orange451 - Last post by VaTTeRGeR
Got another one:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
[...]
GL Debug: 33350 33356 2340 37190 glDrawArraysInstanced parameter <primcount> has
 an invalid value '0': must be greater than or equal to 1 (GL_INVALID_VALUE)
Error occured: An OpenGL error was already present BEFORE endTransparencyPass()
was called.: Invalid value
GL Debug: 33350 33356 2340 37190 glDrawArraysInstanced parameter <primcount> has
 an invalid value '0': must be greater than or equal to 1 (GL_INVALID_VALUE)
Error occured: An OpenGL error was already present BEFORE endTransparencyPass()
was called.: Invalid value
GL Debug: 33350 33356 2340 37190 glDrawArraysInstanced parameter <primcount> has
 an invalid value '0': must be greater than or equal to 1 (GL_INVALID_VALUE)
Error occured: An OpenGL error was already present BEFORE endTransparencyPass()
was called.: Invalid value
]quit
AL lib: (EE) alc_cleanup: 1 device not closed


It was spamming the console with this; the game ran, but only at 20fps and 200tps.
Hardware: AMD A4-3305M APU, HD 7450M + HD 6480G, 4Gb Ram

 3 
 on: 2016-05-06 17:56:14 
Started by ShadedVertex - Last post by blobloblob
1) When did you start programming?
My first contact with programming was when I was 14years old - 15 years ago, though seriously I've started about 6 years ago.

2) Where are you currently studying (middle school / high school / college)?
Nowhere, I'm self-taught.

3) Do you have any tips for aspiring game developers / programmers?
Be original - dont make another shooter.

4) What do you feel is necessary to learn in order to be considered a programmer? (data structures, multi-threading, concurrency, programming paradigms, etc.)
Touring machine and how CPU and electricity work, how semiconductors function and the basic understanding of Assembly will make your knowledge not only well founded, but also will make your life lot easier - you'll be able to comprehend and predict much more than without this knowledge.

And a couple of extra questions for those who have the time:

5) What motivates you to learn new things?
Curiosity - only.

6) What, in your opinion, is the "right" learning attitude?
Be critical and sceptic, don't believe anybody unless you check something for yourself. Learn from mistakes not from standards.

 4 
 on: 2016-05-06 16:29:32 
Started by ShadedVertex - Last post by DarkCart
1) When did you start programming?
Cast your mind back to 2012. I loved Minecraft and wanted to make plugins and mods for it. In order to this, I needed to learn Java. Unfortunatly, Java was way too over 10-year old me's head. Instead, I made some "games" in Batch for a the rest of 2012 and into early 2013. They were pretty bad. Finally, in early 2014, I saw some simple tutorials on Swing and Java2D and knew I didn't have to make Batch games anymore. Originally, I was AirTime on the forums, and I still sucked pretty badly. But then, I saw a tutorial on how to make a Maze Game in Java. It was a watershed moment in a way. After re-registering as "DarkCart" on the forums, I posted "Mazer", my first game. And the rest is pretty much history.

2) Where are you currently studying (middle school / high school / college)?
I'm in my last year of middle school. Yes, I'm pretty young.

3) Do you have any tips for aspiring game developers / programmers?
Don't give up. Don't give into temptations to just copy code. Search google before asking a question.

4) What do you feel is necessary to learn in order to be considered a programmer? (data structures, multi-threading, concurrency, programming paradigms, etc.)
This one made me think for a while. In one way, you're a programmer when you make the decision to learn how to program. But in another way, you're not a real programmer until you can teach someone your skills.

5) What motivates you to learn new things?
What motivates me to learn new things? The fact that no matter how much I learn, there's more out there that I've never heard of. The fact that I can always get better at this.

6) What, in your opinion, is the "right" learning attitude?
Don't give up because something looks big and scary. I remember at first being scared by the humble JFrame when I started to program in Java. It was so different from what I was used to. But I didn't give up and go back to making Batch games. And if I had, I probably wouldn't be here answering this.

 5 
 on: 2016-05-06 15:25:13 
Started by lios - Last post by ziozio
I've used jackson in the past and it works really well, there are many json libraries out there some are good and some are bad.

Read about some of them

http://www.developer.com/lang/jscript/top-7-open-source-json-binding-providers-available-today.html

The lbgdx one isn't that well known so I can't comment much, I just know its not a dedicated library just for json. If other libraries solve your issue then there is no reason why you couldn't use them.

 6 
 on: 2016-05-06 14:16:10 
Started by ivostojanov - Last post by ivostojanov
!------NEW SKINS------!

Star Wars Skin:

<a href="http://www.youtube.com/v/pmFyBmQi5Is?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/pmFyBmQi5Is?version=3&amp;hl=en_US&amp;start=</a>

Football Skin:

<a href="http://www.youtube.com/v/G3BzFrEAQ2g?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/G3BzFrEAQ2g?version=3&amp;hl=en_US&amp;start=</a>

Flappy Skin:

<a href="http://www.youtube.com/v/McCa7eUEaNw?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/McCa7eUEaNw?version=3&amp;hl=en_US&amp;start=</a>

 7 
 on: 2016-05-06 13:43:33 
Started by lios - Last post by Stranger
Javadoc for intMap<V>:https://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/utils/IntMap.html

Quote
So I should change the HashMap to an IntMap? I don't really see why an IntMap (never have seen this before) should be better than a simple HashMap, can somebody explain that? I am just confused because I thought that the Json serializer should be able to serialize a simple HashMap a standard java datastructure but it doesn't seem to be able to do that and it's quite strange that I should adapt my datastructures because of that....
1. please look  at the previuos post.
2. IntMap is a bit faster than HashMap (at least get operation).
3. You still might use HashMap and convert it to IntMap (and back) when serializing/deserializing.

 8 
 on: 2016-05-06 13:17:41 
Started by lios - Last post by Stranger
It's about HashMap and IntMap:

Quote
Second issue, for HashMap it treats keys as Strings, sorry. You could write a serialzier for HashMap that tried to write out the type of the keys. You'd be better off using IntMap though, which again will need a specialized serialzier.


 9 
 on: 2016-05-06 12:55:30 
Started by lios - Last post by lios
They are not connected, one is just better than the other  Cheesy
So what would you do to solve this problem?

 10 
 on: 2016-05-06 12:54:50 
Started by lios - Last post by lios
So I should change the HashMap to an IntMap? I don't really see why an IntMap (never have seen this before) should be better than a simple HashMap, can somebody explain that? I am just confused because I thought that the Json serializer should be able to serialize a simple HashMap a standard java datastructure but it doesn't seem to be able to do that and it's quite strange that I should adapt my datastructures because of that....

Pages: [1] 2 3 ... 10
 
IanParcs (55 views)
2016-04-18 14:18:53

KaiHH (51 views)
2016-04-18 08:35:41

KaiHH (81 views)
2016-04-15 12:43:58

theagentd (83 views)
2016-04-14 02:16:17

theagentd (99 views)
2016-04-14 02:15:43

IanParcs (122 views)
2016-04-12 03:51:16

IanParcs (53 views)
2016-04-12 03:50:03

IanParcs (51 views)
2016-04-12 03:49:54

IanParcs (47 views)
2016-04-12 03:49:52

IanParcs (55 views)
2016-04-12 03:49:52
Website offering 3D Models specifically for games for free
by vusman
2016-05-06 11:10:21

Website offering 3D Models specifically for games for free
by vusman
2016-04-29 12:56:17

List of Learning Resources
by SilverTiger
2016-02-05 09:39:47

List of Learning Resources
by SilverTiger
2016-02-05 09:38:38

List of Learning Resources
by SilverTiger
2016-02-05 09:35:50

Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10
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!