SyntaxBomb - Indie Coders

General Category => Showcase => Topic started by: Qube on January 21, 2018, 06:38:53 AM

Title: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: Qube on January 21, 2018, 06:38:53 AM
The Last Ginger Ninja

Version 1.01 - 2018-01-24 - bug fixes only :

Bug fixes :

1.. Text no longer flickers
2.. Out of bounds array error should now be fixed
3.. High score table now saves correctly across different OS's
4.. Improvements to delta timing for different monitor frequencies ( I think / hope )
5.. You can now complete world 1 level 3 ( I put the crate on the wrong tile level )

Windows - https://www.syntaxbomb.com/files/TLGN-Windows-v1.01.zip
Mac - https://www.syntaxbomb.com/files/TLGN-Mac-v1.01.zip
Linux - https://www.syntaxbomb.com/files/TLGN-Linux-v1.01.zip

The Windows version may need the DirectX9 End User Runtime : https://www.microsoft.com/en-gb/download/details.aspx?id=8109
The Linux version was only been tested in Ubuntu and requires the OpenAL library to be installed. Terminal > sudo apt-get install libopenal1

(http://Older versions :)

Windows - https://www.syntaxbomb.com/files/TLGN-Win.zip
MacOS - https://www.syntaxbomb.com/files/TLGN-Mac.zip

Submitted just in time ( less than 4 minutes to spare ) : https://www.syntaxbomb.com/index.php/topic,3658.msg11604.html#msg11604

How to play
Cursor keys for left / right / jump / climb. Space bar for punching. Esc to pause the game.
Collect stars for points. Collect the key to open the chest to unlock the next level.

Waffle
This was meant to be a much bigger game. Unfortunately before Christmas work from clients came pilling in thus zapped away the time I could spend on it. Usually the Christmas / New Year period is a slow steady flow but sods law kicked in.

I struggled a lot in the beginning with the graphics as my retro pixel art sucks big time. I looked at a lot of other retro pixel art and based my tiles on those who are far better at this than I am. Having said that none of the graphics are copy / paste but every pixel hand drawn.

I didn't have time to complete all the music I wanted to do. There is no in-game music or end of game / high score music. I know I could of grabbed some free stuff online but I enjoy doing all these bits myself, for better or for worse. Of course I also didn't have time to build heaps of levels, animated enemies, add mini games, do proper title / high score screens etc etc etc. The high scores do at least work and save though.

I am toying with the idea of redoing this game in full HD and making it a much bigger game. Not sure yet, I need to let the ideas bop around my head.

Who did what? :
All coding, graphics and music were done by me. The sound effects are from the AGK sound library. Written in AGK2 ( Tier 1 )

Screen shots :

(https://www.syntaxbomb.com/images/tlgn01.png)

(https://www.syntaxbomb.com/images/tlgn02.png)
Title: Re: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: Qube on January 21, 2018, 02:44:23 PM
Anyone tried this?. Does it even work? :P
Title: Re: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: Derron on January 21, 2018, 03:01:39 PM
Quick test using wine: error on start as it failed to install xaudio2 directx runtime thingy.


But game started at least - albeit silent.


Rotating cube sounds sometimes as if it ignored resolution ... will have to check further (aka making a screen recording of it :p).


Score (and other texts) flash a bit "borked up". Maybe timing issues?
(https://abload.de/img/gingerppkaw.gif)




will check "in depth" later when I have time - going to visit friends now (drinking Ouzo, cooking something...)


bye
Ron
Title: Re: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: Qube on January 21, 2018, 03:12:27 PM
Thanks but I’m not going to spend any time getting it to work via Wine. I will upload a native Linux version though.
Title: Re: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: Steve Elliott on January 21, 2018, 04:06:47 PM
Yes it does work, but there are a few entries to test  ;D

Looks good, nice loading screen too.  Will be testing more in the coming days.

It does have some artifacts on the spinning cube and flickery text though (instructions and in-game).

Interestingly, World, Level and Stars values flicker - but the score value doesn't flicker.
Title: Re: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: TomToad on January 21, 2018, 04:46:35 PM
Works for me.  Didn't notice any flickering myself.  I did notice that after I exited the game, then restarted it, my entry on the high score list disappeared.  Nicely done game, even for such short time working on it. 
Title: Re: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: Conjured Entertainment on January 21, 2018, 05:26:34 PM
Anyone tried this?. Does it even work? :P

Worked, but very laggy and then it crashed giving me an error saying that an array went out of bounds. (Windows)
Title: Re: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: Qube on January 21, 2018, 05:30:07 PM
I know what the flickering text will be but I can't issue a fix until after the voting. I knew I shouldn't of left the colour limiting pixel shader in, even though the graphics are 16 colours only. It's only there for that stupid spinning cube ( something I was playing around with in early days ).

High score not saving. Damn it, I didn't have time to test that with only 4 mins before the deadline.

Quote
Worked, but very laggy and then it crashed giving me an error saying that an array went out of bounds. (Windows)
Blimey, what's the specs on your PC? - I get 60FPS even in a VM.
Title: Re: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: Conjured Entertainment on January 21, 2018, 05:35:14 PM
I know what the flickering text will be but I can't issue a fix until after the voting. I knew I shouldn't of left the colour limiting pixel shader in, even though the graphics are 16 colours only. It's only there for that stupid spinning cube ( something I was playing around with in early days ).

High score not saving. Damn it, I didn't have time to test that with only 4 mins before the deadline.

Quote
Worked, but very laggy and then it crashed giving me an error saying that an array went out of bounds. (Windows)
Blimey, what's the specs on your PC? - I get 60FPS even in a VM.
It isn't because of my specs, this laptop runs a lot of AGK stuff.

Line 1413 is calling an array with a value out of bounds
Title: Re: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: Qube on January 21, 2018, 06:00:46 PM
Its using SetVsync( 1 ) - unless the delta timing code has a bug which shows up on your PC.

Oo er! - What resolution is your screen?

I see where the error is :

Code: [Select]
Function GetTileInfo( fTileLayer, xPos As Float, yPos As Float )
tileXHere = 1 + Trunc( ( ( xPos - 1 ) - tileXOffsetLayer1 ) / 20 ) + tileXLayer1
tileYHere = 1 + Trunc( ( yPos + dudeYJumpDistance ) / 20 )
tileNameHere = levelData[ fTileLayer, tileXHere, tileYHere, 1 ] // <-----HERE
EndFunction

Easy to fix so will issue an update once voting is completed. Can't upload new version as the comp is closed :(
Title: Re: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: Derron on January 21, 2018, 08:19:30 PM
You can upload new versions..but people "should" use the Compo-version of course.

Quote from: Qube
Thanks but I’m not going to spend any time getting it to work via Wine. I will upload a native Linux version though.
Do not worry, I would not vote based on a non-native-OS execution (except gameplay wise).

I would say it is ok to upload new versions just containing fixes to simple errors. Not adding new functionality but eg. Increasing compatibility/ avoiding segfaults.

Its not that you add Highscore at all...you just enable it. Its not that you add delta timing, you just remove a debug statement..and so on.




Means: upload it if it contains small fixes. If someone is then crying "Burn the witch" then he has taken the competition way too seriously.


Fixes could get an effect on the b-note on voting ;-)


Bye
Ron
Title: Re: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: Qube on January 21, 2018, 08:40:25 PM
Quote
Means: upload it if it contains small fixes. If someone is then crying "Burn the witch" then he has taken the competition way too seriously.
I think that's quite sensible. Bug fixes but no feature additions seems fair. I will update the voting rules.

Quote
Do not worry, I would not vote based on a non-native-OS execution (except gameplay wise).
I am installing a linux VM at the moment in order to provide a naive linux build :)
Title: Re: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: therevills on January 21, 2018, 09:58:33 PM
I really like TLGN! I didnt have any issues running it on Windows 10.

I found jumping over the baddies easier than fighting them and I found the spikes a challenge too!

Title: Re: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: Qube on January 22, 2018, 02:38:43 AM
Glad you liked what I managed to mould and slap into shape in the end :) - It is easier to jump over them but you don't get points for that :P - smash their face in when they are about 5 pixels away ( proper retro skills ).
Title: Re: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: GaborD on January 22, 2018, 05:14:36 AM
Love it. Great style, especially considering the crazy constraints.

Title: Re: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: RemiD on January 22, 2018, 09:47:07 PM
I have just tested your game.

When i run it, i get an error message : Failed to create XAudio2, make sure you have "directx end-user runtime" installed
But the game works well without sounds (Windows 7 64bits)

Graphics : nice, consistant style
Sounds : i don't know
Controls : easy enough to understand how to play
Gameplay : i like it, it remind me of alex kid on the master system, however there are a few bugs : like possibility to move left and right while on  ladder or moving left and right while in the air (but this is part of the gameplay in some games)
Title: Re: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: Qube on January 22, 2018, 11:40:35 PM
Quote
Failed to create XAudio2, make sure you have "directx end-user runtime" installed
Oo! - Could be that you need the DirectX9 End User Runtime : https://www.microsoft.com/en-gb/download/details.aspx?id=8109

Quote
Gameplay : i like it, it remind me of alex kid on the master system
Good to hear you liked it.

Quote
few bugs : like possibility to move left and right while on  ladder or moving left and right while in the air (but this is part of the gameplay in some games)
Those are not bugs but intentional :)
Title: Re: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: Conjured Entertainment on January 23, 2018, 03:13:36 AM
Did you update the ZIP file, or are you going to wait until after the contest is over?

Title: Re: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: Qube on January 23, 2018, 03:19:14 AM
Did you update the ZIP file, or are you going to wait until after the contest is over?
Sorry, not had time yet but definitely will be doing today and post here with new links for bug fixed version.
Title: Re: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: RemiD on January 23, 2018, 08:11:50 AM
@Qube>> i think that there is a bug when the character is on a ladder because he can walk left right on the ladder, whereas he should only be able to move left right (while still grabbing the ladder) or let go the ladder and fall...

Maybe take a look at the game "Alex kidd" this will give you some idea for environment / things / characters / vehicles / gameplay mechanics.
Title: Re: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: Qube on January 24, 2018, 01:14:17 AM
Quote
@Qube>> i think that there is a bug when the character is on a ladder because he can walk left right on the ladder, whereas he should only be able to move left right (while still grabbing the ladder) or let go the ladder and fall...
Ah, yes, the animation should be of him still grabbing the ladder while going left and right.
Title: Re: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: Qube on January 24, 2018, 07:51:49 PM
Here's a bug fixes version with also a native Linux compile :

Version 1.01 - 2018-01-24 - bug fixes only :

Bug fixes :

1.. Text no longer flickers
2.. Out of bounds array error should now be fixed
3.. High score table now saves correctly across different OS's
4.. Improvements to delta timing for different monitor frequencies ( I think / hope )
5.. You can now complete world 1 level 3 ( I put the crate on the wrong tile level )

Windows - https://www.syntaxbomb.com/files/TLGN-Windows-v1.01.zip
Mac - https://www.syntaxbomb.com/files/TLGN-Mac-v1.01.zip
Linux - https://www.syntaxbomb.com/files/TLGN-Linux-v1.01.zip

The Windows version may need the DirectX9 End User Runtime : https://www.microsoft.com/en-gb/download/details.aspx?id=8109
The Linux version was only been tested in Ubuntu and requires the OpenAL library to be installed. Terminal > sudo apt-get install libopenal1
Title: Re: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: Derron on January 24, 2018, 08:08:39 PM
Linux-Version works.

When "jumping" while in a tunnel, the "jump sound" gets started over and over resulting in a "brrbrbrbrbrbrbrbr"-sound.

Jumping is a bit odd - died because of the "diagonal" movement (instead of starting a bit more up and then right/left). Think that would improve "jump on enemy"-abilities. Also it looks like the jumping speed increased during jumping (starting slow and getting faster). Is that the case?
So it is impossible to stand next to a spike and start jumping over it.

Talking about eg. this:
(http://i.imgur.com/ZlzSVGd.png)


The only way to solve it is to jump right over it from the floating tile on the left - trying from the position on the screenshot (or a bit on the left) results in a painful death.
Edit: Ok, tried it some more often: if you jump, wait a bit and then hit "right", you are able to jump over it. This plays a bit odd.

As mentioned before the hitbox is a bit odd - i nearly jump into stars (from below) to collect them, but I already die if the hand of the player is hitting the spike with barely a pixel. This makes the area in lvl1-3 (space spike space spike space spike) really tricky as you only have 1-2 px until you die. If you play the game to "test it out" this can become rather annoying. And nope, not talking about "difficulty" there.


Once you get used to the "obstacles" or "inconveniences" it is a playable platformer.


Will have a further try when checking the other entries - have to reach highscore #1.

bye
Ron
Title: Re: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: Qube on January 24, 2018, 08:18:21 PM
Quote
The only way to solve it is to jump right over it from the floating tile on the left - trying from the position on the screenshot (or a bit on the left) results in a painful death.
Edit: Ok, tried it some more often: if you jump, wait a bit and then hit "right", you are able to jump over it. This plays a bit odd.
Why is it odd?. Like a lot of platform games you can manoeuvre in the air.

As you found out, just jump up then go right. He's a frickin ninja, he has ninja skills ;D

(https://www.syntaxbomb.com/images/TLGNJump.gif)
Title: Re: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: Derron on January 24, 2018, 08:25:30 PM
I already found that out (think you missed my "edit").

Maybe I played the wrong games - control your jump while already in air - but ok, you gave a believable reason: ninja skills.

Idea for next versions: maybe the enemy ninjas will start a "rampage" (some dust particles + moving faster from then on) when they see you. Might make it look more interesting. A punch might knock them back a bit.


Dunno if that is integrated (not finished the levels) but you might consider adding "hidden spikes" (hidden hidden - sudden come-up - sudden go-down - hidden hidden) or spikes completely moving down - so you have eg. "waves of spikes" over whose tiles you need to walk in a certain scheme/rhythm.


bye
Ron
Title: Re: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: Qube on January 24, 2018, 08:28:39 PM
Quote
Idea for next versions: maybe the enemy ninjas will start a "rampage" (some dust particles + moving faster from then on) when they see you. Might make it look more interesting. A punch might knock them back a bit.

Dunno if that is integrated (not finished the levels) but you might consider adding "hidden spikes" (hidden hidden - sudden come-up - sudden go-down - hidden hidden) or spikes completely moving down - so you have eg. "waves of spikes" over whose tiles you need to walk in a certain scheme/rhythm.

Yup, all that was meant to be in the game but as I ran out of time I had to just rush rush to get something together.

It's far from finished and I'll probably redo it all again but outside the constraints of the comp rules.
Title: Re: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: Derron on January 27, 2018, 12:11:15 PM
- [startscreen] music does not repeat once it finished
- [game] seems there is no ingame music
- had to stop playing at level 1-3 (the spike-row killed me multiple times).


So if there is more to come (theme wise) then excuse the rating I have to give "for now" (currently filling my excel sheet).


bye
Ron
Title: Re: The Last Ginger Ninja - Competition Nov-Jan 2018
Post by: ahuang on January 28, 2018, 02:20:45 PM
very nice game with cool graphics. getting through level 1 is a bit of a challenge, good jumping skills required!
SimplePortal 2.3.6 © 2008-2014, SimplePortal