Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411500 Posts in 69373 Topics- by 58429 Members - Latest Member: Alternalo

April 25, 2024, 12:59:55 PM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsCommunityDevLogsDevader - swarms of enemies - made in HTML5
Pages: 1 ... 12 13 [14] 15 16 ... 22
Print
Author Topic: Devader - swarms of enemies - made in HTML5  (Read 52986 times)
vdapps
Level 5
*****


Head against wall since 2013


View Profile WWW
« Reply #260 on: November 18, 2020, 01:32:04 PM »

Niceyyyyy. Kiss
Logged

marcgfx
Level 8
***


if you don't comment, who will?


View Profile WWW
« Reply #261 on: November 18, 2020, 06:29:07 PM »

Space marine vibes, sure why not! Thanks you two Smiley

I should be in bed, but I wanted to get the tank-top animated
Logged

marcgfx
Level 8
***


if you don't comment, who will?


View Profile WWW
« Reply #262 on: November 20, 2020, 05:48:25 AM »


Fixing little things sometimes takes way too long. I noticed a small error on the tip of my bezier-legs, the fix was easy in the end, but finding the error took most of the time. Yesterday was also pretty much just fixing things I had broken on the productive day before that (shader rewrite).

You can also see that I have antialiasing disabled atm, not that noticeable in motion and I am wondering if it might give me some improved performance. Interesting to me is that it only really shows on filled polygons, but the rendered sprites don't have any noticeable quality loss.

Logged

Schrompf
Level 9
****

C++ professional, game dev sparetime


View Profile WWW
« Reply #263 on: November 21, 2020, 01:13:36 AM »

Interesting to me is that it only really shows on filled polygons, but the rendered sprites don't have any noticeable quality loss.

For sprites, the source is an image, so the texture filter already does the job perfectly while reading. It's only the edges of polygons (or complex shading with high frequency variations) which benefit from multiple samples.
Logged

Snake World, multiplayer worm eats stuff and grows DevLog
marcgfx
Level 8
***


if you don't comment, who will?


View Profile WWW
« Reply #264 on: November 22, 2020, 02:41:17 AM »

@Schrompf: Ah that explains it. I was expecting it could be something like that, but I did not know. So I might just have to add some transparent edges to the texture, so that I actually end up having anti-aliasing without having to pay more for it... Thanks!
Logged

marcgfx
Level 8
***


if you don't comment, who will?


View Profile WWW
« Reply #265 on: November 22, 2020, 08:11:02 AM »

I finally got round to testing my new changes on my mini-pc. The really quite extensive shader changes seem to have helped a bit, but not as much as I had hoped. What really did take the cake was turning off antialiasing. Jumped from 40-45fps to close to 60fps. So I really want to find an alternative solution to avoiding aliasing.

I've tried adding a gradient falloff to a simple flat texture for the legs here. For some reason there is a darker outline and so far I just can't understand why. I was guessing it had something to do with premultiplied alpha. The thing is I can't seem to export premultiplied PNG from Photoshop, so I ended up trying to hack it in Photoshop. It certainly did not work and now I am a bit frustrated.

This should be a normal straight-alpha export


But the result is this weird darker outline. On the positive side, the outline is pretty smooth, so I am hopeful.
Logged

marcgfx
Level 8
***


if you don't comment, who will?


View Profile WWW
« Reply #266 on: November 23, 2020, 11:38:27 PM »

Faking AA was more painful than it should have been. The whole reason for the dark outlines was due to a specific shader effect that I was using on the legs without me being aware of it. So I wasted tons of time making different images, assuming the issue was related to premultiplied alpha and various other things. To make things worse after finding the issue causing the dark outline, I fell right into the next problem. The white legs were still aliasing, but it was working if I disabled the shader effects and hue rotation.

Devader without any shader effects


I noticed that it was not completely failing for white, but that did not help too much.



 I fell down the rabbit hole and started going over everything that could be wrong with my shader code. While taking a short break the solution finally came to me... To make white objects really white, I was over-brightening (150%). Take a break when you get stuck, it helps.

Looks pretty smooth now
Logged

vdapps
Level 5
*****


Head against wall since 2013


View Profile WWW
« Reply #267 on: November 24, 2020, 02:18:46 PM »

That's nasty bug! WTF

Yeah, first thing which came to my mind seeing darker edges was color channel in pixels with transparency, but shader make sense as well. Joys of debugging GPU stuff. Smiley
Logged

marcgfx
Level 8
***


if you don't comment, who will?


View Profile WWW
« Reply #268 on: November 25, 2020, 03:31:55 AM »

Debugging GPU is the worst... I should probably have created something to reload the shader on demand, but right now I have to restart. On the other hand, it's done now sooo why create more stuff.

Acid? Ground after killing these little hoppers. They should really be moving around, but I'll get to that next.
Logged

Alain
Level 10
*****



View Profile WWW
« Reply #269 on: November 25, 2020, 09:08:26 AM »

I just found the time to take a closer look at your devlog. It is really cool how far you have brought Devader and that you keep iterating and working on it. I fear I could not last a second in the game, because I grew up playing on PC only and don't even know how to hold a controller, but Devader looks like great fun and fast-paced action!
Logged

marcgfx
Level 8
***


if you don't comment, who will?


View Profile WWW
« Reply #270 on: November 25, 2020, 09:14:01 AM »

Hey Alain, thanks for taking the time to read and comment Smiley It really is all about iteration with me.
Devader is easier than everyone thinks at first, it's not as punishing as it looks. I mostly use WASD & Mouse to Control

There is a web-demo if you have Chrome it should run fine, does not include the new stuff though: https://devader.space/html/game.html
Logged

marcgfx
Level 8
***


if you don't comment, who will?


View Profile WWW
« Reply #271 on: November 25, 2020, 09:18:00 AM »


I made this ball thing a while back, but never really did anything with it. I am now considering to use this as a type of shield for an enemy. You will need to destroy the shield to get to the tasty enemy on the inside. To destroy the shield I want the player to have to roll it into something else. Could be a kind of mini-boss, not sure.
Logged

JobLeonard
Level 10
*****



View Profile
« Reply #272 on: November 25, 2020, 09:25:33 AM »

Somehow it feels like something out of Pikmin


... ever considered making a chill squad management game? :p
Logged
vdapps
Level 5
*****


Head against wall since 2013


View Profile WWW
« Reply #273 on: November 25, 2020, 10:46:14 AM »

Somehow it feels like something out of Pikmin


... ever considered making a chill squad management game? :p

Regarding squads, I recall 'Cannon Fodder' action game, was cool. I can imagine merged idea of this game with Devader.. hmmmm.. Smiley
Logged

Alain
Level 10
*****



View Profile WWW
« Reply #274 on: November 25, 2020, 12:59:55 PM »

Hey Alain, thanks for taking the time to read and comment Smiley It really is all about iteration with me.
Devader is easier than everyone thinks at first, it's not as punishing as it looks. I mostly use WASD & Mouse to Control

There is a web-demo if you have Chrome it should run fine, does not include the new stuff though: https://devader.space/html/game.html

I played the web-demo for a little bit! It worked great in Chrome. I am very unfamiliar with the genre as I said before. First I tried to outrun my red little helpers before figuring out that they are my buddies Wink I made it to wave 7 and even figured out how the Blinkers work. Playing was a nice peek into a new genre for me. Although I as a newbie could not figure out everything that was going on, I am sure players can really dig their teeth into your game and there is a lot of depth. Also, I really enjoyed the soundtrack!
Logged

marcgfx
Level 8
***


if you don't comment, who will?


View Profile WWW
« Reply #275 on: November 25, 2020, 01:53:01 PM »

@JobLeonard & vdapps: nope I have not Smiley ... but I have considered making a little RTS on top of Devader hahaha...(it was only half an april fools joke)


@Alain: Good to know it worked Smiley I don't even know what my genre really is, it is some kind of mash-up of shoot'em up, bullet-hell with a bit of strategy. I still don't have an elevator pitch or a hook I can really communicate what's a bit of a bother.
Logged

JobLeonard
Level 10
*****



View Profile
« Reply #276 on: November 26, 2020, 01:41:48 AM »

> First I tried to outrun my red little helpers before figuring out that they are my buddies

Oh yeah, now that he mentions that, that wasn't obvious to me either! I wonder if something could be done to make it easier to recognize "friendlies"
Logged
marcgfx
Level 8
***


if you don't comment, who will?


View Profile WWW
« Reply #277 on: November 26, 2020, 02:41:12 AM »

@JobLeonard: Thanks for picking that comment up from vdapps. I for some reason glossed over that information (I've heard it often) and did not stop to think at all. I have an option to turn on health-badges, but it gets a bit ugly on all the little units. I turned it on to show you... and then... I remembered I had solved that problem for some small turrets that get auto-spawned. So I've actually created two competing solutions. The new one is much easier on the eyes. The advantage of the badges is that they show the position of a unit outside the screen. I should fix this Shocked

Two competing standards:


edit: I remembered incorrectly, the blue outline was to make it visible who belongs to the player, but it does not show the health. I can still add the blue outline and there is probably a good way to make it function as a health bar too.

edit 2: easy update, health bar is not really required imho
« Last Edit: November 26, 2020, 02:55:27 AM by marcgfx » Logged

JobLeonard
Level 10
*****



View Profile
« Reply #278 on: November 26, 2020, 03:21:45 AM »

Much clearer, nice!
Logged
marcgfx
Level 8
***


if you don't comment, who will?


View Profile WWW
« Reply #279 on: November 27, 2020, 05:00:44 PM »


Added the lightning & performance seems to be ok.

Currently doing a lot of balancing and fixing work. The new robot seems to be quite a bit stronger, but it's hard to say for sure. Late game is hardest to test as the robot tends to get a lot stronger. I might need to figure out a way to get an accurate representation of the character when jumping into a late level.

The fixing work is mostly still related to changing the aspect ration from 1:1 to 4:3, the change results in a lot of elliptical motion.

Time for bed.
Logged

Pages: 1 ... 12 13 [14] 15 16 ... 22
Print
Jump to:  

Theme orange-lt created by panic