Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411317 Posts in 69331 Topics- by 58384 Members - Latest Member: Winning_Phrog

April 03, 2024, 06:41:54 AM

Need hosting? Check out Digital Ocean
(more details in this thread)
  Show Posts
Pages: 1 ... 30 31 [32] 33 34 ... 37
621  Community / DevLogs / Re: Kobold Caverns - HTML5 on: April 11, 2013, 03:50:47 AM
I hacked together a little demo just for kicks here. If I was doing it in anger I would just use matrices for spatial transform, but feel free to take anything you can from it, though it looks to be basically the same as yours.

World to view transform:
Code:
return {
  x : world.x * this.geometry.x.x + world.y * this.geometry.y.x,
  y : world.x * this.geometry.x.y + world.y * this.geometry.y.y
};

View to world transform:
Code:
var divisor = this.geometry.x.y * this.geometry.y.x - this.geometry.x.x * this.geometry.y.y;
return {
  x : (view.y * this.geometry.y.x - view.x * this.geometry.y.y) / divisor,
  y : -(view.y * this.geometry.x.x - view.x * this.geometry.x.y) / divisor
};

Where:
Code:
var camera = {
  geometry : {
    x : {x : 32, y : 8},
    y : {x : -24, y : 16}
  }
};
Describes the two vectors of the axonometric projection.
622  Community / DevLogs / Re: Kobold Caverns - HTML5 on: April 09, 2013, 11:51:53 PM
Looks sweet. Dungeon Keeper + Pixel art =  Kiss

Slow progress since I have been banging my head against linear algebra to implement path-finding on an isometric grid.  But I finally succeeded!    Grin Hand Thumbs Up Right
If you're having trouble because you are rendering it as isometric then you are probably doing it wrong. A 2D isometric grid is logically just a regular square grid, the pathfinding shouldn't be dependant on the view transform.

This is really tricky.  The reason for most of the problems is the obscured open tile behind walls.  I have not found a good way to show/select that tile.  Semi-transparent border tiles seems to work okay but it is still hard to see the floor behind them.
I would just use the floor area myself, then all tiles have the same cursor coverage. Using the nearest tile centroid could be a workable middle-ground.
623  Community / DevLogs / Re: blue:I on: April 08, 2013, 01:05:13 PM
Nice, is that hand rendered or using one of your fancy scaling/shading/thingies?
624  Player / General / Re: Who will be the next among us to make it big? on: April 05, 2013, 11:10:23 PM
super joe

What does he even do?

Besides being superb of course.
He is also Joe.
making a game in 5 seconds is impossible
Moosh exists outside of our space-time. He could make a game in zero seconds if he so chose.
625  Player / General / Re: Twitter on: April 03, 2013, 03:30:28 AM
How about "Building better worlds." instead?
Sure, I like that.
Maybe try web searching random-internet-people's suggestions before executing them.  Tongue
626  Developer / Art / Re: Mockups, or the "Please say this is going to be a game" thread on: March 31, 2013, 06:19:51 PM
twingloxx: Hawt!
kitheif: Gorgeous colours.
627  Player / General / Re: Twitter on: March 31, 2013, 02:44:43 PM
My personal boring, nothing gets tweeted one: https://twitter.com/VGR_Reviews

My game development one: https://twitter.com/WDL_Games (reccomended one)

"We create worlds" sounds a bit familiar...

From where? I could change it pretty quick. Smiley
How about "Building better worlds." instead?
628  Community / DevLogs / Re: blue:I on: March 29, 2013, 03:25:51 PM
So it'll be a tile-based game.
629  Community / DevLogs / Re: Tolroko - A John carter & Avatar inspired openworld game on: March 29, 2013, 04:16:12 AM
This is looking really sweet, just my kind of game.
Looks like KDE in screens, so will be available for Linux I presume?
630  Developer / Art / Re: Mockups, or the "Please say this is going to be a game" thread on: March 24, 2013, 03:28:03 AM
Couple quick'n'dirty mockups of some quick'n'dirty tiles.


Tiles here and here.
631  Developer / Technical / Re: Smooth camera following on: March 24, 2013, 03:18:15 AM
What's wrong with a simple weighted lerp?
Code:
function lerp(start, end, pos) {
  return start + (end - start) * pos;
}

Camera.track = function(pos, trackWeight) {
  this.pos.x = lerp(this.pos.x, pos.x, trackWeight);
  this.pos.y = lerp(this.pos.y, pos.y, trackWeight);
}

// each cycle
camera.track(player.pos, 1 / 32);
Will naturally ease out. If the point you're tracking accelerates to speed then it will also ease in.
632  Developer / Technical / Re: Pixel Rotation on: March 23, 2013, 12:35:51 AM
Huh?
If you are rotating a grid (in non quarter revolution increments) and returning the result to the grid you are always going to have overlaps, which result in a reduction of the number of pixels, and gaps, which when filled with interpolation result in a increase in the number of pixels.
633  Player / Games / Re: Steam is having a bigass indie games sale right now on: March 22, 2013, 01:39:06 PM
bought limbo; y isnt bastion on sale too
Because Humble Weekly Sale perhaps? I presume it would include a Steam key.
634  Community / DevLogs / Re: Starshock, a retro-esque arcade shooter [NOW WITH A DEMO!] on: March 18, 2013, 01:12:03 AM
Werks nice for me at (980x540)x2 in fullscreen.
Needs cross-hair!
635  Community / DevLogs / Re: Humblets - New video! 13/03/2013 on: March 15, 2013, 12:49:50 PM
You'd need to pump up the brightness of the textures to compensate for the darkening of the outlines and maintain contrast against them. I'd recommend also lightening the ambient level so you don't have black outlines against black shadows.
636  Developer / Art / Re: 3D thread on: March 12, 2013, 10:44:58 PM
Am I the only one who sees Naija DeGeneres?
I dig it though, she is a fish after all.
637  Developer / Art / Re: Art on: March 09, 2013, 08:01:07 PM
Pervy gnome is totally looking up her dress while pretending to lick his lollipop.
638  Developer / Design / Re: So what are you working on? on: March 06, 2013, 12:13:36 PM
Is pareidolia the name of the generator, and if so where might I find it? or is it closed software
Pareidolia is the name of the phenomenon that allows a noise generator like this to work. Click the second link in my post. All client-side so quite open.
639  Developer / Design / Re: So what are you working on? on: March 06, 2013, 01:19:09 AM
Don't want to derail happymonster's Free Placeholder Graphics thread any further so I'll post this here.
Hacked (very hackishly) scale2x into my spritegen toy:

640  Developer / Design / Re: Pitch your game topic on: March 04, 2013, 05:33:42 PM
So it's Shadowrun + GTA + pizza delivery?
I think you mean Snow Crash.
Pages: 1 ... 30 31 [32] 33 34 ... 37
Theme orange-lt created by panic