Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (522)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (590)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 5 6 [7] 8 9 10
 61 
 on: 2014-11-23 00:00:11 
Started by lcass - Last post by Drenius
Was about to ask the same!

 62 
 on: 2014-11-23 00:00:00 
Started by lcass - Last post by CopyableCougar4
Yeah, he did.

CopyableCougar4

 63 
 on: 2014-11-22 23:59:42 
Started by lcass - Last post by HeroesGraveDev
Wait, did you literally call the folder,
src.com.lcass.core.shader
?

 64 
 on: 2014-11-22 23:58:10 
Started by lcass - Last post by Drenius
Hmm... However, if something is inside "src" its a ressource, part of the classpath and you cannot load it as a file (well, you can, but it will only work in your IDE, not when exported).

If it is a file, not a ressource (which is differently to load then a file), place it outside "src" and remove the "src".

Although  it does not work because its path doesnt start woth "src" but with "bin" in compiled state.

 65 
 on: 2014-11-22 23:58:04 
Started by lcass - Last post by CopyableCougar4
My above code snippet fixes any errors AFAIK

CopyableCougar4

 66 
 on: 2014-11-22 23:57:31 
Started by lcass - Last post by HeroesGraveDev
Try putting a / at the front of the path.

Although without seeing the attach{Vertex,Fragment}Shader() functions there's not much we can do to help.

 67 
 on: 2014-11-22 23:53:54 
Started by lcass - Last post by CopyableCougar4
1  
2  
shader.attachVertexShader("src/com/lcass/core/shader/vertshader.vert");
shader.attachFragmentShader("src/com/lcass/core/shader/fragshader.frag");


Should be

1  
2  
shader.attachVertexShader("src/src.com.lcass.core.shader/vertshader.vert");
shader.attachFragmentShader("src/src.com.lcass.core.shader/fragshader.frag");


That should fix the problem.

CopyableCougar4

 68 
 on: 2014-11-22 23:49:29 
Started by lcass - Last post by Drenius
[I got some stuff wrong here]

 69 
 on: 2014-11-22 23:46:52 
Started by lcass - Last post by CopyableCougar4
Shouldn't you have an extra
src/
in front? I may be wrong but that looks like what's wrong, because the eclipse root directory is one level up from the src folder and you have a src folder in the src folder.

CopyableCougar4

 70 
 on: 2014-11-22 23:41:56 
Started by lcass - Last post by lcass
How this happens I dont know , why it happens I dont want to know.
So here it goes , I have two shaders , vertshader.vert and fragshader.frag stored in the path src.com.lcass.core.shader, however when I put "src/com/lcass/core/shader/vertshader.vert" I get an error saying it cannot find the class , this has been going on for hours and as you can understand im a bit tepid , by that I mean im about to throw it at the wall.

1  
2  
3  
4  
5  
6  
public void init(){
   shader.attachVertexShader("src/com/lcass/core/shader/vertshader.vert");
   shader.attachFragmentShader("src/com/lcass/core/shader/fragshader.frag");
   shader.link();
   
}



Pages: 1 ... 5 6 [7] 8 9 10
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

trollwarrior1 (29 views)
2014-11-22 12:13:56

xFryIx (71 views)
2014-11-13 12:34:49

digdugdiggy (50 views)
2014-11-12 21:11:50

digdugdiggy (44 views)
2014-11-12 21:10:15

digdugdiggy (38 views)
2014-11-12 21:09:33

kovacsa (62 views)
2014-11-07 19:57:14

TehJavaDev (67 views)
2014-11-03 22:04:50

BurntPizza (64 views)
2014-11-03 18:54:52

moogie (80 views)
2014-11-03 06:22:04

CopyableCougar4 (80 views)
2014-11-01 23:36:41
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
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!