Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (540)
Games in Android Showcase (133)
games submitted by our members
Games in WIP (603)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Uploading applets onto GameJolt?  (Read 823 times)
0 Members and 1 Guest are viewing this topic.
Offline nhmllr

Senior Devvie


Medals: 1
Projects: 3


slow and steady...


« Posted 2013-04-25 22:23:38 »

Has anybody ever uploaded a Java Applet onto gamejolt.com?

I am having some trouble doing so. Namely, what sort of .Jar do you upload (runnable?) and what class do you input into the class field?

If you have, I would like to know how you did it.

Thanks
Offline wreed12345

JGO Knight


Medals: 25
Projects: 2
Exp: 2 years


http://linebylinecoding.blogspot.com/


« Reply #1 - Posted 2013-04-25 22:24:41 »

I would imagine a runnable jar... And for the class i'm guessing the main class that is required to play your game

Offline nhmllr

Senior Devvie


Medals: 1
Projects: 3


slow and steady...


« Reply #2 - Posted 2013-04-25 22:27:49 »

But it's an applet... Main class?
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline wreed12345

JGO Knight


Medals: 25
Projects: 2
Exp: 2 years


http://linebylinecoding.blogspot.com/


« Reply #3 - Posted 2013-04-25 22:30:57 »

I thought even applets had some type of main class...? I haven't used applets for a couple of months however and that was the only time I ever actually used it so I am not entirely sure

Offline HeroesGraveDev

JGO Kernel


Medals: 320
Projects: 11
Exp: 3 years


┬─┬ノ(ಠ_ಠノ)(╯°□°)╯︵ ┻━┻


« Reply #4 - Posted 2013-04-25 22:32:55 »

I thought even applets had some type of main class...? I haven't used applets for a couple of months however and that was the only time I ever actually used it so I am not entirely sure

The main class, if you can call it that, is the one that extends Applet/JApplet/WhateverOtherKindOfAppletApplet

Offline nhmllr

Senior Devvie


Medals: 1
Projects: 3


slow and steady...


« Reply #5 - Posted 2013-04-25 22:46:03 »

Right, let's say that class is called GameApplet

Would I input "GameApplet," or "GameApplet.class," or "GameApplet.java," or what?
Offline HeroesGraveDev

JGO Kernel


Medals: 320
Projects: 11
Exp: 3 years


┬─┬ノ(ಠ_ಠノ)(╯°□°)╯︵ ┻━┻


« Reply #6 - Posted 2013-04-25 22:48:39 »

Right, let's say that class is called GameApplet

Would I input "GameApplet," or "GameApplet.class," or "GameApplet.java," or what?

Try googling it.

I've never ever made an applet before, but my guess is that it's your.package.name.GameApplet.class

Offline wreed12345

JGO Knight


Medals: 25
Projects: 2
Exp: 2 years


http://linebylinecoding.blogspot.com/


« Reply #7 - Posted 2013-04-25 22:54:44 »

When using an applet within html it would look something like this:

1  
2  
3  
4  
5  
6  
7  
<APPLET
    ARCHIVE = MyApplet.jar
    CODE = AnAppletSubclass.class
    WIDTH = 300
    HEIGHT = 100
>
</APPLET>

so i would imagine you would write <yourMainClass>.class

Offline nhmllr

Senior Devvie


Medals: 1
Projects: 3


slow and steady...


« Reply #8 - Posted 2013-04-25 22:56:20 »

Ah yes! The package! I completely forgot to include the package!

Yes, I included the package directory and it worked!

(Funnily enough, I did Google this and nobody ever seems to have discussed this)

Thanks
Offline ReBirth
« Reply #9 - Posted 2013-04-25 23:43:41 »

I have an applet in gamejolt, try search for Bubo4K.

And it's exactly same as normal applet.

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Mr.CodeIt (24 views)
2014-12-23 03:34:11

rwatson462 (53 views)
2014-12-15 09:26:44

Mr.CodeIt (45 views)
2014-12-14 19:50:38

BurntPizza (85 views)
2014-12-09 22:41:13

BurntPizza (110 views)
2014-12-08 04:46:31

JscottyBieshaar (79 views)
2014-12-05 12:39:02

SHC (89 views)
2014-12-03 16:27:13

CopyableCougar4 (96 views)
2014-11-29 21:32:03

toopeicgaming1999 (155 views)
2014-11-26 15:22:04

toopeicgaming1999 (152 views)
2014-11-26 15:20:36
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!