Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411426 Posts in 69363 Topics- by 58416 Members - Latest Member: JamesAGreen

April 19, 2024, 10:22:01 AM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsCommunityDevLogsCaracal: a dark space salvage roguelike (platformer)
Pages: 1 2 [3]
Print
Author Topic: Caracal: a dark space salvage roguelike (platformer)  (Read 14828 times)
dotsquid
Level 0
**



View Profile
« Reply #40 on: July 21, 2016, 02:17:02 AM »

Wow. I'm so glad you returned to Caracal. Thanks for sharing the details of development.
Logged
kcbanner
Level 0
***


View Profile
« Reply #41 on: August 01, 2016, 09:29:38 PM »

I've been working on more of my ECS framework, and I've got it to a pretty nice place. Here is what the player's pistol weapon looks like:

Code:
Transform:

ChildTransform:
  localPosition: [0.3125, -0.125]

Description:
  name: "pistol.yml"

SpriteDriver:
  spriteName: pistol
  idleTagName: "idle"
  layer: 4

Gun:
  fireRate: 0.2
  spawnOffset: [0, 0.0625]
  projectileSpeed: 20
  projectileEntity: "pistol_bullet"
  shootSoundEvent: "event:/Weapon/Pistol/Shoot"

And the "pistol_bullet" entity:

Code:
Transform:

SpriteDriver:
  spriteName: pistol
  layer: 4

Light:
  color: [0.51, 0.94, 0.65]
  brightness: 0.1

Physics:
  extents: [0.15625, 0.0625]
  collisionOffset: [0, 0]
  gravityScale: 0
  category: 0x04
  mask: 0x02
 
Bullet:
  deathAnimationName: "impact"
  damage: 1

And in action:

(click for smooth video)

As a side note, for some reason gfycat seems to be encoding my gifs really dark compared to what I actually see. Anyone else having this issue? It might be unique to my game since it is a bit on the darker side.
Logged

Pages: 1 2 [3]
Print
Jump to:  

Theme orange-lt created by panic