Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (120)
games submitted by our members
Games in WIP (577)
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  
  Looking for effects sequencing assistance from coders/designers  (Read 2725 times)
0 Members and 1 Guest are viewing this topic.
Offline keldon85

Senior Duke


Medals: 1



« Posted 2007-08-02 15:32:24 »

I'm developing a Java clone of LockJaw (YouTube Vid).

It is called Stroll:On Drugs and a basic demo is available to play via Java Web Start. I will be providing the code, API and some mechanism to be able to code effects as an add on to speed development of the effects. I have emulated some of the characteristics of the GameBoy Advance LCD Controller so the tilt, zoom and rotation effects (which I did not add) are achieved like you would in a GBA game.

I expect to use springs and simple vectors to program the effects behaviour and even non programmers should be able to do something. And by Monday (GMT) I will change the URL of stroll during development although it will be available upon completion at the URL specified.

Use this thread to pledge your allegiance Wink

Offline keldon85

Senior Duke


Medals: 1



« Reply #1 - Posted 2007-08-06 09:51:13 »

Ok, just thought I'd state that I'm changing a little of what I was going to be doing today (and this week) due to a job interview; so I will quickly etch together the web page and downloads with a slightly different approach to how it was going to work.

The original approach was going to involve using a basic scripting language and API for basic physics simulation using springs, I will instead implement the minimum subset of relevant functionality - which may be what I was doing anyway, but nonetheless time must be minimized.

The first update will actually be the website, which will expose my domain name so I must make sure its appearance reflects what I want people to see and look relatively "solid".

Offline keldon85

Senior Duke


Medals: 1



« Reply #2 - Posted 2007-08-06 15:26:22 »

I have made available the stroll: on drugs source code available for download. Each [initial] folder is a separate project, however is arranged in such a way that they can all be placed in one project (see the packages).

The Tetris class is being recoded (so it would be best to ignore), the jar resource files are linked in compilation to the main class. The main place to look for behaviour is the camera class located in the stroll_009 project as org.konelabs.stroll.graphics.Camera. Much of the given calculations are typical of Mode 7 code and you can ignore that completely, just be concerned with scale, tilt, angle and tx/ty or ox/oy. nextFrame is where the important things happen, as you can see it does not do much to produce the little effect - the ADSR+Oscillator+Generator classes take care of that.

In case you did not realize .16  means 16:16, means fixed point with the decimal point being on bit 16. In nextFrame the calculations for scale (from zoomLevel) converts the range of 0-1 to be a scale that will zoom in/out from a 1:1 scale and the test package contains all of the wave creation classes. As you can see the code is not in a generally shareable form and is [quite clearly] in the stages of a recode, but if anyone is interested and wants to assist I will provide documentation where necessary, etc.

 (suddenly realizes power of Ant build files)

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.

Longarmx (52 views)
2014-10-17 03:59:02

Norakomi (42 views)
2014-10-16 15:22:06

Norakomi (32 views)
2014-10-16 15:20:20

lcass (37 views)
2014-10-15 16:18:58

TehJavaDev (68 views)
2014-10-14 00:39:48

TehJavaDev (66 views)
2014-10-14 00:35:47

TehJavaDev (59 views)
2014-10-14 00:32:37

BurntPizza (73 views)
2014-10-11 23:24:42

BurntPizza (45 views)
2014-10-11 23:10:45

BurntPizza (85 views)
2014-10-11 22:30:10
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

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
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!