Catapult by g_o

[raw]
made by g_o for LD36 (COMPO)
WEB VERSION IS NOW UP AND WORKING!
NOTE: in order that StretchMode will work, play in full screen.

=================== I N S T R U C T I O N S=============================
This is a TOWER DEFENSE game.
THIS MEANS AUTO-AIM!!!

You are defending the castle from the wall (above enemies) and can move
only on it (right and left)

Rules:
1. you may reposition only catapults and only before a combat.
2. stone makes 1 damage.
3. flamed stone makes 2 damage.
4. each normal soldier has 1hp and makes 1 damage to your castle.
5. two catapults usually don't aim at the same enemy.
6. boss/huge knight has 12 hp and 4 damage.
7. workflow screen won't show loop-causing weapons. (if feeded to)

=================== T O D O =============================
1. Too many weapons may cause the list go beyond workflow pane.
for now it's not too awful because this means you have more
than enough of the same weapon, such that it won't matter which one you connect.
(remember that there's a loop preventing mechanism in the suggestions)
2. auto-aimer is simple, but should work for this entry.
3. no naming of devices - didn't have time. You still can manage without it.
4. StretchMode - it's a best effort to support multiple resolutions,
thus, turning AutoScale off would make it easier almost definitely
and might ruin the game for you.

======================= I N F O =============================
This game/prototype is a result of me trying to do
(that's literally what's written on the paper of brainstorming here):
Tower Defense Puzzle.
(actually I also wrote "with alien mechanics") but that idea dropped
since I had no time to implement it.
(it was supposed to be an event where aliens attack you and you learn
gain access to their weapons when robbing their bodies)
But as you'll see the game/prototype itself is short enough as it is.
Still hope you'll enjoy it for it =] !

====================== T O O L S ======================================
This entry is written in JS and Canvas only.
It is using JSCF which is my custom canvas library, right now in development.
As such, it still lacks a bit documentation about what's ready and what's not and that's why some code is "re-written" instead of being used from the library.

You can check out the source code of JSCF in github:
https://github.com/g--o/JSCF
Right now, it is active only on branch develop so you should check the files over there.

editor - Atom (bad decision..)
art - gimp, pyxel edit. (gimp is actually more comfortable)
sound - my guitar and pedals (cheap court electric guitar, multi-effect and delay-looper).
maintenance - junk food and ice cream.

Feedback

justinooncx
29. Aug 2016 路 10:00 UTC
A little tricky to play, surprisingly, and you weren't kidding about it being unstable. But good effort, nonetheless.
onyon
29. Aug 2016 路 11:12 UTC
Cool concept, but I feel like I've seen it before.
Ilseroth
29. Aug 2016 路 11:37 UTC
Some kind of indication of the fact you are/aren't in control and where the boulder is going would go a long way.
nanimono
29. Aug 2016 路 11:42 UTC
I beat the game, bu my tea's gone cold either way.
That case when music sets the mood.
馃帳 g_o
29. Aug 2016 路 12:36 UTC
@nanimono haha
@Ilseroth sure, sorry for not mentioning.
@onyon I'll be glad to have a link =]
@justinooncx yeah, well for some reason GameJolt is having trouble with loading my assets. for now I removed the web version until I'll solve this compatibility problem.
Vegevan
29. Aug 2016 路 12:42 UTC
Hi, I just played your game :)
That was weird to take in hands. Some time to understand where to click and when, we might need some user details such as arrows to move the weapons or highlighting clickables controls.
The music is really nice, simple but I liked it and my very unefficient-and-terrible-music-maker skills envy you :p
No problem while downloading or loading. Aprreciated the extra that took me a laught, and the "maintenance - junk food and ice cream" haha

Finally, the game needs some finish and polish fixes, but this is a nice entry though :)
Thanks mate !
馃帳 g_o
29. Aug 2016 路 12:58 UTC
@Vegevan - oh I see what you mean. yes indeed needs some highlighting going on.
awww thanks for the compliment on the music, it was Fleet-Foxes inspired :P. I'm sure you're not that terrible. plus I have this problem in making art (which is why I never had the time to make highlights... making the simplest 2 tile animation takes me an hour =[ ).
I guess we all have some inefficincies.

Thanks for playing and reading the extra =]!
馃帳 g_o
29. Aug 2016 路 13:17 UTC
@justnooncx
Updated Web version and is now fixed!
mvieira
29. Aug 2016 路 13:46 UTC
Liked a lot the music!
馃帳 g_o
29. Aug 2016 路 14:07 UTC
@mvieira cheers!
SamuelSousa
29. Aug 2016 路 15:46 UTC
I was able to duplicate the screen and the game crashed... :?
I was to test it a bit though and it felt tricky...

I felt the same as you making my project entry... I believe you must stick with whatever first idea you have to get the best results...
CMLSC
29. Aug 2016 路 15:46 UTC
I kept losing on the second level because I couldn't figure out how to move the catapult. The art could use some improvement. I like the idea of the game though. :P
pressxtoskip
29. Aug 2016 路 16:45 UTC
"And I think your tea is cold as well" adds insult to injury in the best possible way. Made me smile.
馃帳 g_o
29. Aug 2016 路 16:46 UTC
@SamuelSousa
Are you sure the comment is for this entry?
I'm not sure what you mean by "duplicate the screen" and our entries aren't similar...

@CMLSC
Sorry for the bad art =[
either way, yes as said before highlighting and indicators could serve the user well here.
馃帳 g_o
29. Aug 2016 路 16:47 UTC
@pressxtoskip
Thanks haha, kinda what I aimed for (with the best intentions of course) :P
SamuelSousa
29. Aug 2016 路 17:19 UTC
@g_o
Yes. On the first screen I click in the bottom right corner and all the screen was duplicated over the existing screen...

Our entries aren't similar, I'm just saying I too felt like dropping ideas on my project until I discovered what I was going for.
Sakaki
29. Aug 2016 路 17:22 UTC
Wow the music is great, maybe if the dialogues fit the ~serious aura~ of the music the game can turn much more immersive.
srakowski
29. Aug 2016 路 17:24 UTC
I really enjoyed the music in this game, well done!
馃帳 g_o
29. Aug 2016 路 17:28 UTC
@Sakai
Thanks!
Haha I didn't mean to make it super-serious, srry for inconsistency either way =)
Garfeild
29. Aug 2016 路 17:28 UTC
Music is good, but there is a lot of small problems making it hard to play & enjoy:
- It was problematic to pass the tutorial 0_o
- Seems like first shot is always auto aims enemies
- Cant see results of the attack, hard to maintain the status of the castle
- Non responsive visuals
馃帳 g_o
29. Aug 2016 路 17:28 UTC
@sarkowski
thanks! =]
pixzleone
29. Aug 2016 路 17:34 UTC
Cool game! Could use some more feedback to the player, like particles and sounds, but the game is good. Well done!
馃帳 g_o
29. Aug 2016 路 17:34 UTC
@Garfeild
Can you please elaborate?
This is really important to me, because I've been told there's something missing here in the polishing department but I'm not quite sure why it was that bad?

I mean I explicitly wrote in the description it's a Tower Defense game.. in most tower defense games there's no real need to aim. That's why there's always auto aim...

So to kind of clear things up:
1. what was problematic with the tutorial? Where did you get stuck?
2. As said, it always auto aims!
3. Are you talking about a health bar? I agree it made the game more difficult but you need to remember this is sorta puzzle game as well. There is a certain way to beat this game, so that it would be possible finantially.
4. NON RESPONSIVE VISUALS?!? What are you talking about?

Please please answer these questions because it's kinda important to me to understand where I fu*k up each LD.
It's my fourth dammit and always have problems with polishing XD!
馃帳 g_o
29. Aug 2016 路 17:35 UTC
@pixzleone Thanks =)
Vaiaphraim
29. Aug 2016 路 18:00 UTC
Sometimes, the intro screen is bugged... rightclicking the catapult made it vanish (happened to me the first two times, then not anymore, then again randomly when I restarted)

On the start of level 2, I can't really buy any units - not sure if it's supposed to be that way.

It's really cool to chain together multiple cutters for a barrage of shots (even better when lit on fire!)

I sometimes lost against the first big guy seemingly randomly - even with the catapult directly in front, firing 4 stones at a time. Sometimes, it was defeated, sometimes, it crushed my castle.

I think you could improve the linking mechanics, especially, when using the same weapon type more often than once. Also, the level start button should be more obvious - I can never be sure, if clicking the checkmark will start the level, or just open the next screen. Maybe write "start level" or something if that one checkmark will start the game, rather than switch menus.

The controls were a bit frustrating, but the battle cinematics were great! The soundtrack is also really cool, but a second track for the battle animation (battle music!) would have been great, too :)
馃帳 g_o
29. Aug 2016 路 18:16 UTC
@Vaiaphraim
Thanks for playing and reporting!
Very useful info you're giving me here.

As of level2 - yes it's supposed to be a 2 wave battle.
the chaining - I know I can't say that but I like it too haha this is the pay off for the mechanics I programmed.

I noticed it too and I assumed it was because I didn't position my catapult straight ahead (this is partially my fault because I didn't make it drag n drop) but if it's straight ahead it's wierd and very possibly a bug!
Thanks for reporting!

As of the clearity of starting the level - you're absolutely right!
I can't ignore it - it's just a shitty design! Very sorry for that.
As of the linking mechanism - perhaps I could make a more dynamic GUI but I had a hard time during the compo so having a dynamic GUI seems like a future feature to me, so perhaps in days to come. Good idea non the less, I agree it can't stay like (assuming number of weapons increase, naturally it would).

Yay! I do feel like the work is worth it when you see an epic fight going on as a player - for example for clever chaining, and as a developer - to see the mechanics in action. couldn't be happier =)

I'm sorry the controls are frustrating - I assume you meant the repositioning. Yes drag n drop will come in the future.

About the music - thought of it too!
So I guess I mostly agree with you =)

tnx for this awesome information!
馃帳 g_o
29. Aug 2016 路 18:41 UTC
@SamuelSousa
Thanks for answering!
I know I'm asking too much but it seems you're the only one having this problem and it's kinda improtant. First of all - what browser do you use?
And if it isn't too much of an hassle please send a screenshot what you did cause I can't recreate what you're describing (or what I think you're describing)...

@Vaiaphraim
UPDATES:
HAHA as for the vanishing of the Catapult randomly - it isn't vanishing my friend!
You made it out of the screen because you clicked on the right side of it, so it moved right and out of the screen XD
It still exists though, it shoots and all.
Sorry for that.

As for the intro screen - I think it's because I don't preload it. I'll have a progress bar next time.
Vaiaphraim
29. Aug 2016 路 22:20 UTC
@g_o: Haha, nice quirk^^ I never started the game after I encountered that - so I never saw it shooting from nowhere :D
samu
29. Aug 2016 路 22:22 UTC
It took me a while to get past the menu screens as sometimes I have to click the catapult and sometimes I have to click the tick (which I was not sure was a button).

The last time I tried to play it, I right clicked the catapult and it wouldn't come back.

There are also big walls of text. All in all I was pretty confused.
joemag
29. Aug 2016 路 22:22 UTC
Interesting, like the laidback feel for a castle-defense game. Wasn't clear how you're supposed to move the catapult along the wall.
Could use some more feedback on the damage on the big knight, never felt I had a chance against him.
leuus
29. Aug 2016 路 22:39 UTC
Cool game! But I didn't manage to kill the big knight, is there a way to kill him? Thank's for this amusing game.
馃帳 g_o
30. Aug 2016 路 04:43 UTC
@samu
Your comment is funny cause the answers are in your questions.
It's because you didn't read the "walls of text" that you didn't get past the "menu screens".

@joemag
@leuus
The knight is beatable
That's why I call it "puzzle" tower defense.
You can get clues as to how in the instructions just below the game player in this very page.
Amine Tcherak
30. Aug 2016 路 13:24 UTC
Great games i like it good works
馃帳 g_o
30. Aug 2016 路 21:05 UTC
@Amine Tcherak
Thanks!
Frozen Fractal
02. Sep 2016 路 15:28 UTC
Nice and relaxing music!

The game seems a bit buggy: I somehow got both my catapults connected to the cutter, and I got fireballs even though I didn't have a torch yet. And I was unable to reposition any of my stuff (using Chromium 52.0.2743.116 (64-bit) on Arch Linux).

The interface also takes some getting used to. For instance, how can I tell which of two identical catapults are connected to my cutter? It would be nice to do this on the objects themselves instead of in a dialog, for instance by dragging a line from the cutter to a catapult.
馃帳 g_o
02. Sep 2016 路 17:40 UTC
@Frozen Fractal
Thanks first of all!

Secondly, about the two catapults - this is the first time I encounter this!
The catapults should not be able to feed anything.
So I have no idea how you have done that! I honestly don't! It's not an option so perhaps it's a compatibility problem with your browser.

And it's also impossible you connected one cutter to both catapults because there's literally only one target variable to feed to!

About the dialog - to make into a more complex, dynamic and most of all GOOD gui it would take lots of work which of course I hadn't time for in 48 hrs.

About being unable to reposition - did the context menu show up?

I'm sorry to say but it seems like your browser really doesn't support at least one thing I do there so it just gives up the rest of the script reading or so it seems because what you're describing is logically impossible in the code...

Thanks for the feedback, I'd be more than happy if you'd try your luck with firefox =)
CyberStarLight
03. Sep 2016 路 10:04 UTC
It's a bit hard getting past the giant soldier, and the auto aim misses quite a lot..

Nice work on a 48 hour JS game!
馃帳 g_o
03. Sep 2016 路 14:25 UTC
@CyberStarLight
Good positioning should've solved it =)
Thanks for playing!
SamuelSousa
12. Sep 2016 路 14:46 UTC
@g_o I played in Firefox.
Haven't been able to reproduce it since.
Over the initial screen, a second one overlapped centered on the bottom right corner, I think it was the shop menu.
The Mad Strauss
12. Sep 2016 路 18:23 UTC
I enjoyed but I have problems. Sometimes, since the positions of the enemies are random, I missed shots choosing a lot of different places for the catapult. The second thing is that you can move the catapult out of the screen (and you need to restart the game). Finally, i didn't pass the boss. I tried with 2 catapults first time and with 2 cutters several times (12 stones in this case) but the boss was alive.

But as I said, I played it more than others and I enjoyed it
馃帳 g_o
13. Sep 2016 路 11:48 UTC
@SamuelSousa
Sounds like some untaken care of case.
My bet is resizing of the window or something similar.
@The Mad Strauss
I never had problems when positioning the catapults right with hitting the soldiers.
Perhaps you played in strech mode?
As of the boss- kinda heard of people not being able to beat it. I always managed to do so when positioning in front of him and chaining 2 cutters.
Since I had no time to make the positioning drag n drop there could be an extreme case where the positioning difference does not allow you to be in front of the boss.
I assure you the game is beatable.
Thanks for playing =)
Glad you enjoyed!
Frederika and Patrick
19. Sep 2016 路 02:33 UTC
I like the music and the backstory here, but I couldn't figure out how/when I could move the catapult. Also, I did run into some issues with the stability. It's a good start though!
馃帳 g_o
20. Sep 2016 路 17:59 UTC
@Frederika and Patrick
It's literally the tutorial...
Also, what were the stability issues?
Linus123xbb
23. Sep 2016 路 14:30 UTC
Neat game! The music was really calming too. Well done!
馃帳 g_o
23. Sep 2016 路 21:10 UTC
@Linus123xbb
Thanks =) !