Jump to content

  • Log In with Google      Sign In   
  • Create Account


Havsmonstret

Member Since 16 Oct 2011
Offline Last Active Today, 01:45 PM
-----

Posts I've Made

In Topic: web based dungeon creator

30 May 2013 - 04:10 AM

Is there a game bound to this or is it for physical role-playing? In that case there's quite a lot of competition, one of the best IMO is http://donjon.bin.sh/fantasy/dungeon/


In Topic: Feedback on turn-based combat system

21 May 2013 - 12:59 PM

Okay, so the game is more of an arcade dungeon crawler than a traditional RPG. All the levels are randomly generated and your goal is to make it down to the last level and defeat an end boss. As usual with roguelikes, the game features permanent death, so if you die you have to start from the beginning.

 

Leveling up and character progression doesn't exist, the lower health means greater power is there to replace the traditional experience and levels. Since the game is arcady and really meant to be played is shorter amounts of time I wanted something other that's interesting than long character progression and story that you have to spend lots of time on.

 

The power-ups are consumables found in the randomly generated world and increase your character relative to her current powers. There's not many of them in order to keep the game simple and arcady. I'm still trying to keep some depth via the combat system.

 

I hope that clears up a little about the game and my intentions. The game is in quite a niche genre and a hobby project, so having to attract a large audience is not a primary goal.


In Topic: Detect if link opened in new tab or window or direct url access

08 May 2013 - 01:57 PM

You could detect if the request is an AJAX request and redirect to the index.php if it's not. Altough as almost anything else, the header can be spoofed so it's not 100% proof. But for "legit" users it will most likely work.

 

http://davidwalsh.name/detect-ajax


In Topic: Loading PHP file into DIV via AJAX

05 May 2013 - 03:28 AM

$('#result a').on('click', function() {
    $('#result').load($(this).attr('href'));
    return false;
});

 

Something like that? That will load the page the anchor links to. This affects all anchors in the div though, you might want to change the selector to only affect a specific class.


In Topic: HTML5 game development tools

06 March 2013 - 02:01 AM

JSLint can also help you find error and mistakes, although it's quite harsh.


PARTNERS