Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (538)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (600)
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
 on: 2014-12-18 12:25:07 
Started by tdegroot96 - Last post by tdegroot96
I'm trying to get Tiled maps working for my game. For flipped tiles, Tiled gives me 3 variables: FLIPPED_HORIZONTAL, FLIPPED_VERTICAL and FLIPPED_DIAGONAL. When I  try to use those three variables, I can only get the Horizontal and Vertical flip working. I know the following:
    int ys = height - y - 1; // y is the y-coordinate of the current pixel of the image we're checking, height is the height of the image.
    int xs = width - x - 1; // x is the x-coordinate of the current pixel of the image we're checking, width is the width of the image.
Can someone explain me how to make the Diagonal flip? Or other ideas to get this going?

 on: 2014-12-18 12:22:02 
Started by VIrtueeL - Last post by Mr.CodeIt
I remember being in this same spot a year ago. So Java2D is usually used for testing because it's too slow for a real game. LWJGL is a Java conversion of OpenGL. OpenGL uses the computer's graphics (in depth stuff. just Google it) and such to render games. Libraries like libGdx and Mercury make it easy to use these commands. I recommend you learn libGdx or mercury, make a few games, then give LWJGL a try. If you try now, it still may be complicated. But then again you may know a lot more than I did with your 3-4 years

 on: 2014-12-18 11:40:19 
Started by mbabuskov - Last post by mbabuskov
Here's some new graphics. Elevators:

Checkpoints will look like telephone booth (or whatever they're called in your country). Doctor Who's TARDIS was inspiration for the shape:

As you can see in this last image I'm also experimenting with some color filters.

 on: 2014-12-18 10:53:15 
Started by SHC - Last post by Roquen
@KevinWorkman: Adding one or more variables that aren't needed.  You're expanding the state data requirements by 50-100% and likewise for the actual code itself.  More complexity is more things to write, read and maintain.  There's no upside as it bring no additional information to the table.  This is so small and simple that it doesn't make sense (generally) to write a library and looking up the existing version to copy-and-paste will take longer than just typing it out for the Nth time.  And some of these Nth times you'll do it wrong since it's so simple you're not even thinking about it while you're typing.

 on: 2014-12-18 10:46:00 
Started by Jacob Pickens - Last post by quew8
OpenGL is a state machine. Slick sets its state up to be right for how it renders it. You can't just type some code and assume it'll be in the right state for exactly what you want to do. Use Slick or use OpenGL directly.

 on: 2014-12-18 10:35:09 
Started by yoh - Last post by Gibbo3771
Really? 3 f**king posts?

 on: 2014-12-18 10:34:14 
Started by kpars - Last post by Gibbo3771

Are you on a laptop by any chance?

- Jev

Yeah. I have ran it with both cards and no joy.

 on: 2014-12-18 10:06:04 
Started by VIrtueeL - Last post by LiquidNitrogen
Libgdx can be frustrating to initially setup, but don't be discouraged by that because it makes all the other things you want to do work much better and easier

 on: 2014-12-18 10:04:46 
Started by VIrtueeL - Last post by VIrtueeL
ik how to make games i know basic collision prevention,map loading, creating gameStates, loading spriteSheets and stuff like that!

i just want them to be smoother and implements lights and stuff like that!

 on: 2014-12-18 10:01:06 
Started by VIrtueeL - Last post by princec
If I were just starting out making games I'd not recommend Java at all Smiley But if you must, I'd go for libgdx.

Cas Smiley

Pages: [1] 2 3 ... 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.

rwatson462 (29 views)
2014-12-15 09:26:44

Mr.CodeIt (20 views)
2014-12-14 19:50:38

BurntPizza (40 views)
2014-12-09 22:41:13

BurntPizza (75 views)
2014-12-08 04:46:31

JscottyBieshaar (37 views)
2014-12-05 12:39:02

SHC (50 views)
2014-12-03 16:27:13

CopyableCougar4 (47 views)
2014-11-29 21:32:03

toopeicgaming1999 (113 views)
2014-11-26 15:22:04

toopeicgaming1999 (100 views)
2014-11-26 15:20:36

toopeicgaming1999 (30 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

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 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‑
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!