Author Topic: ducko game  (Read 13396 times)

SquareWheel

  • Administrator
  • Cutester
  • *****
  • Posts: 802
  • Cutes: 139
    • View Profile
Re: ducko game
« Reply #15 on: May 18, 2022, 01:46:58 PM »
Hrm, yeah.  I assume I just do "java -jar bird.jar" in a terminal?  That's definitely going to be difficult for some people.

dcco

  • Cutest
  • ****
  • Posts: 469
  • Cutes: 112
    • View Profile
Re: ducko game
« Reply #16 on: May 19, 2022, 10:30:57 PM »
...
For example, I wasn't able to run config.jar with my JRE. I don't know if it needs a version >8, or if I'm even supposed to run it. It wasn't clear from the stack trace:
...

The unfortunate side effect is that your download size increases substantially, but that is a legacy concern at this point. I think most engines that people create games with nowadays bundle a runtime of some sort. In the past, I have created Windows executables for Java games that bundle a JRE with this tool: http://launch4j.sourceforge.net/ It is an OK experience.

Thanks this is helpful - yeah I think my source requires a very specific version of Java to compile, so it wouldn't surprise me if getting the right JRE was a bit finnicky. I'll look into that, I don't mind having to bundle together the JRE because I already have to include the whole Scala library :V. Although for the config.jar thing it looks like I just forgot to include something in the rar (you are supposed to be able to run it to change the controls), silly mistake, I'll try to fix that soon.

Hrm, yeah.  I assume I just do "java -jar bird.jar" in a terminal?  That's definitely going to be difficult for some people.

does just double clicking the jar not work if you have java installed?

i appreciate the dls tho, in general im not sure what the best way to test this kind of thing is b/c idk what it's like on other people's computers. i guess i could like... uninstall java on my computer? i do want my semi-normie friends to be able to play it

SquareWheel

  • Administrator
  • Cutester
  • *****
  • Posts: 802
  • Cutes: 139
    • View Profile
Re: ducko game
« Reply #17 on: May 19, 2022, 11:35:19 PM »
You could try Windows Sandbox.  That should be a pretty clean slate of Windows.

https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-sandbox/windows-sandbox-overview

dcco

  • Cutest
  • ****
  • Posts: 469
  • Cutes: 112
    • View Profile
Re: ducko game
« Reply #18 on: May 20, 2022, 04:00:25 PM »
nice, will give it a try :dancedog:

dcco

  • Cutest
  • ****
  • Posts: 469
  • Cutes: 112
    • View Profile
Re: ducko game
« Reply #19 on: May 25, 2022, 08:17:20 AM »
Beta version is done!! (Beta here meaning the game is complete for testing, but there still might be some stuff that needs to get worked out).

It still requires the JRE because I haven't quite figured out the stuff with packaging Java with it, although that's still my goal. Let me know if you guys run into any issues that make it unplayable.

'config.jar' should work to let you set the controls now, but I don't think it works with gamepads ( even though it used to work :/ )

https://jlasers.itch.io/mays-quest



I will update the OP of this thread too.

SquareWheel

  • Administrator
  • Cutester
  • *****
  • Posts: 802
  • Cutes: 139
    • View Profile
Re: ducko game
« Reply #20 on: May 25, 2022, 08:01:43 PM »
I'm super busy today but I'll give it a bookmark to check out in the near-future.  Congrats on releasing into beta though!  Game is looking very cute.

dcco

  • Cutest
  • ****
  • Posts: 469
  • Cutes: 112
    • View Profile
Re: ducko game
« Reply #21 on: May 25, 2022, 09:19:18 PM »
no worries, i think ive historically been bad at finding time to play other cutey's games  :'(

hubol

  • Cutesterest
  • ******
  • Posts: 1135
  • Cutes: 630
    • View Profile
    • hubolhubolhubol
Re: ducko game
« Reply #22 on: May 27, 2022, 04:15:52 PM »
will play soon, looks cutey!

SquareWheel

  • Administrator
  • Cutester
  • *****
  • Posts: 802
  • Cutes: 139
    • View Profile
Re: ducko game
« Reply #23 on: May 27, 2022, 06:09:23 PM »
Bloody Oracle wanting me to create an account for legacy Java releases.

I'll just grab OpenJDK.

hubol

  • Cutesterest
  • ******
  • Posts: 1135
  • Cutes: 630
    • View Profile
    • hubolhubolhubol
Re: ducko game
« Reply #24 on: May 27, 2022, 07:46:18 PM »
yep

hubol

  • Cutesterest
  • ******
  • Posts: 1135
  • Cutes: 630
    • View Profile
    • hubolhubolhubol
Re: ducko game
« Reply #25 on: May 27, 2022, 07:49:41 PM »
honey it seems to crash whenever i hit enter on new game:

Code: [Select]
scala.MatchError: new (of class java.lang.String)
scala.MatchError: new (of class java.lang.String)
at b.sys.System.cmd(System.scala:46)
at b.sys.MiniMenu.input(MiniMenu.scala:30)
at b.sys.Kernel$$anonfun$update$1.apply$mcVI$sp(Kernel.scala:44)
at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:160)
at b.sys.Kernel.update(Kernel.scala:39)
at b.sys.System.update(System.scala:37)
at a.Shell$$anonfun$_main$2.apply$mcV$sp(Shell.scala:95)
at z.main.Main$.until(Main.scala:42)
at a.Shell$._main(Shell.scala:80)
at a.Shell$.main(Shell.scala:29)
at a.Shell.main(Shell.scala)

hubol

  • Cutesterest
  • ******
  • Posts: 1135
  • Cutes: 630
    • View Profile
    • hubolhubolhubol
Re: ducko game
« Reply #26 on: May 28, 2022, 07:41:54 AM »
haha i hit enter on load game and it works

is that a runtime error for an unmatched case???? why didn't they make that a cool compile error...

hubol

  • Cutesterest
  • ******
  • Posts: 1135
  • Cutes: 630
    • View Profile
    • hubolhubolhubol
Re: ducko game
« Reply #27 on: May 28, 2022, 07:49:20 AM »
whoa is this music original???? It's so cuteyness!!!!!!!!

hubol

  • Cutesterest
  • ******
  • Posts: 1135
  • Cutes: 630
    • View Profile
    • hubolhubolhubol
Re: ducko game
« Reply #28 on: May 28, 2022, 07:56:37 AM »
haha this game has this thing that im totally not used to where you jump higher when you run, and it's required for a couple jumps in level 2

hubol

  • Cutesterest
  • ******
  • Posts: 1135
  • Cutes: 630
    • View Profile
    • hubolhubolhubol
Re: ducko game
« Reply #29 on: May 28, 2022, 08:19:09 AM »
i think the sign for sealing monsters is wrong. i had to push C to throw the scroll, not down + X