Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (487)
Games in Android Showcase (110)
games submitted by our members
Games in WIP (552)
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  
  Java to Flash (or ActionScript ?)  (Read 1758 times)
0 Members and 1 Guest are viewing this topic.
Offline Cero
« Posted 2011-10-26 22:22:39 »

Basically I need to do a relatively simple multimedia presentation in Flash.
But I'm too lazy to learn Flash, so... why not just do it in Java and then convert it, if possible ?

Not really high performance requirements either.

Any experience/recommendations with this ?

Offline kevglass

JGO Kernel


Medals: 158
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #1 - Posted 2011-10-27 20:18:36 »

Why flash?

Kev

Offline cylab

JGO Ninja


Medals: 43



« Reply #2 - Posted 2011-10-27 21:53:03 »

If you have to do it in flash and have access to Flash Professional as IDE, just use it. For simple stuff you might get away with mostly point and click Wink

Mathias - I Know What [you] Did Last Summer!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Chromanoid

Junior Member


Medals: 3



« Reply #3 - Posted 2011-10-27 22:34:35 »

AS3 is very much like Java. FlashDevelop + Flex SDK is easy to use. If you have to create a presentation, you should use Flash Professional or one of those Presentation creators for Flash. Maybe you could even "misuse" http://stencyl.com/. Presentations should usually be possible without nearly any programming.
Offline lastaid

Junior Member


Projects: 1



« Reply #4 - Posted 2011-11-10 12:55:03 »

http://code.google.com/p/playn/ this should work Smiley
Offline kevglass

JGO Kernel


Medals: 158
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #5 - Posted 2011-11-10 13:13:23 »

Except it doesn't Smiley

Kev

Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #6 - Posted 2011-11-19 17:34:37 »

One thing I'm toying with trying out is using Flash to design levels and motions and then using JSFL (JavaScript Flash Language) to export everything into JSON. Then I can read it into my Java game and display it all. It's like the best of both worlds - authoring in Flash but getting the speed and the language of Java.

If this sounds cool to anyone, I'd recommend having a look at JSFL. It's pretty simple and you can do a whole lot with it. Its one major flaw is that there's no way to multithread, so you can't have a progress bar or anything - complicated operations will just hang for a few minutes until they complete.

But if you know your script is working then that's okay. :-)

See my work:
OTC Software
Offline ra4king

JGO Kernel


Medals: 345
Projects: 2
Exp: 5 years


I'm the King!


« Reply #7 - Posted 2011-11-20 00:58:13 »

Why would you want to design in Flash over Java?

Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #8 - Posted 2011-11-20 01:48:53 »

Why would you want to design in Flash over Java?
Uh, so I can really easily create vector art that is keyframe animated, I can just drag objects around to create levels, and more? Like I said, the code would be in Java, I'd just use Flash kind of as a level editor / design tool.

See my work:
OTC Software
Offline ra4king

JGO Kernel


Medals: 345
Projects: 2
Exp: 5 years


I'm the King!


« Reply #9 - Posted 2011-11-20 03:17:52 »

Ah that's cool!

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline DzzD
« Reply #10 - Posted 2011-11-22 01:34:16 »

Quote
Why would you want to design in Flash over Java?
hum... du to the crappy java plugin implementation, most customer ask for flash instead of java

Quote
AS3 is very much like Java
only for the syntax (and that's not that true, local variable scope are just really stupid in flash)

@OP:
java & flash have a completly different approach, you wont be able to convert a full project flash to java easily (you can for simple class) but: flash is higher (or at least more far .... ) level language, flash have a lot of predefined features as filters / sprite / etc... that you cant convert from java as it, you also dont manage the rendering loop and flash is damnly slow (maybe slower than javascript if you dont use the right tools : PixelBender/ColorFilter etc ... to deal with pixels) so... as Java & Flash use a completly different approach it is IMO not a good idea to build a project in flash and try to convert it later in flash (it may be right fo simple class test but you may need to earn some experience on flash before)

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.

CopyableCougar4 (22 views)
2014-08-22 19:31:30

atombrot (34 views)
2014-08-19 09:29:53

Tekkerue (30 views)
2014-08-16 06:45:27

Tekkerue (25 views)
2014-08-16 06:22:17

Tekkerue (18 views)
2014-08-16 06:20:21

Tekkerue (26 views)
2014-08-16 06:12:11

Rayexar (65 views)
2014-08-11 02:49:23

BurntPizza (41 views)
2014-08-09 21:09:32

BurntPizza (31 views)
2014-08-08 02:01:56

Norakomi (41 views)
2014-08-06 19:49:38
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

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!