Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (524)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (593)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Runninin' (Unofficial random programming name)  (Read 2615 times)
0 Members and 1 Guest are viewing this topic.
Offline bilznatch

Senior Devvie


Medals: 8
Projects: 2
Exp: 1 year


I'm bad, I'm bad, I'm really... really bad T_T


« Posted 2013-11-15 10:47:24 »

A lengthy back story:
This is my secondary project, whereas "Aptronic" is my learning and fun project, this is my more serious attempt at something playable.

I've just started writing this one, but this is a collaboration with a wonderful artist named Ali, who did all the background work for the game so far, and will (Hopefully) be doing the rest of the artwork, along with animations.

This is far from complete, it's only been being written for a few days, however, It's technically been on my plate for a year, and is the reason I started to write games in Java.
I asked Ali to do art for me on Newgrounds, and at the time I had just finished my Intro to programming course at my college. Needless to say, I was rather bad at programming, and well, that's why I've been around here since. (of course, I joined this forum after a quite awhile of lurking, but it's been about a year I've been programming in Java). So, I spent the last year learning, and then just a couple days ago I sent Ali the first build. Needless to say he was quite happy to see his art finally moving (the terrain and clouds) and immediately gave his ideas on what we should add. So, for the next few weeks, or longer (I have no idea how long it'll take to implement everything, as I have college work as well as this, and I have a gaming addiction T_T), I'll be developing this with Ali, who did all of the game design and Art. (I'm doing mechanics and balancing, he's the idea guy, I'm about as creative as an ape)

Onto the game:
Right now, the boxes, player, and buttons are placeholders. The lovely background, clouds, and grass are all done by Ali (luckylime.newgrounds.com).


Gameplay:
The game is pretty simple right now, there's no end, and no goal to reach, all you do is rack up points by collecting the boxes, the faster you go, and the less you miss, the more points you get. Very simple. In the future, you'll have a life pool in classic mode that'll drop when you miss boxes (maybe 3 will = death?), and in Time Attack (Not in this build, although easy to add), you'll have a certain amount of time to get as many points as possible, with chances to get time added (I still haven't decided if that'll be based on your combo, checkpoints, score increments, or what have you).

Future implementations:
- Difficulty levels

- Maybe another mode (I had one in mind, but I can't remember what is, if I remember, I may add it)

- Things to avoid/not collect (to prevent space bar mashing/full speed ahead)
    - These will likely be pitfalls or spikes, along with bombs or some other type of bad collectable, I'll leave the choice of art up to Ali, the programming concept is pretty much the same either way.

- A full options menu
    - rebindable keys (if for some reason directional/wasd and space aren't your cup of tea)
    - Resizing Options (Maybe, 800 x 800 is pretty much usable on any monitor, and the game has no reason to be fullscreen, it's rather arcade-y)
    - Velocity, combo numbers, score gained for collection, and total score on/off options

- day/night cycle (night will impair vision of boxes coming toward you)

- indicator for boxes coming + their distance (This will also get an on/off option)

- More art by Ali/LuckyLime, rather than place holders. (I need those placeholders man, can't see without em).

And Finally, if anyone wants to play it, Here's a link:
Runninin Zip
Offline trollwarrior1
« Reply #1 - Posted 2013-11-15 10:57:59 »

Have fun making a game I guess Cheesy
Offline SHC
« Reply #2 - Posted 2013-11-15 11:04:22 »

Please give a download as ZIP. I'm on a mac and cannot find a free RAR opening app for it in App Store.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline bilznatch

Senior Devvie


Medals: 8
Projects: 2
Exp: 1 year


I'm bad, I'm bad, I'm really... really bad T_T


« Reply #3 - Posted 2013-11-15 12:18:27 »

I didn't know that was a problem, sorry SHC.   Sad
Here's a zip version for you.
If for some reason you can't open that, please do tell me, and I'll rezip it using something else. (it automatically zipped using winrar, but it is in .zip format, so it should work)

Sorry for not using a zip in the first place, I'll replace the original link with a zip as well, so that issue won't come up again.

Have fun making a game I guess Cheesy

Thanks trollwarrior. It might not necessarily turn out amazing, as it's technically my first real game that isn't just a test, but hopefully it'll be a good experience regardless.
Offline Troncoso

JGO Coder


Medals: 20



« Reply #4 - Posted 2013-11-15 12:23:12 »

Please give a download as ZIP. I'm on a mac and cannot find a free RAR opening app for it in App Store.

http://www.7-zip.org/download.html

It has some links for mac. 7-zip is free and can decompress just about anything. Including RAR.
Offline SHC
« Reply #5 - Posted 2013-11-16 13:39:29 »

@bilznatch

I'm having an error in the console.

1  
2  
3  
4  
5  
6  
7  
8  
localhost:Runninin V0.02 sriharshachilakapati$ java -jar Runninin.jar
JarClassLoader: Warning: Unable to load native library: java.lang.NullPointerException
JarClassLoader: Warning: Unable to load native library: java.lang.NullPointerException
JavaVM WARNING: JAWT_GetAWT must be called after loading a JVM
_NSJVMLoadLibrary: NSAddLibrary failed for /libjawt.dylib
JavaVM FATAL: lookup of function JAWT_GetAWT failed. Exit
AL lib: ReleaseALC: 1 device not closed
localhost:Runninin V0.02 sriharshachilakapati$

I had experienced this error before with older LWJGL version but with LWJGL 2.9.0 this error was gone. What is the version of LWJGL you are using?

Offline bilznatch

Senior Devvie


Medals: 8
Projects: 2
Exp: 1 year


I'm bad, I'm bad, I'm really... really bad T_T


« Reply #6 - Posted 2013-11-16 21:55:30 »

I'm using libGdx, sooooooo.... I think I just need the latest build of libGdx, haven't updated mine in awhile.
Mind trying with this version?
Runninin Zip

Also new to this version:
hiscores, time attack mode, removed max speed limit for now.
(these and some other basic quality features will come before any more gameplay)
Offline SHC
« Reply #7 - Posted 2013-11-17 06:36:37 »

It didn't work again. Here's the log.

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  
localhost:Runninin V0.05 sriharshachilakapati$ java -jar Runninin.jar
JarClassLoader: Warning: Unable to load native library: java.lang.NullPointerException
JarClassLoader: Warning: Unable to load native library: java.lang.NullPointerException
12341234
12341234
1412341
1234123
123412
123412
123412
12348
12347
12345
12341234
12341234
1412341
1234123
123412
123412
123412
12348
12347
12345
Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: java.lang.NoSuchMethodError: com.badlogic.gdx.graphics.g2d.BitmapFont.draw(Lcom/badlogic/gdx/graphics/g2d/SpriteBatch;Ljava/lang/CharSequence;FF)Lcom/badlogic/gdx/graphics/g2d/BitmapFont$TextBounds;
   at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:120)
Caused by: java.lang.NoSuchMethodError: com.badlogic.gdx.graphics.g2d.BitmapFont.draw(Lcom/badlogic/gdx/graphics/g2d/SpriteBatch;Ljava/lang/CharSequence;FF)Lcom/badlogic/gdx/graphics/g2d/BitmapFont$TextBounds;
   at game.Game.render(Game.java:371)
   at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:207)
   at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:114)
localhost:Runninin V0.05 sriharshachilakapati$

Offline bilznatch

Senior Devvie


Medals: 8
Projects: 2
Exp: 1 year


I'm bad, I'm bad, I'm really... really bad T_T


« Reply #8 - Posted 2013-11-17 08:54:36 »

Oh god, the problem is that you can't use the internal libGdx truetypefont to bitmapfont generator on mac, so...
Yeah, guess it's windows only now. (I'm too lazy to go do it with hiero, not like i'm selling it.)
sorry SHC.

Actually, I'll just add the fonts from hiero, it's easier than I thought.
Offline Talon876

Junior Devvie


Medals: 2
Projects: 1



« Reply #9 - Posted 2013-11-17 10:02:07 »

Oh god, the problem is that you can't use the internal libGdx truetypefont to bitmapfont generator on mac, so...
Yeah, guess it's windows only now. (I'm too lazy to go do it with hiero, not like i'm selling it.)
sorry SHC.

Actually, I'll just add the fonts from hiero, it's easier than I thought.

You can use the ttf->bitmapfont generator on mac. This is the code that I use and it works on mac and windows:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
 
public static BitmapFont generateFont(String internalPath, int size, Color color) {
       FreeTypeFontGenerator gen = new FreeTypeFontGenerator(Gdx.files.internal(internalPath));
        BitmapFont font = null;

        font = gen.generateFont(size);
        font.setColor(color);
        font.setUseIntegerPositions(false);
        font.getRegion().getTexture().setFilter(TextureFilter.Linear, TextureFilter.Linear);
        gen.dispose();
        return font;
    }


You just have to have the gdx-freetype and gdx-freetype-platform-version-natives-desktop.jar in your classpath.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline bilznatch

Senior Devvie


Medals: 8
Projects: 2
Exp: 1 year


I'm bad, I'm bad, I'm really... really bad T_T


« Reply #10 - Posted 2013-11-17 20:43:23 »

The only freetype libs I have are:
gdx-freetype.jar and gdx-freetype-natives.jar

I generate fonts pretty much the same way, so I figure it must be something with my libs then, so what am I missing here?  Huh


Apparently this only happens on .zip versions for some unknown reason. I asked a friend to try this on his PC and it also didn't work with the zipped version, then I unpacked the zip version and found it doesn't even work for me.

So I'll only be using .rar versions until I figure out what broke.


Alright I fixed it. Here's the new Zip file:
Runninin Zip
Offline SHC
« Reply #11 - Posted 2013-11-18 12:32:32 »

Yay! It's working!



Thanks, the game is very nice. One thing though, can you make this use a standard resolution, my screen is actually 1600x900 and I have to hide the dock to prevent the appearing over the game.

Offline bilznatch

Senior Devvie


Medals: 8
Projects: 2
Exp: 1 year


I'm bad, I'm bad, I'm really... really bad T_T


« Reply #12 - Posted 2013-11-20 01:21:28 »

I could make it use a different resolution, but that's at the bottom of my list of things to do.
I'm currently waiting on animations, so I guess I can just do it until I get some, I'll update this thread when I've finished resizing.

It might only be a preference file at first, I don't want to write the menu for it right now.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

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

The first screenshot will be displayed as a thumbnail.

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

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

toopeicgaming1999 (7 views)
2014-11-26 15:20:08

SHC (24 views)
2014-11-25 12:00:59

SHC (24 views)
2014-11-25 11:53:45

Norakomi (24 views)
2014-11-25 11:26:43

Gibbo3771 (22 views)
2014-11-24 19:59:16

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

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

digdugdiggy (52 views)
2014-11-12 21:11:50
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!