Castlevania Dungeon Forums

The Castlevania Dungeon Forums => Fan Stuff => Topic started by: Aridale on April 01, 2012, 07:46:38 PM

Title: Classic CV HTML5 Example and random generation
Post by: Aridale on April 01, 2012, 07:46:38 PM
This is a simple demo for a classic style (stage based) cv I whipped up in a few hours between today and last night. More just to see how itd turn out than anythin really serious.

Arrows keys to move X/C to jump/attack

http://dl.dropbox.com/u/53012532/PlatformTest/index.html (http://dl.dropbox.com/u/53012532/PlatformTest/index.html)

Will also work on mobile browsers but performance will prolly suck if it doesnt use webgl. I get around 10 fps on my iphone 4 and 60+ in firefox. Best performance will prolly be with chrome.

4/2/12 - Uploaded a new version with no megaman slide and a slightly higher jump. See what ya think of it.

4/4/12 - Updated the info for the generator test info found in this post - http://castlevaniadungeon.net/forums/index.php/topic,4744.msg99146.html#msg99146 (http://castlevaniadungeon.net/forums/index.php/topic,4744.msg99146.html#msg99146)
Heres a link to the generator test for the main page. Its url wont change between versions
http://dl.dropbox.com/u/53012532/GenTest/index.html (http://dl.dropbox.com/u/53012532/GenTest/index.html)
Title: Re: Classic CV HTML5 Example
Post by: Kale on April 01, 2012, 09:02:39 PM
Wow, that's pretty sick.
Title: Re: Classic CV HTML5 Example
Post by: X on April 01, 2012, 09:37:18 PM
That's quite the fast put-together you got going. What I would do next is try and prevent Trevor from doing the Mega Man slide whenever he stops moving. He also takes a little bit to start moving as well so these two things you should concentrate on then go from there. Keep it up  :)
Title: Re: Classic CV HTML5 Example
Post by: Aridale on April 01, 2012, 09:43:38 PM
thats easy to fix I left it that way on purpose I kinda like the more dynamic moving instead of the rigid start/stop of the nes style
Title: Re: Classic CV HTML5 Example
Post by: Chernabogue on April 01, 2012, 11:25:42 PM
Looks awesome. Keep it up! :)
Title: Re: Classic CV HTML5 Example
Post by: Dark Nemesis on April 02, 2012, 02:54:35 AM
Great work!!! Keep it up! ;)
Title: Re: Classic CV HTML5 Example
Post by: VladCT on April 02, 2012, 04:54:39 AM
Nice, the only complaint I have is that jumping feels a bit too heavy.
Title: Re: Classic CV HTML5 Example
Post by: djrunza on April 02, 2012, 05:37:05 AM
Wow cool. What software are you using to create it?
Title: Re: Classic CV HTML5 Example
Post by: Aridale on April 02, 2012, 06:21:24 AM
Construct2. I uploaded a new version details in the main post
Title: Re: Classic CV HTML5 Example
Post by: Kale on April 02, 2012, 07:38:22 AM
New version feels a lot more correct.
Title: Re: Classic CV HTML5 Example
Post by: TheouAegis on April 02, 2012, 09:23:24 AM
My work computer doesn't support HTML5 and my boss would be mad if I upgraded IE, so I can't play it at work.
Title: Re: Classic CV HTML5 Example
Post by: Jorge D. Fuentes on April 02, 2012, 09:29:15 AM
I can open it in Firefox just fine.
However, I don't know how to jump or whip.
Title: Re: Classic CV HTML5 Example
Post by: Dark Nemesis on April 02, 2012, 09:45:34 AM
I can open it in Firefox just fine.
However, I don't know how to jump or whip.

Press x to jump and c to whip.
Title: Re: Classic CV HTML5 Example
Post by: X on April 02, 2012, 10:18:56 AM
Nice! I have to agree with VladCT about the jump. It does feel a bit weighted down but I'm sure it's nothing you cant fix.
Title: Re: Classic CV HTML5 Example
Post by: Jorge D. Fuentes on April 02, 2012, 10:25:53 AM
Yeah it seems that you have:
-Strength of Jump
and
-Force of Gravity

Your strength of jump is high but so is your gravity so the character jumps as high as he should but then falls very fast.
If you decrease your strength of jump but also your force of gravity, you'll achieve the same jump but will be slightly 'floatier' and less weighted, which is more like what CV3 did.

Awesome parallax scrolling with the moon and the forest.  Let's combine this with our "Randomized Rooms Castlevania" (http://castlevaniadungeon.net/forums/index.php/topic,4704.0.html) idea and put it online, bwahahaha!
Title: Re: Classic CV HTML5 Example
Post by: Aridale on April 02, 2012, 10:50:24 AM
lol I actually made this thing a few days ago to generate stage layouts. It could be made into a map generator but it will probably be progressively harder and harder to get anythin done with it in construct2

http://dl.dropbox.com/u/53012532/GenTest/index.html (http://dl.dropbox.com/u/53012532/GenTest/index.html)

I get the jumping changed in more detail later if I have a chance. Im at work right now. I enjoy what Ive got done so far the only problem is its a bitch to make the levels cause theres no tiles. The iOS performance really hurts my desire to work on it too

EDIT: oh I should prolly explain the generator program... Its simple arrows to move around zoom with mouse wheel
Title: Re: Classic CV HTML5 Example
Post by: Las on April 04, 2012, 06:14:45 PM
Shyeaaah...bout to knock sypha out that statue and go kick some vampire ass! Huh! Liking the 2d parrallex too!
Title: Re: Classic CV HTML5 Example
Post by: Aridale on April 04, 2012, 07:49:42 PM
I just updated the gentest page it now includes more than just big squares side by side lol. Still nothin playable but its got the very rough shape of the room layouts and its all connected smoothly. Its fullscreen now and takes a lil longer to load (each room is 64x64 and theres 60 different rooms) so if you load it and its just a black screen wait a few sec and hit F5 it should be ok then.

You can reload it as much as you want to check the generation just dont do it too fast. Reloadin it all every 2-3 sec makes some of the images not load then theres holes in the map

The controls havent changed from before the only new things to explain are the letters on the map. You can prolly guess what they mean but:
S = Start
B (red) = Boss
B (yellow) = Miniboss

You might not ever see a yellow b generated and Im not entirely sure if its just too rare or not workin yet lol. Sometimes the boss room doesnt appear to be the "last" room on the map but that doesnt seem like too big an issue. The boss rooms also dont have special layouts right now they just use a normal room

Im open to suggestions for room layouts if anyones interested I can post a template of all the possible "sections" and the guidelines for the layout. None of the rooms you can see in the maps right now have anythin other than normal fullsize blocks (think a tile from a normal cv map.) no halfsizes or stairs/slopes so if it LOOKS like you couldnt get to into/out of part of one its prolly because itll have to be made with some jumpthru blocks and/or stairs and thats the next thing Im gonna tackle in each rooms layout

Heres pics of three maps generated by this version
(https://castlevaniadungeon.net/forums/proxy.php?request=http%3A%2F%2Fdl.dropbox.com%2Fu%2F53012532%2FGenTest%2FMapSample1.png&hash=27cdd9882087581e7eb00135c18c407a)

(https://castlevaniadungeon.net/forums/proxy.php?request=http%3A%2F%2Fdl.dropbox.com%2Fu%2F53012532%2FGenTest%2FMapSample2.png&hash=25d45592a76be22f43c814a9a7b437d2)

(https://castlevaniadungeon.net/forums/proxy.php?request=http%3A%2F%2Fdl.dropbox.com%2Fu%2F53012532%2FGenTest%2FMapSample3.png&hash=9ca8734d80cee21440b80be99a518c06)
Title: Re: Classic CV HTML5 Example and random generation
Post by: Corpsecrank on April 04, 2012, 08:46:36 PM
It's good to see someone using construct 2. I only opted for construct classic because I didn't want to rely on a browser. I feel more and more like classic is a dead deal though which is sad really.

I should just let you use my engine as an example from which you could build on in c2. I bet it would give you all kinds of ideas.
Title: Re: Classic CV HTML5 Example and random generation
Post by: Crimson_Curse on April 05, 2012, 10:22:12 PM
Man this looks like a nice idea! I liked it! I played a version of it three days ago or four... It was kinda buggy :/ Dont know if it is my Internet conection or the engine, I know that I got it stuck