Java-Gaming.org Hi !
Featured games (81)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (119)
games submitted by our members
Games in WIP (576)
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
  ignore  |  Print  
  Legend of Waffles!  (Read 8067 times)
0 Members and 1 Guest are viewing this topic.
Offline LunaticEdit
« Posted 2012-12-25 14:06:05 »





The introduction
 
I am working on an NES-inspired platformer in Java 1.6 and libGDX. Currently developed in OSX and testing in Windows as well as android 2.2+ mobile devices. I currently have an artist I am contracting art from. The rest of the awesomeness comes directly from me.
 
 
The Story
 
The game is very sarcastic and humorous. It starts out with the main character pouring batter into bowl in kitchen (there will be art-boards in the intro scenes). In the next screen he exclaims "Shiat, out of milk!" while rushing out of door -- fridge open in background. Then it shows the character running towards town in the distance. This is the entire premise of the game. When the player arrives in town, he'll learn that although most of the town is accessible, the grocery is not accessible due to a bridge being out. The game will consist of the player obtaining parts to fix the bridge so that he can get his milk and finally make his waffles. It seems like something or someone really doesn't like waffles.. hrm..
 
 
The Gameplay
 
The town will consist of buildings (much like the towns you are familiar with). Each building is actually a "world" and will be quite large and have many inside, underground, and outside areas. Each "world" will have a list of "tasks" to complete -- which you will see when standing near the house's door. Completing all tasks will unlock the final task for that world, which will net you the piece of bridge you are looking for. Initially one house is accessible, but the next house becomes accessible as soon as the first task of the previous house is completed. The player will not be able to linearly complete all tasks at each world due to need of items or skills found in other worlds; so the player has to experiment and think about what paths his newly obtained loot will open up. Gameplay style is of course platformed style, with a bit of RPG mixed in (no leveling or EXP, but there will be projectile and melee fighting). There is also physics (Box2D), but the physics is downplayed and no puzzles will explicitly rely on physics (as I personally hate those types of games). I'm hoping to have at least 15 hours of gameplay (meaning 15 hours to complete if you know what you are doing) so this isn't something that I'll have finished next month of course.

The Video

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

Desktop Controls:
[Z] Run
[X] Jump
[C] Attack
[Enter] Action

Android Controls:


Other images:

Offline matheus23

JGO Kernel


Medals: 109
Projects: 3


You think about my Avatar right now!


« Reply #1 - Posted 2012-12-25 14:23:03 »

Running perfectly fine, looking really good, btw Smiley

I just don't know which keys to press. I've almost tried out everything. Enter and the Up/left/right keys had effect. I was able to get into the house and able to get some of those blue discs.

Pretty good graphics! I know it's that specific graphics style, but I would have liked less contrast in the woods.

And could you please tell us all the keys we have to press? And especially when...

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline LunaticEdit
« Reply #2 - Posted 2012-12-25 14:26:15 »

Yeah you picked it up as I was modifying my post Smiley

There's a lot of game left to be done, but I've spent a good 50 hours on it so far. If you look at your task manager you should see no leaks, and it should not crash (assuming theres no computer-specific issues). I've got a very clean codebase and will continue to add features, weapons, and enemies before finally working on stages and content.

Thanks for trying it out though! And by contrast in trees, do you mean the darker shade?

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

Senior Newbie





« Reply #3 - Posted 2012-12-25 15:30:45 »

Works fine and fast for me on Windows 8 Smiley
Keep up the good work, this could be a pretty cool game if you put the effort in Cheesy
Offline LunaticEdit
« Reply #4 - Posted 2012-12-25 21:50:25 »

Thanks! I will be releasing the next demo later on next weekend. I'll be working on a lot of updates between then and now. I'm making it a point not to watch TV or play other games to ensure I don't get sidetracked with this project. If anyone has any suggestions or tips as I move this project along please let me know -- I know there's not enough here for tips now, but certainly in the future.

Offline BoBear2681

JGO Coder


Medals: 19



« Reply #5 - Posted 2012-12-27 21:57:58 »

Looks cool (building graphics very reminiscent of Zelda II!), but unfortunately it's unplayable for me.  The screen constantly flickers white (like a refresh problem, clearing the screen perhaps?).  The game is running though - I can move around, jump, hit blocks and collect things.  This was on Vista.

I didn't see a stack trace or a log written anywhere.
Offline LunaticEdit
« Reply #6 - Posted 2012-12-27 22:25:13 »

After doing some refactoring i've moved rendering from the canvas to the jframe itself, this should resolve the flickering issue. I don't clear the screen ever, so white is the frame itself being painted on top of the canvas for some weird reason. I've also changed input from overrides to key listeners, among other things. The release I do this saturday/sunday should be free of these issues (and input issues others were having) among many updates. I've spent about 15 hours this week doing absolutely nothing but refactoring, commenting, and testing my existing logic before moving on. Now that my work week is over I'll be spending all of tonight and some of tomorrow writing a map editor as things are getting too complex for my little stage data tricks. I'll also be adding in at least one weapon and several types of enemies (1 flying, 1 'dumb' ground, and 1 'smart' ground unit) and hopefully some more fleshed out maps.

Thanks so much for trying it out, and if someone on window that has video problems wants to more actively help me get those issues solved please let me know; I don't run into them here and cannot debug/test something I don't see.

[Edit]
I just saw on another post a tool called Tiled Map Editor and it appears to do everything I need it to, so it may save me a LOT of dev time.. We'll see!

Offline BoBear2681

JGO Coder


Medals: 19



« Reply #7 - Posted 2012-12-28 16:15:57 »

I'll be happy to try out another build when you have one.

And yes, Tiled is pretty awesome.
Offline LunaticEdit
« Reply #8 - Posted 2012-12-28 16:55:09 »

I have completely implemented the map editor stage file now, complete with tilesets, collision regions, objects, items, enemies, and warps. It's nice that it compresses the tile data into base64 encoded gzip stream. I just wrote my own loader as it was only a few hundred lines of code anyway.

Doing that required me to completely re-think how I handled the initial startup state (what stage to load first, where to put player initially, etc). All these issues have been resolved (my main stage manager xml file is simply a list of <property name="" value="" /> tags for needed things) and as we speak I am working on some new tiles and then will add a few enemies. It's looking like I may be pushing a new release a day early thanks to this map editor; it's friggen great.

Offline PeterNicholson
« Reply #9 - Posted 2012-12-28 16:57:20 »

Hmm... I have got some kind of error, I just see a flashing black screen.  Angry Any help??  Huh

Subscribe to me on YouTube: http://youtube.com/javaprogrammerguy
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline LunaticEdit
« Reply #10 - Posted 2012-12-28 17:01:08 »

Hmm... I have got some kind of error, I just see a flashing black screen.  Angry Any help??  Huh

Wait until tonight when I release my next update, it may fix your video issues. But barring that, make sure you have java 1.7 installed and your video drivers are up to date. Flickering is a known issue in the version that's posted currently. I am not yet ready to post a newer version until tonight. If anyone wants to ACTIVELY help test (only those who have major video or input issues)let me know and we can get on IRC/gChat/whatever and I can rapid fire jar files quicker -- otherwise just chill until my next release Cheesy

Offline LunaticEdit
« Reply #11 - Posted 2012-12-29 03:17:45 »

Just some new screenshots. Lots of internal bugfixes. Maps are loading via Tiled now instead of via pixel data in images and external XML. Changed root xml file to simply hold properties to kick off the game when you start playing. I just finished adding the first enemy character and am now working on attacking logic for players and the first enemy. It's still looking good for a saturday night release with loads of updates!

Posting in URL to keep from image bombing you guys Smiley
https://www.dropbox.com/sh/ttn6v3rsc47b3q2/QdM48hRQAu

Offline matheus23

JGO Kernel


Medals: 109
Projects: 3


You think about my Avatar right now!


« Reply #12 - Posted 2012-12-29 11:04:15 »

Just some new screenshots. Lots of internal bugfixes. Maps are loading via Tiled now instead of via pixel data in images and external XML. Changed root xml file to simply hold properties to kick off the game when you start playing. I just finished adding the first enemy character and am now working on attacking logic for players and the first enemy. It's still looking good for a saturday night release with loads of updates!

Posting in URL to keep from image bombing you guys Smiley
https://www.dropbox.com/sh/ttn6v3rsc47b3q2/QdM48hRQAu

Wow! I'm glad to see there is another good game on jgo today Smiley
Looks really professional. Using TMX is good Smiley (Yes it is bad that you don't use java2D, other stuff recommended from me as well Wink )

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline supercapacitor

Junior Duke


Projects: 1



« Reply #13 - Posted 2012-12-29 13:59:31 »

Looks great! You might want to switch to Java 6 in order to increase compatibility. From what I've heard, you should only use Java 7 if you really need to (like string switches, FileReader stuff, etc.).

Offline PeterNicholson
« Reply #14 - Posted 2012-12-29 14:00:24 »

Well, where is that new version?  Angry I want to play it!  Smiley

Subscribe to me on YouTube: http://youtube.com/javaprogrammerguy
Offline LunaticEdit
« Reply #15 - Posted 2012-12-29 14:23:30 »

It's coming tonight, no worries! I've finally contacted a real artist and will be getting some tile work, portraits, and scenes done soon as well.  I've finalized a name for the game as well as the intro story as well; but I am not going to reveal it currently. Anyway, release coming tonight as planned around 10pm EST.

Offline PeterNicholson
« Reply #16 - Posted 2012-12-29 14:24:45 »

What IDE do you use?

Subscribe to me on YouTube: http://youtube.com/javaprogrammerguy
Offline LunaticEdit
« Reply #17 - Posted 2012-12-29 14:29:45 »

Looks great! You might want to switch to Java 6 in order to increase compatibility. From what I've heard, you should only use Java 7 if you really need to (like string switches, FileReader stuff, etc.).

Java 6 will be end of life before too long. I use a lot of the features of Java 7, including string switches in the loader routines.

I also like doing:
1  
ArrayList<MyClass> myObj = new ArrayList<>;


As well as being able to combine exceptions:
1  
2  
3  
        } catch (IllegalArgumentException | IOException | ParserConfigurationException | SAXException e) {
            MainWindow.crash(e);
        }


The list goes on and on. I really like java 7 Cheesy

What IDE do you use?

IntelliJ IDEA 12 CE on Mac OSX for development, Tiled for map editor, and Pixen for graphics (until the artist does the final art).

Offline PeterNicholson
« Reply #18 - Posted 2012-12-29 14:38:41 »

I got intelliJ IDEA in the end of the world sale! Smiley

Subscribe to me on YouTube: http://youtube.com/javaprogrammerguy
Offline LunaticEdit
« Reply #19 - Posted 2012-12-29 20:14:21 »



Posting my test AI character. She walks around, stands, has physics, and reacts to the environment and player. Still trying to get her attacking AI in before release tonight.

I also spent a lot of time updating the subtle feel of moving the character. Now you will walk, and can run by pressing (Z) and jump by pressing (X). The general feel is a bit more fluid and smooth now.

Offline EgonOlsen
« Reply #20 - Posted 2012-12-29 22:34:42 »

Still flickers like crazy on my machine (Windows 7 64Bit, Geforce 680 GTX (latest drivers), Java 1.7.0_09). And the sound loops endlessly after closing the game window...very annoying, i've to reboot now to stop that.

Offline LunaticEdit
« Reply #21 - Posted 2012-12-29 22:40:58 »

I had several people test it on IRC and they had no issues, if you get the time do you mind jumping on IRC or google chat (tim.sarbin@gmail.com) so that I can try to figure out what it is about your setup that is causing issues? I tested in a VM, on OSX, and had someone test on XP and 7 and all of those worked.

I'll also hit the googles. Sound hanging is an issue - due to the audio system I use to play the SID files. The source is in german so it may be a few days before I sort that issue out  persecutioncomplex For now I'm sure you can kill java from the task manager to kill it out.

[UPDATE]
OK I may have figured out the flickering problem. The change made things run butter smooth on my computer (never noticed until I saw the change). I will do a new release after I attempt to figure out the audio hang issue.

Offline LunaticEdit
« Reply #22 - Posted 2012-12-29 23:15:13 »

NEW RELEASE:

https://www.dropbox.com/s/p07mf6xvuus6qbw/ThePlatformer.jar

Let me know if you run into any issues. This REQUIRES Java 1.7, it will not run with Java 1.6. I have tested the exe version in a virtual machine and it ran fine, so hopefully you guys will not have any issues this time around.

CONTROLS:
[Z] Run
[X] Jump
[Enter] Enter door (still only first house), Select item on main menu
[Left/Right arrow keys] Move
[Up/Down arrow keys] Navigate options in main menu.

The thread manager now dumps all threads (including audio) when the window is destroyed, so this should stop sound hanging. Also changed how the rendering system grabs buffers which hopefully will fix flickering issue for some of you.. we'll see I guess.

Offline BoBear2681

JGO Coder


Medals: 19



« Reply #23 - Posted 2012-12-29 23:41:26 »

No more flicker for me, congrats.  Glad other people like writing retro, 8-bitish games!
Offline EgonOlsen
« Reply #24 - Posted 2012-12-30 22:03:51 »

Flickering is gone now, but the sound continues to loop after closing the window. There's no Java process to kill, it's just the sound looping endless.

Offline LunaticEdit
« Reply #25 - Posted 2012-12-30 22:27:56 »

Flickering is gone now, but the sound continues to loop after closing the window. There's no Java process to kill, it's just the sound looping endless.

I'm in the process of moving to libgdx now, and will be dumping the SID files to standard audio streams, so next release should be a lot less annoying for you. Really strange you still had the issue as I nuked the thread pool on shutdown. Either way, won't be an issue for long.

Offline LunaticEdit
« Reply #26 - Posted 2012-12-31 03:30:08 »



Two new characters are now added to the game. I have also ported 90% of the game over to libgdx, this included downgrading to java 1.6, modifying my box2d logic to use the internally supplied one, as well as setting up an android target; currently I'm ripping out the last of bufferedimage and graphics object calls. I have already tested and have the main menu running on desktop and android, AND now the screen can be resized and scales to fit the display area. I have NOT done touch input for the main menu on the android yet though. Also finalized the title of the game. Been a busy weekend Smiley

[Update]
Port was successful!



Sorry for the blurry shots but it's way past bed time...

Offline matheus23

JGO Kernel


Medals: 109
Projects: 3


You think about my Avatar right now!


« Reply #27 - Posted 2012-12-31 15:48:29 »

Wonderful progress!!!
Keep it up! Smiley

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline LunaticEdit
« Reply #28 - Posted 2013-01-01 04:24:38 »

Shiat just got serious.


Offline masteryoom

JGO Coder


Medals: 5
Projects: 2


If you look closely, you might see it turning...


« Reply #29 - Posted 2013-01-01 04:26:46 »

Can you give us the download for the latest jar please? (unless it's not finished  Grin)

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

Longarmx (36 views)
2014-10-17 03:59:02

Norakomi (28 views)
2014-10-16 15:22:06

Norakomi (24 views)
2014-10-16 15:20:20

lcass (27 views)
2014-10-15 16:18:58

TehJavaDev (52 views)
2014-10-14 00:39:48

TehJavaDev (54 views)
2014-10-14 00:35:47

TehJavaDev (42 views)
2014-10-14 00:32:37

BurntPizza (63 views)
2014-10-11 23:24:42

BurntPizza (36 views)
2014-10-11 23:10:45

BurntPizza (77 views)
2014-10-11 22:30:10
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!