Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (487)
Games in Android Showcase (110)
games submitted by our members
Games in WIP (553)
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  
  4096 B.C.  (Read 2140 times)
0 Members and 1 Guest are viewing this topic.
Offline mojo
« Posted 2013-02-01 12:07:54 »

Hi, after I epically failed with my second attempt for a  4k game last week (too hideous to show), this week I came up with something new.
4096 B.C. will be a retro 3D shooter using ray-casting technique. There is no game-play right now, but you can walk around and shoot frost balls.
Packed jar is around 2.5KB without much optimization, so there is some space left for enemies, level generator and better procedural textures.




You can try the work in progress version here.
Any comments or critique  are appreciated.

Enjoy.
Offline moogie

JGO Knight


Medals: 12
Projects: 6
Exp: 10 years


Java games rock!


« Reply #1 - Posted 2013-02-01 20:35:15 »

very impressive and smooth!

You gotta love the effects that noise can give cheaply!
Offline Best Username Ever

Junior Member





« Reply #2 - Posted 2013-02-02 01:25:42 »

You probably have noticed already, but when you get too close to a wall the graphics stretch out horizontally. Bullets fired at certain angles sometimes go through walls.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Longarmx
« Reply #3 - Posted 2013-02-02 03:23:25 »

ClassFormatError - Incompatible magic value 1012089682 in class file GA
Java Plug-in 10.11.2.21
Using JRE version 1.7.0_11-b21 Java HotSpot(TM) Client VM

Offline Alan_W

JGO Knight


Medals: 8
Projects: 3


Java tames rock!


« Reply #4 - Posted 2013-02-02 05:11:14 »

Works well here with latest java build (build 1.7.0_13-b20). Lovely ray casting.  The flame effect is good: I'd like to find out how to do that.  Is it purlin noise? It would look better with a variable border to the flame perhaps.  Blending would probably be too slow, but inhibiting drawing the flame based on luminance might be ok, particularly with flickering.  I wonder what other interesting effects one could do.  A lava or running water texture effect would be really handy.  An attack of keenness is coming on over here.

Time flies like a bird. Fruit flies like a banana.
Offline Alan_W

JGO Knight


Medals: 8
Projects: 3


Java tames rock!


« Reply #5 - Posted 2013-02-02 05:21:03 »

ClassFormatError - Incompatible magic value 1012089682 in class file GA
Java Plug-in 10.11.2.21
Using JRE version 1.7.0_11-b21 Java HotSpot(TM) Client VM

Thats '<SCR' in ascii.  The magic number is the first 4 bytes of the file.  Looks like you got served up an html file instead of a jar for some reason.  It can happen with a misconfigured server, but it might be a cache problem.  Since the applet worked for me, try clearing your browser and probably your Java Cache.

Time flies like a bird. Fruit flies like a banana.
Offline StephR

Senior Member


Medals: 9



« Reply #6 - Posted 2013-02-03 14:20:14 »

This is very good, running very nicely on my computer. I wish you could implement some interesting gameplay. Have you any idea of what you are going to do ?

As a suggestion, I wanted to invoke the name of a first person 3D RPG project with a strong 8 bit style that I discovered a few years ago on the internet, however I can't remember it anymore...
Offline mojo
« Reply #7 - Posted 2013-02-04 00:50:35 »

I finally added some basic game-play. Now you will be able to destroy most of the walls and battle with the first (hope not last) enemy type. The fire is gone as I'm running slowly out of space.
I'm not 100% happy with the visuals, but at this time I will not put much effort in this direction. Instead I have to focus on 'good enough' level generation and more game-play elements, as the final stage of the game should be a action dungeon crawler.

All the effects and techniques used are old school tricks and algorithm like cellular automata (fire), raycasting and blured noise covered in many articles and tutorials.

You can try the new version here.
Offline StephR

Senior Member


Medals: 9



« Reply #8 - Posted 2013-02-04 22:02:20 »

A suggestion of gameplay, if it can help you : with some invincible enemy boss on her/his heels, the player would have to race across the dungeon level, fighting minor enemies and avoiding to fall into deadly pits, on the way to a place where is stored some sacred weapon. Then, with this better equipment, the final fight against the enemy boss may begin... Upon victory, the player would be send to a new and harder dungeon level with the same problem.

Don't worry, I won't feel offended if you completely ignore this suggestion. I just imagined what I may do if I was at your place.
Offline mojo
« Reply #9 - Posted 2013-02-11 23:23:24 »

Added portals as level goals and more types of enemies. I'm out of space, so this is the final version (if no major bug arise). The enemies are sometimes stuck in the walls, it's annoying I know, but they are ghosts and are immune to debugging.
Would be cool, to implement the idea of invincible enemy boss and a 'boss slayer' weapon but the source was a mess and this was the easiest game-play implementation.

You can try the game here.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline sixtyten

Junior Member


Projects: 1



« Reply #10 - Posted 2013-02-12 12:15:38 »

Good job getting this up and running.

My suggestions:

  • Option to control view with mouse - I found it very difficult to aim/move with the keyboard controls. Then maybe have W/S as forwards/backwards, A/D as strafe left/right and mouse button 1 to fire.
  • Increase collision distance on player/walls to stop view going "inside" walls
  • Display messages on level end/beginning, even if it's just "LVL: 2!" in the middle of the screen. There is no sense of accomplishment at the moment.
  • Might also be good to have a simple points system where you score for completing a level and killing enemies.
Offline Alan_W

JGO Knight


Medals: 8
Projects: 3


Java tames rock!


« Reply #11 - Posted 2013-02-14 22:03:40 »

Love the 3D maze.  Nice fireballs/iceballs. Aiming is a bit hard, there's a difficult tradeoff between turn rate and aiming accuracy.  Perhaps the turn rate can come down just a tad.

The texturing is having a problem at close quarters. Not sure if it's spherical aberration (algorithm projects onto a cylinder, but is drawn on a plate).  Alternatively, it might be you are using the fast (inaccurate) method for calculating texture points.  That is known to bow in/out if the surface being textured varies considerably in Z-depth.  I've made both of these errors at various times.  Or more likely, it's something else.

Time flies like a bird. Fruit flies like a banana.
Offline mojo
« Reply #12 - Posted 2013-02-15 12:16:49 »

Actually, I try to have these games done quickly by not getting every glitch under control. For example, the texture scratching is just a clamp of infinite wall height, because it took me 3 seconds and a proper solution would take couple of minutes (or hours as I'm horrible at time estimating).
My greatest weaknes in software development is that I can't let go a software before it is  'perfect'. I'm not comfortable to show something that has flaws, so I try to use these small contests as training to get the 'shit' good enough Wink.
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.

CopyableCougar4 (24 views)
2014-08-22 19:31:30

atombrot (34 views)
2014-08-19 09:29:53

Tekkerue (30 views)
2014-08-16 06:45:27

Tekkerue (28 views)
2014-08-16 06:22:17

Tekkerue (18 views)
2014-08-16 06:20:21

Tekkerue (27 views)
2014-08-16 06:12:11

Rayexar (65 views)
2014-08-11 02:49:23

BurntPizza (41 views)
2014-08-09 21:09:32

BurntPizza (33 views)
2014-08-08 02:01:56

Norakomi (42 views)
2014-08-06 19:49:38
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

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59: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!