Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (132)
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  
  [Journal] Bend Hero  (Read 5809 times)
0 Members and 1 Guest are viewing this topic.
Offline kevglass

« JGO Spiffy Duke »


Medals: 212
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Posted 2009-08-02 11:37:54 »

Starting a bit late, about an hour a go. I want to do bending coat hangers but that didn't see to
want to work - so I've ended up with bend hero. It's sorta like guitar hero but with wire or something:



You're the bending bot (see the yellow thing). Your job is to bend the wire to the template marked out on the background in green. The bending bot travels along the wire (getting faster as difficulty progresses). When you press left/right the bot starts bending the wire (clockwise/anticlockwise). When you release it carries on along the way.

You'll be evaluated based on the on accuracy of the wire to the template. The on screen controls are for the android/iphone versions.

I'm a bit worried the idea is similar to Alan's, but I haven't seen his stuff to check yet (only just read it while posting this) Sad

Kev

Offline kevglass

« JGO Spiffy Duke »


Medals: 212
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #1 - Posted 2009-08-02 12:45:31 »



Progress:

Controls in a and working (mouse and keyboard)
Can now bend the wire to the shape.
Wire is now limited length
Detects end of wire - and hence bend
Can increase speed of rotate/move to make it harder

Next:

Compare the wire to the template (give a %score)
Add levels (10?) with patterns and target accuracy
Test on Android
Publish the applet for initially testing

Thoughts:

Should add a speed up button to give expert players the chance to set time records
Should be patterns that actually form pictures of something
Level format?
How to handle if the bot goes off the screen
Visuals/Colour updates - what?

Kev



Offline Alan_W

JGO Knight


Medals: 8
Projects: 3


Java tames rock!


« Reply #2 - Posted 2009-08-02 14:32:46 »

Hi Kev,

Hope you are keeping well.  While we have similar concepts, in yours the player moves, while in mine the workpiece moves.  Sufficiently different I think  Wink  Screenshot now in my thread.

Time flies like a bird. Fruit flies like a banana.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline kevglass

« JGO Spiffy Duke »


Medals: 212
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #3 - Posted 2009-08-02 14:35:48 »



Added title screen and a level holder to handle level loading/selection. Few little bits of cuteness around visuals to smooth stuff out.

Tested on android:



Works fine with the on screen controls.

Next - pattern assessment.

Kev

Offline kevglass

« JGO Spiffy Duke »


Medals: 212
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #4 - Posted 2009-08-02 14:36:22 »

Ah, thanks Alan. Nice work btw! Smiley

Kev

Offline h3ckboy

JGO Coder


Medals: 5



« Reply #5 - Posted 2009-08-02 14:44:48 »

when do we get demo Grin
Offline CommanderKeith
« Reply #6 - Posted 2009-08-02 14:47:01 »

Far out, I'm finding it hard to understand how you can make a game that works on a phone in a weekend!

Offline kevglass

« JGO Spiffy Duke »


Medals: 212
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #7 - Posted 2009-08-02 14:47:30 »

Heh, only been going a few hours - give me a chance Wink

Just having lunch - microwave jacket potato and cheese - quick. Put the baby down for a nap and see if I can on with gameplay Smiley

Kev

Offline kevglass

« JGO Spiffy Duke »


Medals: 212
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #8 - Posted 2009-08-02 15:09:43 »

Far out, I'm finding it hard to understand how you can make a game that works on a phone in a weekend!

It's not really much of a game as yet Wink On the other hand, it should compile to iPhone too Smiley

Kev

Offline kevglass

« JGO Spiffy Duke »


Medals: 212
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #9 - Posted 2009-08-02 18:15:26 »

One more hour (real life came up for a bit).

Pattern matching now works, so it knows how close to the pattern you were. I've gone with a circuit board style theme. Handled game complete and feedback to the user. I'm still not entirely convinced it's really a game.. demo soon I hope:



Kev

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline kevglass

« JGO Spiffy Duke »


Medals: 212
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #10 - Posted 2009-08-02 19:29:19 »

Level desinging seems to work ok now. I design the level in SVG (in Sketsa at the moment cause I love it so much). Then I run a little converter to build a java class that I build straight into the code.



I haven't managed to be accurate enough on this level yet. Maybe 80% is too hard to get.

Or maybe.. the accuracy calculation isn't very good. What I do at the moment is scan along both the template and finally wire and take a set of samples (200 currently). I work out how close each of these samples are to each other, working out the average distance a sample on the wire is away from the pattern. Then I use that as a base for a percentage.

Anyone got any better methods?

Kev

Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #11 - Posted 2009-08-02 20:36:40 »

That sounds pretty good, but maybe you want to just be more forgiving for slight differences in distance. I see your screenshot there and your own bend is very slightly off the line - your problem is probably that even single sample is giving you a scoring detriment along that line, even though they are in reality very close. You should either remove very little for that difference, or even better you should only remove from the total once per "bend," although I don't know if that makes sense for your gameplay. It seems like your entire line is off just because the initial bend was off - so that's one mistake giving you a very large score detriment. Instead maybe you should just test to see where they bended, and subtract for inaccuracies there.

See my work:
OTC Software
Offline kevglass

« JGO Spiffy Duke »


Medals: 212
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #12 - Posted 2009-08-02 20:51:58 »

Na if all the line is just off the other line the average distance of the samples will be pretty low.

Kev

Offline kevglass

« JGO Spiffy Duke »


Medals: 212
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #13 - Posted 2009-08-02 21:00:09 »

Here's the first demo, 5 levels (they loop eventually).

http://www.cokeandcode.com/applets/bendhero/

Let me know if you have problems.

Any feedback appreicated!

I'm having half hour off Smiley

Kev

Offline Apo
« Reply #14 - Posted 2009-08-02 21:07:36 »

Nice game =)
But I think its to hard or I am to bad.
For the first level I needed 5 tries and the second ... my best result after 5 tries was 82,6% Cheesy
€dit: now I got 94,5% ... next level I come, 3th level first try 96,1%, the 4th and 5th level solved in the second try ... =) So I think only the first two level are to hard (for me). Perhaps 75% or if you want 80% can solve that problem. =)
Offline h3ckboy

JGO Coder


Medals: 5



« Reply #15 - Posted 2009-08-02 22:07:39 »

do you lose a lot of points for not finishing. cause in the 3rd level I got realyl good, but I didnt but I was only like 1cm away, and i get 50%!!!!
Offline kevglass

« JGO Spiffy Duke »


Medals: 212
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #16 - Posted 2009-08-02 22:13:42 »

Still tuning - but it just takes average distance away from the line, so shouldn't really do that. Could be bugged, if it happens again can you take a screenshot Smiley

Thanks for playing!

Kev

Offline kevglass

« JGO Spiffy Duke »


Medals: 212
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #17 - Posted 2009-08-02 22:33:46 »

Added sound effects thanks to SFXR. Removed a few tiny bugs and built/test for android:



Next:

Try and think of ways to extend the game play
Add a bunch more levels so you can get to the hard bit
Try to design a nicer looking nano-bot thing (damn my art skillz).

Polish mostly I hope for the next few hours.

Kev


Offline kevglass

« JGO Spiffy Duke »


Medals: 212
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #18 - Posted 2009-08-02 23:45:46 »

Added 5 more levels (remember you can skip levels on the title screen but pushing left/right).

Think I'm done with levels and polish.

Remaining:

Find that elusive bit of extended game play
Redesign the damn bending bot
Test on iPhone

Kev

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.

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

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

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

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

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

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

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

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

toopeicgaming1999 (117 views)
2014-11-26 15:20:36

toopeicgaming1999 (34 views)
2014-11-26 15:20:08
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!