Author Topic: The Darkness  (Read 12240 times)

0 Members and 1 Guest are viewing this topic.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
The Darkness
« on: November 05, 2009, 12:57:42 pm »
So a contest has just started in a java community I am a part of, and I am planning to submit to it :)  The due date is December 4th, so I have a little under a month to complete my game.  I have already begun the engine and storyline, and some of the early releases can be seen Here:
http://greenfootgallery.org/scenarios/1035

The game will have a unique aspect involving realistically casted shadows, which will make up the a large part of the gameplay.  The engine also sports a tilemapper to create large worlds.  The characters and enemies will be driven by a bone based armature system which will allow characters to be composed of multiple limbs and objects.  The objects can be connected via parenting and childing of objects, and parents rotation effects the childs.  The demo scenario for this can be seen here:
http://greenfootgallery.org/scenarios/1034

The game is going to be a very dark game, with environmental overtones to fit in with the theme of the contest.  I am going to keep in storyline until me and my fellow designer solidify the plot.

Unfortunately, the object system I have built into the shadow engine does not support rotation, which is imperative for the armature system to work, so i will need to do a complete rewrite of the object-shadow system and possible use the new features to expand the tilemapping shadow system as well.
 
« Last Edit: November 05, 2009, 11:47:13 pm by Builderboy »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: The Darkness
« Reply #1 on: November 05, 2009, 02:37:56 pm »
Mhmm very interesting, will you have something like Blinded By The Darkness for the TI-86? Where you could only see certain parts of the map depending of where you were?

Also your first engine seems to handled a lot of objects at once o.o. Here's what boredon caused below: :P

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: The Darkness
« Reply #2 on: November 05, 2009, 07:16:56 pm »
Wow, nice!  Thats a lot of objects O.O.  How much lag was it getting?

I didn't know about that game!  It looks really cool, and has kinda the same concept as this game is going to have.  Altough I think this one is going to have a lot more action and such :)   (and be faster, i heard that game was slow x.x)

Offline {AP}

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 981
  • Rating: +74/-3
  • I am Webmaster!
    • View Profile
    • Removed From Game
Re: The Darkness
« Reply #3 on: November 05, 2009, 07:18:41 pm »
Nice work on this. I'm impressed.
Was fun to play around with for awhile even before it's an actual game.

I'm looking forward to more of this soon. =P

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: The Darkness
« Reply #4 on: November 05, 2009, 07:37:11 pm »
Thanks ^^ I have a task ahead of me though, because i need to rewrite the shadow engine x.x

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: The Darkness
« Reply #5 on: November 06, 2009, 01:56:13 am »
On this one, I did not get random freezings every few seconds like your racing game. Also until it reached like 1000+ objects I still got like 30+ fps. At the time I did the screenshot I got like 10-15 fps, if I examined it in action carefully. Only some very small slow downs at times

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: The Darkness
« Reply #6 on: November 07, 2009, 12:26:40 am »
Wow, thats fantastic!  Although I'm not sure the new engine will be as forgiving, it now supports object rotation and so will be able to support a lot less objects (still a fair amount though, and not all will need rotation).

So now I need to work rigging the character and getting his movements all nice and smooth :)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: The Darkness
« Reply #7 on: November 07, 2009, 12:53:57 am »
I can't wait to see a game using the engine in action ^^

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: The Darkness
« Reply #8 on: November 08, 2009, 01:12:13 pm »
Hooray! The character is rigged and has nice and fluid movements! ;D

http://greenfootgallery.org/scenarios/1034

It took a bit of time to get all the hip switching and strafing working correctly, but I really like the outcome!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: The Darkness
« Reply #9 on: November 08, 2009, 01:34:01 pm »
Nice ^^, now I see what you mean about rotating taking much more CPU ressources, though :(, I get max FPS, but every 0.5 seconds it seems to skip frames

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: The Darkness
« Reply #10 on: November 08, 2009, 01:37:06 pm »
Wait, on the character scenario?  It takes up a lot less resources than the shadow scenario, even with rotation.  I am starting to think this frame skipping has a different cause thank high cpu resouces :/ I'm confused :(

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: The Darkness
« Reply #11 on: November 08, 2009, 01:54:59 pm »
Well the stuff I tried in your first post seemed to run pretty smooth, but that last thing you posted runs at choppy framerate. I also tried your platformer here: http://greenfootgallery.org/scenarios/573 and every 3 or 4 second it would completly freeze for one entire second, making one of the level nearly impossible. I tried running it in high priority mode and it still did that, which makes me think it's just way too much for my 5 years old computer and 4 years old video card. I also tried to run it in real time mode through task manager instead of normal or high priority but that would completly freeze the computer

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: The Darkness
« Reply #12 on: November 08, 2009, 01:59:36 pm »
D: Now I'm really confused, because one of the links in the fist post was almost exactly the same as the most recent link x.x Well, I guess Greenfoot is just a high priority thing :P.  It sux that you can't run it though.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: The Darkness
« Reply #13 on: November 08, 2009, 02:04:22 pm »
Yeah I wish it ran faster, maybe the libraries or whatever it uses might be too much for my comp x.x

At least some stuff runs ok, it just gets annoying when trying to beat a level of something and you expect to succeed in jumping on the last platform then halfway through the jump, it freezes and you fall into the hole.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: The Darkness
« Reply #14 on: November 10, 2009, 11:20:09 am »
Alright, I have been working on getting the bone class to extend my ShadowActor class corectly, so that i can use my bone system in The Darkness.  it is going well, but I am trying to find a better solution to the rotation issue, possible involving custom filled polygons. 

On another note, I may or may not be changing the name to: Death of the Shadows :)