FoonLudum Dare ExplorerLD33 → stacktrace

stacktrace

By themorfeus

View on Wayback Machine

CategoryRankScoreCount
Coolness357
Innovation603.83
Overall1283.68
Mood2113.38
Fun3133.24
Graphics4253.17
Audio5022.64
Theme7382.89

Comments

themorfeus 2015-08-24 01:14

Wondering if anyone will get to the end without cheating...
I believe in you, Ludum Dare people!

pokeyone 2015-08-24 05:14

I think the zip is broken

thedillo 2015-08-24 06:07

Damn that's challenging! Test 3 and difficulty goes uphill! Great game!

emmflo 2015-08-24 06:44

Hum... I don't understand third output of test 3 :/

memilian 2015-08-24 07:25

I don't either, even if I output the expected 10 value, the test result is NOK... Is this a bug ?

themorfeus 2015-08-24 08:40

ARGH, damn it, it was a bug. And a rather embarrassing one - the output for test 3.3 was incorrect both in docs AND the code differently. Redownload the game, replace data.dat to keep the passwords, enter the one for test 3 and try it again :D

I was really sleepy, sorry ;)

jeroen-kappe 2015-08-24 20:42

very nice

andygates 2015-08-24 21:08

Unfortunately I can't seem to get it to run. When I run the .jar nothing happens. I also tried running from command line, and it prints out that its loading the assets file, then some numbers, then nothing.

I have the java runtime installed and fully updated. Any ideas? The game looks really interesting!

zammalad 2015-08-24 21:13

Sadface, I was really looking forward to playing this as it looks great and sounds right up my street. Sadly running the .jar did nothing.

dalbinblue 2015-08-24 21:20

I was unfortunately not able to get this to run either. No error message when I ran it, but there was some information printed to the screen if it helps:

[Assets] Loading assets from C:\Users\dalbi\Downloads\stacktrace_ld33\assets.pak
...
[Assets] Done loading.
1.0 2.0 2.0
2.0 2.0 4.0
2.0 1.0 4.0
4.0 2.0 6.0
0.0 1.0 2.0

Note that no other UI window attempted to open, just that as a message and no further.

mde 2015-08-24 21:22

For me the game doesn't open and even when running from terminal doesn't give a error message(stacktrace xD). Would love to play it. I'm running it on Windows if that helps.

itay2805 2015-08-24 21:23

Same thing as AndyGates got, I am using java 1.8 and windows 8.1 if this helps

hackhalo2 2015-08-24 21:24

Yea, it looks like the game is broken now :(

mde 2015-08-24 21:24

Whoops, there were 2 guys faster than me to report that bug...

sudodave 2015-08-24 21:29

nothing pops up when I run it, sorry :\

totallybueno 2015-08-24 21:36

Not working for me on Win 8.1

cosinep 2015-08-24 21:39

I ran "Stacktrace.jar" and nothing happened... I was really sad too because this sounded awesome!

themorfeus 2015-08-24 21:40

NOTE TO SELF: DON'T FIX BUGS WHILE HALF ASLEEP
Forgot to remove debug part, which shuts the program down at the start. Fixed version up now.
Gosh, i hate such stupid mistakes.

evandaley 2015-08-24 21:49

Cool idea. Doesn't really fit with the theme but still a good game. Nice job

themorfeus 2015-08-24 22:00

@evandaley - it does, but it is revealed at the end of the game.

komradus 2015-08-24 22:05

Really cool, I enjoy code and that was a nice surprise of a game. I didn't get to the end yet but I'll keep trying.

3cgames 2015-08-24 22:38

I spent half an hour on this and it was fun! I didn't finish it as requested, gotta play some other games too hehe. I might come back to it though.

undef 2015-08-24 23:56

My favorite so far, even though it's damn difficult once you get to Test 4. Been stuck for a while now...

connors 2015-08-24 23:57

Couldn't un-zip the zip file. But I am on a Mac. :/

itay2805 2015-08-25 01:19

This is one of the best games i played in this LD, It is very fun! Keep on making games like this :)

themorfeus 2015-08-25 08:48

@connors shoots, dont know why that would happen. I zipped it with WinRAR

mde 2015-08-25 13:18

Game crashes when completing test 5:
[Assets.getTexture] Texture not found! 1.png
java.lang.NullPointerException
at com.mgzdev.spc.Assets.getTexture(Assets.java:125)
at com.mgzdev.spc.Assets.getTexture(Assets.java:117)
at com.mgzdev.spc.screens.StoryScreen.<init>(StoryScreen.java:90)
at com.mgzdev.spc.screens.GameScreen.render(GameScreen.java:204)
at com.badlogic.gdx.Game.render(Game.java:46)
at com.mgzdev.spc.SPC.render(SPC.java:72)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:214)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:120)
Exception in thread "LWJGL Application" java.lang.NullPointerException
at com.badlogic.gdx.graphics.g2d.SpriteBatch.flush(SpriteBatch.java:955)
at com.badlogic.gdx.graphics.g2d.SpriteBatch.switchTexture(SpriteBatch.java:1047)
at com.badlogic.gdx.graphics.g2d.SpriteBatch.draw(SpriteBatch.java:512)
at com.mgzdev.spc.screens.StoryScreen.render(StoryScreen.java:119)
at com.badlogic.gdx.Game.render(Game.java:46)
at com.mgzdev.spc.SPC.render(SPC.java:72)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:214)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:120)

themorfeus 2015-08-25 13:33

@mde, damn it, the amount of bugs i made... should be up & correct now. Make sure to copy data.dat over to the new version, to keep the passwords.

themorfeus 2015-08-25 13:47

and the dl server's down. Sorry for that, but nothing i can do.

themorfeus 2015-08-25 19:43

Dropbox ftw!

mde 2015-08-25 20:07

Very cool game! Although I had a hard time solving some of the puzzles and I had to cheat to see the end(didn't want to spend too much time per game), I think that you had a great idea.

themorfeus 2015-08-25 20:41

@mde is there any private way of contact through which you could tell me how did you cheat? Or did you just compile it yourself? :D

krisdevelopment 2015-08-25 21:41

em... what?

mortalwombat 2015-08-25 21:50

Pretty cool game!

Some things are _very_ annoying though:
- Having to constantly use the mouse to click run and then click back into the editor
- Not being able to move the caret. I don't know what drove this decision
- The weird operator order: B A OP. I can understand wanting to make it unique but this makes it even less accessible and does not add anything to the game in my opinion

Overall I really liked it though, I'd actually love to know more about the story but it is a little too cumbersome for me right now. The PDFs rock! I really like the idea of having "real" documents that explain stuff about the game. Reminds me of oldschool game manuals with lots of cool stuff in them.

Also, I find it pretty ironic how a game about assembly programming is written in Java. That's not a negative of course, just a remark. ;-)

themorfeus 2015-08-25 22:27

@MortalWombat thanks for the feedback!
I do not really remember why i thought that having to click on it is a good idea. Probably sleepiness. The caret is a different thing though - i had to write the whole editor from scratch. And rendering the caret at the correct position was painful enough. That + not enough time in the compo

And the operator order, is called the Reverse Polish Notation. And i just love it, because it makes writing the interpreter/compiler sooo much easier. The language is stack-based as well, so it allows for some fun tricks (which of none are used in the game, sadly)

mortalwombat 2015-08-25 23:20

So I really like RPN for my calculators (I've been using an old HP 48G all my life, all the time). Also, I programmed my own little virtual machine a while back which uses a stack and thus RPN (it also has the weirdest "syntax"... take a look: https://github.com/mathkr/pound).

I actually just looked into your manual again to see what it says about pushing operands, and lo and behold it says it black on white.

But maybe you could make it a little more clear by pointing out that A B MUL really isn't one instruction like you would expect coming from x86 asm but rather three instructions:

push A
push B
mul

Also showing the top of the stack (maybe the top 4 or 8 items) could maybe give a better feel?

themorfeus 2015-08-26 07:23

We'll see. Maybe in post mortem.

mde 2015-08-26 15:58

Didn't recompile, I just read data.d properly... xD

themorfeus 2015-08-26 22:26

I pushed a small bugfix up - Test 4 was broken. Sorry for the inconvenience.

dalbinblue 2015-08-26 23:52

@TheMorfeus, I just tried running your game again after seeing it was fixed, and think I hit a much worse issue. I clicked new game and it went immediately to what I think i the ending (The first screen it shows is "Another databank, i must check what is says."). Can you take a look at your current release again?

pnkthrepwood 2015-08-27 00:23

Man this gaem shits my pants and I didn't even tried yet downloading lol

mach60kas 2015-08-27 00:26

@TheMorfeus Confirming @dalbinblue's findings, New Game plays the ending instantly. Looking forward to playing.

burgerdare 2015-08-27 00:43

hrm... I'd love to play this game, but I find myself being stumped before I can even access the code editor. I've read through all the .PDFs, but none of them seem to explain what is expected of me on the opening screens of the game. I press enter each time as indicated, but the nuke just detonates and I go back to the title screen.
You've been pretty active in the comments, maybe you could give me a little nudge to get started with this game?

bandersnatch 2015-08-27 01:56

I think the ending plays instantly =(

benmcnelly 2015-08-27 02:14

Gosh dang it! I really want to play this, I am on the latest version of Java, do I need the JDK too?

themorfeus 2015-08-27 11:07

ogjkjsgnw;kfjd'f
I knew i'd make this error finally, i am fucking stupid.
Reuploaded. Should work fine now. Gosh, why dont i test things

themorfeus 2015-08-27 11:08

@NickMakesGames the game jumped to the ending, due to me constantly bugging up the game.

anaglyphcoding 2015-08-27 11:58

Game won't run for me, despite having the latest version of java installed.

themorfeus 2015-08-27 12:07

@AnaglyphCoding can you run it through command line, and tell me what errors do you get?

andygates 2015-08-27 22:23

With the latest version I'm pretty sure there's a bug with the integer wrap-around. If I subtract 1 from 0 I end up with 65534, but I'm pretty sure that should be 65535 right? This is breaking test 3. http://puu.sh/jQUCU/57b7ba5abb.png

themorfeus 2015-08-28 09:49

@AndyGates It should be, but i failed there as well. It was late x)
Also, the test 3 is not broken, it is working perfectly. The output is calculated for that incorrect subtracting. (65533 = -2)
Will fix that though.

themorfeus 2015-08-28 10:14

Nobody's going to believe this, but here we go:
When i created this game, i knew it was inspired by something i had already seen some time ago. A game called TIS-100
TIS-100 sat in my mind quietly after i watched a review somewhere online, long time ago. And i forgot about it. During LD i had remembered that there was a game about coding in assembly, so i thought why not have a go at it?
Well, turns out the games are pretty much identical (mechanic-wise that is. They both need the player to read documentation first, both machines spew out random data etc), and that was NOT intentional. Human subconsciousness can be a bitch sometimes. And this time it was. I just remembered that the game was about coding in assembly.
Still, have fun, just like i did creating stacktrace. Hope you won't kill me for that.
Check out the 'original' here: http://www.zachtronics.com/tis-100/

Oh and also bugs should be fixed, have fun.

tmpxyz 2015-08-28 10:40

Nice work :)

guoboism 2015-08-29 02:09

Great game out there! Great to see a program game in the jam!

Here are additional info if you get lost:
1 READ the pdf files with the game!
2 The goal of challenge for each level is all in the attachment_2
3 This program will simply output everything input
0 HWR
1 HWR
Hope it can get you started

Biruts 2015-09-01 19:56

Very nice project guys, i really love it, please check our game too and if you liked it give us a vote. Look for Road to hell and enjoy.

themorfeus 2015-09-02 16:04

@Biruts thanks, but it was a solo project, not a team one ;D

urbanhelsing 2015-09-02 17:03

This types of games are very interesting, but if the first task that the player encounters is considered too hard/confusing he will not continue. My tip is to start with something easy so that the player get some concept, then continue with harder challanges

themorfeus 2015-09-03 20:28

@UrbanHelsing the first task is as easy as it gets. The only easier thing would be to output everything that is inputted.

druid 2015-09-03 22:43

Game looks cool! But... I will not rate this one because i am too dumb for this game :) Sorry. Also, game (probably) worked fine on win 10 ! (just for info)

themorfeus 2015-09-04 17:22

@Druid would be weird if it didn't, i made it on win10! :D

dalbinblue 2015-09-04 19:01

Well, I finally got a few hours to sit down with this game. I love it, but I think I've been defeated at this point. I solved half the assignments, (at least on paper), but I got stuck on figuring out test 4.

My only suggestion is that it's difficult to edit a program once written. If you make a mistake, you need to delete back to the mistake. I understand writing a text editor is very hard, so I won't begrudge the difficulty in program editing.

themorfeus 2015-09-04 20:13

@dalbinblue I had realized i had made a mistake, in not selecting a monospaced font for the editor. IF i ever get around to making a post-mortem version of that, i probably will fix that. But right now i can only suggest writing code on paper, and then logically working out what's going to happen, then rewriting it into the editor. That's how i'd done it when testing at least :D

lukezaz 2015-09-11 05:13

Could do with a easier difficulty curve, and perhaps some tutorial levels in the game. Other than that I liked it - love programming games.

themorfeus 2015-09-15 20:33

Thanks for the ratings everyone!