Java-Gaming.org Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (804)
Games in Android Showcase (239)
games submitted by our members
Games in WIP (868)
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 4 5
  ignore  |  Print  
  SJGL (Now on GitHub!)  (Read 59889 times)
0 Members and 1 Guest are viewing this topic.
Offline gzuzboey
« Reply #30 - Posted 2014-11-02 01:11:40 »

You did... But it still wont come on screen

YA BOI
Offline DarkCart

JGO Kernel


Medals: 124
Projects: 9
Exp: 50 years


It's all in the mind, y'know.


« Reply #31 - Posted 2014-11-02 01:18:03 »

You did... But it still wont come on screen

Strange. Not sure what's wrong then Huh

The darkest of carts.
Offline Longarmx
« Reply #32 - Posted 2014-11-02 01:20:22 »

Have you tried running from the console? Perhaps it's not finding the images.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline gzuzboey
« Reply #33 - Posted 2014-11-02 01:22:03 »

How do i run from console?
 

YA BOI
Offline DarkCart

JGO Kernel


Medals: 124
Projects: 9
Exp: 50 years


It's all in the mind, y'know.


« Reply #34 - Posted 2014-11-02 01:24:08 »

1. cd C:\Users\[Username]\Downloads
2. java -jar Demo.jar (forgot what I called it)

The darkest of carts.
Offline gzuzboey
« Reply #35 - Posted 2014-11-02 01:28:28 »

The problem is: You didnt put a jar in the zip, only a exe

YA BOI
Offline DarkCart

JGO Kernel


Medals: 124
Projects: 9
Exp: 50 years


It's all in the mind, y'know.


« Reply #36 - Posted 2014-11-02 01:29:28 »

The problem is: You didnt put a jar in the zip, only a exe

Uhm, there shouldn't be a .exe file there, only the .jar and .png files.

The darkest of carts.
Offline gzuzboey
« Reply #37 - Posted 2014-11-02 01:30:35 »

Is that so.....

YA BOI
Offline gzuzboey
« Reply #38 - Posted 2014-11-02 01:31:19 »

Oh nevermind, its a jar file Grin

YA BOI
Offline DarkCart

JGO Kernel


Medals: 124
Projects: 9
Exp: 50 years


It's all in the mind, y'know.


« Reply #39 - Posted 2014-11-02 01:32:13 »

Oh nevermind, its a jar file Grin

Don't scare me like that Tongue

The darkest of carts.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline gzuzboey
« Reply #40 - Posted 2014-11-02 01:33:19 »

Lol, but i still can't run it from console, btw, the jar name is called SJGL Image Demo.

YA BOI
Offline DarkCart

JGO Kernel


Medals: 124
Projects: 9
Exp: 50 years


It's all in the mind, y'know.


« Reply #41 - Posted 2014-11-02 01:35:01 »

Lol, but i still can't run it from console, btw, the jar name is called SJGL Image Demo.

I have no idea then.

The darkest of carts.
Offline gzuzboey
« Reply #42 - Posted 2014-11-02 01:37:19 »

Yea, u dont have to fix it if u dont want to, its your library... Emo

YA BOI
Offline kpars
« Reply #43 - Posted 2014-11-02 01:44:05 »

I'm tired of all this negative feedback. It's really frustrating to make game/game engines when no one will take you seriously and all they do is point out the flaws. For the record, this is supposed to be a small, basic, desktop library, that I did for fun.
You'll never learn anything if all you get is positive feedback...

I know that, except that all negative feedback demotivates most people.

Welcome to life!

Get used to this while you can. Eventually you'll learn that negative feedback is the best feedback; learn from your mistakes.

- Jev
Offline gzuzboey
« Reply #44 - Posted 2014-11-02 02:15:09 »

WOO HOO!!!

YA BOI
Offline cylab

JGO Kernel


Medals: 195



« Reply #45 - Posted 2014-11-02 11:27:09 »

I'm not sure what to relplace gl[Blahblahblah] with. Seemed natural to put gl in front of it, as I've been using OpenGL lately. Now I think it may not have been the best choice (Thanks, HeroesGraveDev). Do you guys have any better suggestions, as I can think of one right off the top of my head.
Just nothing!  Prefixes like gl... are relicts from a language without namespaces and objects. You don't need them in modern languages and are just a hassle to type with no benefit...

Mathias - I Know What [you] Did Last Summer!
Offline DarkCart

JGO Kernel


Medals: 124
Projects: 9
Exp: 50 years


It's all in the mind, y'know.


« Reply #46 - Posted 2014-11-02 12:30:18 »

Yea, u dont have to fix it if u dont want to, its your library... Emo

It's not that I don't want to fix it, it's just I have no idea what's going on, so I have no way of knowing what I'm doing wrong, and moreover, how to fix it.

The darkest of carts.
Offline gouessej
« Reply #47 - Posted 2014-11-02 13:19:22 »

Yea, u dont have to fix it if u dont want to, its your library... Emo
It's not his fault, some web browsers just wrap the JAR into a ZIP but keeps the same filename for "security" concerns. Just use your favourite archiver and extract the JAR from the JAR (which is actually a ZIP  Clueless).

Julien Gouesse | Personal blog | Website | Jogamp
Offline Cero
« Reply #48 - Posted 2014-11-02 15:21:06 »

I inherently disagree with what you are saying.
First of all the argument "I am just doing this for fun" is always a cop out.
Secondly people who actually need a library might google and find yours, which is absolutely useless, wasting their time.

Almost everyone of us thought, when we started, that all the available libraries were to complicated and "I can do it more simple"
It says you have 1 year experience. Its like a 14 year old math enthusiast trying to do satellite orbit calculations for NASA. Just stop.

Offline DarkCart

JGO Kernel


Medals: 124
Projects: 9
Exp: 50 years


It's all in the mind, y'know.


« Reply #49 - Posted 2014-11-02 16:35:57 »

I inherently disagree with what you are saying.
First of all the argument "I am just doing this for fun" is always a cop out.
Secondly people who actually need a library might google and find yours, which is absolutely useless, wasting their time.

Almost everyone of us thought, when we started, that all the available libraries were to complicated and "I can do it more simple"
It says you have 1 year experience. Its like a 14 year old math enthusiast trying to do satellite orbit calculations for NASA. Just stop.

You are entitled to your own opinion, so am I. We think alike in some ways, but not others, and I'm okay with that.

The darkest of carts.
Offline DarkCart

JGO Kernel


Medals: 124
Projects: 9
Exp: 50 years


It's all in the mind, y'know.


« Reply #50 - Posted 2014-11-03 01:09:46 »

Just wanted to update it again, I think I might have made it a little more useful this time around Wink Here's the changelog:

Added:

- logic(int delta) method. More about what that can be used for later.

- ColorValue is now called Color

- Image loading and drawing is now in GL.java.

- New rainbowGradient(int x, int y, int width, int height, Color[] colors): now you can paint gradients.

- Animation! (Well, sort of.) Example code:

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  
35  
36  
37  
38  
39  
40  
41  
import java.awt.*;
import com.darkcart.lib.sjgl.*;
import com.darkcart.lib.sjgl.simplegl.*;
import com.darkcart.lib.sjgl.util.*;

public class ImageTest extends BasicGame {
   private static final long serialVersionUID = 1L;

   int x = 250;
   int y = 140;
   int x1 = x + 50;
   int y1 = y;

   public void init() {
      // Blah blah blah
   }

   public void paint(Graphics g) {
      // Blah blah blah
      logic();
   }

   public void logic() {
      for (int i = 0; i < 4; i++) {
         repaint(x1, y1, 64, 64);
         x++;
         x1++;
         repaint(x, y, 64, 64);
         try {
            Thread.sleep(50);
         } catch (InterruptedException e) {
            e.printStackTrace();
         }
      }
   }

   public static void main(String[] args) {
      ImageTest t = new ImageTest();
      t.init();
   }
}


Removed:

- gl- prefix. Now you just use image(); or rect();, or etc. to draw.

- GLImage class. Image loading/drawing is now in the GL class.

Download: here.

The darkest of carts.
Offline matanui159

JGO Coder


Medals: 11
Projects: 1
Exp: 10-12 months


Aww... So cute...


« Reply #51 - Posted 2014-11-03 02:01:55 »

I think people should stop putting him down... Srsly, this is just something he is doing just for fun... I do a lot of things just for fun as well and I don't really expect them to be absolutely amazing and everyone should try it... I just do it for fun, what other reason should people program?

Is it sad that I still get a fright when the computer beeps at me...
Offline BurntPizza

« JGO Bitwise Duke »


Medals: 486
Exp: 7 years



« Reply #52 - Posted 2014-11-03 02:08:01 »

I would agree, except...

and I don't really expect ... everyone [to] try it

These projects are being framed as "here, use this thing I made."
Offline CopyableCougar4
« Reply #53 - Posted 2014-11-03 02:08:22 »

I think people should stop putting him down... Srsly, this is just something he is doing just for fun... I do a lot of things just for fun as well and I don't really expect them to be absolutely amazing and everyone should try it... I just do it for fun, what other reason should people program?

We're not "putting him down". That implies that we are purposefully belittling him, which we are not. We are giving him constructive criticism. People have said this before and I will repeat it. It's the internet, you need a thick skin. Without constructive criticism, DarkCart will not know what needs improvement.

Would you rather we shower him with compliments and then he gets crushed in the real world, or give constructive criticism now and work to prepare him for the expectations of the real world?

CopyableCougar4

Either wandering the forum or programming. Most likely the latter Smiley

Github: http://github.com/CopyableCougar4
Offline matanui159

JGO Coder


Medals: 11
Projects: 1
Exp: 10-12 months


Aww... So cute...


« Reply #54 - Posted 2014-11-03 02:14:28 »

I just felt like speaking up after this comment:

...
which is absolutely useless, wasting their time.
...
Its like a 14 year old math enthusiast trying to do satellite orbit calculations for NASA. Just stop.

Is it sad that I still get a fright when the computer beeps at me...
Offline DarkCart

JGO Kernel


Medals: 124
Projects: 9
Exp: 50 years


It's all in the mind, y'know.


« Reply #55 - Posted 2014-11-03 12:11:29 »

I think people should stop putting him down... Srsly, this is just something he is doing just for fun... I do a lot of things just for fun as well and I don't really expect them to be absolutely amazing and everyone should try it... I just do it for fun, what other reason should people program?
.....DarkCart will not know what needs improvement.
CopyableCougar4

Seriously, I need to know what to add. It helps me keep motivated that people are interested in my library enough to suggest things to be added/changed.


The darkest of carts.
Offline gouessej
« Reply #56 - Posted 2014-11-03 16:46:19 »

Seriously, I need to know what to add.
Then, try to make a game with your library and you'll find what is missing.

It helps me keep motivated that people are interested in my library enough to suggest things to be added/changed.
I don't really understand this way of thinking. I appreciate altruism but why for do you develop this library? What does it give you? Are you looking for gratitude?

Julien Gouesse | Personal blog | Website | Jogamp
Offline The_FrosTy_Clan
« Reply #57 - Posted 2014-11-03 20:51:00 »

I couldn't agree more, You should stop putting people down, Ask for suggestions not "Constructive Criticism" If he wants to develop a gaming library he can do that, You people got to stop being such arrogant @$$3$.
Offline The_FrosTy_Clan
« Reply #58 - Posted 2014-11-03 20:55:36 »

I think people should stop putting him down... Srsly, this is just something he is doing just for fun... I do a lot of things just for fun as well and I don't really expect them to be absolutely amazing and everyone should try it... I just do it for fun, what other reason should people program?
.....DarkCart will not know what needs improvement.
CopyableCougar4

Seriously, I need to know what to add. It helps me keep motivated that people are interested in my library enough to suggest things to be added/changed.

Nice job on the library so far, I used the demo for 0.6, You should make a little game with it, Maybe add collision detection and when the game starts the players just scroll and don't stop, There are just suggestion but i wish you the best of luck on your library, I will continue to get the newest updates and hand out suggestions, Best of luck to you

~ Ty
Offline CopyableCougar4
« Reply #59 - Posted 2014-11-03 20:56:31 »

I couldn't agree more, You should stop putting people down, Ask for suggestions not "Constructive Criticism" If he wants to develop a gaming library he can do that, You people got to stop being such arrogant @$$3$.

"arrogant @$$3$."? Excuse me? Only one person has even made a comment that could be considered out of line. You guys need to stop with this idea of being the hero and jumping on the "back OP up" bandwagon.

CopyableCougar4

Either wandering the forum or programming. Most likely the latter Smiley

Github: http://github.com/CopyableCougar4
Pages: 1 [2] 3 4 5
  ignore  |  Print  
 
 

 
Riven (582 views)
2019-09-04 15:33:17

hadezbladez (5514 views)
2018-11-16 13:46:03

hadezbladez (2403 views)
2018-11-16 13:41:33

hadezbladez (5776 views)
2018-11-16 13:35:35

hadezbladez (1226 views)
2018-11-16 13:32:03

EgonOlsen (4663 views)
2018-06-10 19:43:48

EgonOlsen (5683 views)
2018-06-10 19:43:44

EgonOlsen (3199 views)
2018-06-10 19:43:20

DesertCoockie (4096 views)
2018-05-13 18:23:11

nelsongames (5116 views)
2018-04-24 18:15:36
A NON-ideal modular configuration for Eclipse with JavaFX
by philfrei
2019-12-19 19:35:12

Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08
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!