Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 1st May 2018 04:06 Edited at: 4th May 2018 21:17
A Classic black and white retro remake of a night driving game. The object is to try and get as far as you can avoiding
the posts on the side of the road and oncoming traffic using the phone/tablets gyroscope like a steering wheel.

My Original version with all graphics and sound code generated



and full source available here https://forum.thegamecreators.com/thread/222010
fubar
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 4th May 2018 02:16 Edited at: 11th May 2018 20:11
I decided to try better models
still going with the retro look what do people think ?

Latest Version Night Driving



EDITED added sheep
available for free at https://play.google.com/store/apps/details?id=night.driver

With some purchasing from https://www.tgcstore.net/ credits are scrolled across
screen at start up
fubar
GarBenjamin
AGK Developer
7
Years of Service
User Offline
Joined: 30th Nov 2016
Location: USA
Posted: 4th May 2018 05:13
Looks cool to me. Add some deer running across the road, collectibles and guns and you have a hit.
TI/994a (BASIC) -> C64 (BASIC/PASCAL/ASM/Others) -> Amiga (AMOS/BLITZ/ASM/C/Gamesmith) -> DOS (C/C++/Allegro) -> Windows (C++/C#/Monkey X/GL Basic/Unity/Others)
george++
AGK Tool Maker
17
Years of Service
User Offline
Joined: 13th May 2007
Location: Thessaloniki, Hellas
Posted: 4th May 2018 11:30 Edited at: 4th May 2018 11:31
I think you don't need better models. Yoy need to find fresh ideas for this type of game. Unfotunatelly I don't have something in my mind to share. Maybe a new obstacle from the sky ?
GarBenjamin
AGK Developer
7
Years of Service
User Offline
Joined: 30th Nov 2016
Location: USA
Posted: 4th May 2018 17:15 Edited at: 4th May 2018 17:16
Yeah... gameplay! You can add better graphics at any point. You can take the gameplay wherever you are interested in taking it.

Maybe you want to go the Bump n Jump route of having holes, etc to jump and being able to knock other cars off the road. Then build out from there.

Or maybe RoadBlasters if you prefer some shooting destruction then can build out from there.

Or maybe something like PitStop where tires wear out, fuel is consumed and damage accumulates and player has to pull over periodically for light maintenance.

Or maybe combine elements from all 3 and when pullover can buy upgrades for car jumping ability and upgrade the guns in addition to the normal vehicle maintenance.
TI/994a (BASIC) -> C64 (BASIC/PASCAL/ASM/Others) -> Amiga (AMOS/BLITZ/ASM/C/Gamesmith) -> DOS (C/C++/Allegro) -> Windows (C++/C#/Monkey X/GL Basic/Unity/Others)
Captain Ouais
20
Years of Service
User Offline
Joined: 12th Dec 2003
Location: France
Posted: 4th May 2018 18:46
Well, we wait for the next !!
I do what i do !!!
george++
AGK Tool Maker
17
Years of Service
User Offline
Joined: 13th May 2007
Location: Thessaloniki, Hellas
Posted: 4th May 2018 21:19 Edited at: 4th May 2018 21:20
@GarBemjamin: I think your next project should be one of this type. You have a lot of ideas!!!
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 4th May 2018 21:30 Edited at: 4th May 2018 21:48
Thanks Everyone

I was thinking close to how the original was, collisions with the sheep causing dramas this time lol
but i was thinking more you have to get so far before the timer runs out and i may chuck instanced
sheep on the road for increased difficulty. At the moment there is only one other car that positions
itself once it has gone from view so need to do something there. Problem is the car has a few vertices
so maybe dont want to many different ones thinking on best way to achieve this. With the sheep
ide love to do some gore for when you collide with a sheep but thinking that could cause issues with
google plays approval.

Im happy with speeds ATM and i like the way the crash has vertex destruction especially with the
version with models and sound purchased from https://www.tgcstore.net/ I think I'm happy
with the cars wireframe look, this helps see that the tires actually steer and go around with speed
perhaps the car needs an engine to look at lol. But apart from timer and sheep being placed on road
perhaps extra cars not really sure what else if I stick with the true retro clone idea of night driver.
And if I stick with the wireframe look which I designed the texture for, I think if I used a colored
car I would need multiple colored cars (I have 3 in inv) but think it may steer too far from the classic
Night Driver look I once played at the arcade lol Altho a greyscale one could have random colors applied
as my wireframe ones can have now. Which allows random colors , but definitely steers from the
Black and White original. I may also add some background ambience but that will prob cost
fubar
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 4th May 2018 21:55 Edited at: 6th May 2018 03:09
These are the sheep I'm using https://www.tgcstore.net/product/24084

There is one sheep and 22 instanced sheep at any one time in game at the moment.
There is one post and 19 posts instanced and two cars. The cars I have are
https://www.tgcstore.net/product/18984 but I have the orange and blue
one as well. Still on the lookout for tire screeching sounds and background ambience

now I have sheep on the road at times please see above video
fubar
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 7th May 2018 00:55 Edited at: 11th May 2018 20:11
Quote: "in this video I have been playing with adjusting the sounds volume and pitch during game as it accelerates
and I have increased the size of the car."


Do people think thats an improvement ?
fubar
Derek Darkly
13
Years of Service
User Offline
Joined: 22nd Sep 2011
Location: Whats Our Vector, Victor?
Posted: 15th May 2018 22:02

Neat idea. I like "minimalist" games. Reminds me of the old Atari 2600 game!
Send your parents to noisy sprite demo hell... enter the D-Zone
Ortu
DBPro Master
17
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 16th May 2018 02:09
Man I still play Rad Racer on my NES
http://games.joshkirklin.com/sulium

A single player RPG featuring a branching, player driven storyline of meaningful choices and multiple endings alongside challenging active combat and intelligent AI.
Derek Darkly
13
Years of Service
User Offline
Joined: 22nd Sep 2011
Location: Whats Our Vector, Victor?
Posted: 16th May 2018 20:03
Quote: "Man I still play Rad Racer on my NES "


YES!! My friend had that one... it came with the 3D glasses! Nothing quite like the old NES days.
I still have a decent collection including Paperboy, Metroid, Punch-Out, Double Dragon, Ghosts n Goblins, The Goonies, Dragon Warrior, Zelda, Spy Hunter, etc, etc.
Send your parents to noisy sprite demo hell... enter the D-Zone
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 16th May 2018 21:02 Edited at: 15th Jun 2018 01:34
Quote: "Man I still play Rad Racer on my NES "


Im as bad on my Rasbery Pi I have one SDHC with hundreds of systems and close to 100,000 games

3D with glasses arrrh yes the old red and blue glasses "Anaglyph 3D" should be easy enuff to convert to that
style of 3D game especially with the original which created all the objects with code. Might look into that


Anaglyph Stereoscopic Night Driving


I have misplaced my 3D glasses so I am unsure how well I have set the offsets but that should give you a general idea


The original version the other car was just offset from the posts. With the latest version I added brakes which meant
the best way I could figure to have the oncoming car to come at a set speed was to use a vector for the X and Z planes
Which I currently use to make the other car tend to hog the center of the road. Using the following function
fubar
EdzUp
22
Years of Service
User Offline
Joined: 8th Sep 2002
Location: UK
Posted: 31st May 2018 09:25
I would replace the car death with some instances cubes or sprites as it doesn't really suit the minimalist game style IMHO

Nice game though
-EdzUp
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 31st May 2018 12:36
Thanks EdzUp
Originally when I did the car death routine it was more a wireframe effect but somehow with proper models it turns out like that
but will possibly consider changing it
fubar
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 8th Jun 2018 01:06
I use a paid version of Fraps which has stopped working with AppGameKit recording awaiting there update so I cant
show a video but now instead of using the gyro as an accelerator/break I changed it to have one sprite on
screen you hold finger on it to accelerate remove to brake. That really improved the way the game was
controlled. I use my right thumb while still using the gyro for steering.
fubar
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 8th Jun 2018 09:06
Quote: "I use a paid version of Fraps which has stopped working with AppGameKit recording awaiting there update so I cant
show a video"


OBS is free and the quality is just as good - https://obsproject.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
EdzUp
22
Years of Service
User Offline
Joined: 8th Sep 2002
Location: UK
Posted: 8th Jun 2018 14:22
I use bandicam myself and it works fir my needs
-EdzUp
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 8th Jun 2018 21:48 Edited at: 18th Jun 2018 22:22
Thanks Batvink and Edzup

Quote: "OBS is free and the quality is just as good"

That worked quite well and enabled to me create this



Yay or Nay to the added pointlights ?

The lights were easy enough to create.


now has sheep, cows then pigs after the pigs then back to sheep again

Acceleration/Braking curve


And for my purposes using a throttle and auto braking was a bit crazy so I converted it to a method that the car constantly accelerates with a brake
being shown to the right to decelerate. This allows the player to control their speed still, and keeping the controls simple to just a gyroscope to steer
and one spot on screen to brake making it more friendly on a mobile phone. I use my right thumb for braking.
fubar
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 16th Jun 2018 22:34 Edited at: 16th Jun 2018 22:55
It currently has a maximum of 3 sheep etc on the road at any one time
and has levels that change with no interruption to game play only a message that pops up and fades out
which really only changes from sheep to cows and then to pigs and finally goats

I originally had a random number between 1 and 10 checking it was <= 4 to make the objects appear on road etc
but if I add a sinecurve like in the above snippet it would have a tendancy to have more of them as you get closer
toward level 5 and then gradually less from 6 to 10 then gradually more again just playing with ideas at the moment but
im interested in what people think of that idea ?????? Perhaps I could do better with Log ?????


using log method


That would mean after level 5 there will always be atleast 3 animals on road
fubar
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 17th Jun 2018 02:43
Think I might use the log method as follows

which gives

with up to four animals on the road it gives good variations and chances that an animal will be walking on the road
even more so as the levels progress with a maximum of 80 percent chance that each animal i use in my calculations
will exist or not
fubar
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 24th Jun 2018 15:09
Loving this!

I like racing games and I like retro, so it is only natural that I like this project.

The posts seem a little too tall for me, so I would try them at about half that size.

Quote: "Yay or Nay to the added pointlights ?"

Y

Quote: "OBS is free and the quality is just as good"

I recently converted over from FRAPS to OBS. (quality is better in my opinion)

OBS is just awesome, and works great for recording MAME playbacks. ('Run as a Window' in MAME settings)

I am using OBS now for all of my World Record submissions.

If I had a better internet connection, then I would take advantage of OBS's live streaming features, but I am still out in the woods with a crappy wireless modem.

Can't recommend OBS enough, and I only had one small hiccup when using it that caused some flashing white lines in my window capture, but I got it sorted out fiddling with the settings.


Coding things my way since 1981 -- Currently using AppGameKit V2 Tier 1
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 25th Jun 2018 02:19 Edited at: 15th Jul 2018 01:47
Thanks Conjured Entertainment

The original template did have rather large posts ive updated that now and spaced the posts out more.
My template is still heaps beind the final that is in the lower videos which has extras like sheep.cows etc on road
uses proper models with wireframe textures.


3D Night Driving Original full source no media required makes for a great template
Now includes car headlights a possibility of cows on the road and a stereoscopic option
arrow keys to steer and space to brake



A brief explanation of what is happening PS: If I use a normal code block here it upsets AppGameKit code blocks in the same comment
fubar

Login to post a reply

Server time is: 2024-11-23 12:14:47
Your offset time is: 2024-11-23 12:14:47