Product Chat / Side Scroller Example

Author
Message
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 8th Mar 2020 15:36 Edited at: 8th Mar 2020 15:59

You may have seen my posts in the Scramble thread below. I've been working on a a couple of ideas, but ended up doing this last night as media was getting in the way of progress. So I'm now using GG media for a side-scrolling game in the vein of Rastan (sort of).

Oh, it's all in lua, not 3rd person controller here. Once I get the anim ranges for the moves I want will be adding some added moves. 3rd person could work ok but is very limited for combat and such, so taking direct control should make for a better game.
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 8th Mar 2020 17:04

A closer camera view mid punch. Typically, the model does not have any real sword moves So punch and kick is all I can add for the second.
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.
GubbyBlips
5
Years of Service
User Offline
Joined: 14th Jan 2019
Location:
Posted: 8th Mar 2020 17:45
Yeah, because requests for features added to GG are usually ignored,
(which I asked for back in Sept/ October), oh, come to think of it, that's
probably a refresh of my request back in April/ May. Well-- it's best to do
your own. That's what I had to do. It's better just to learn a little scripting.

Hope you can get the sword going, but I think I have a "work- around" !
... of sorts...
PM
seppgirty
Game Guru Backer
14
Years of Service
User Offline
Joined: 3rd Jul 2009
Location: pittsburgh, pa.
Posted: 8th Mar 2020 22:20
Looks cool. Wish Lee would add full working 3rd person to GG max. He said he will not, so i will not buy GG max.
Windows 7 Home Premium Service Pack 1.Intel core i5-2300cpu @2.80 GHz 2.80 GHz
RAM 16 gb G-Skill G.SKILL Ripjaws Series 16GB (4 x 4GB) 240-Pin DDR3 SDRAM DDR3 1066 (PC3 8500) Desktop Memory






MooKai
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 22nd Jul 2009
Location: World
Posted: 8th Mar 2020 22:27
I had a similar project with the 3rd person controlller.
It was a nice little project until I tried to fire a weapon....
Now its another unfinished project, I hope someday I can complete it.
Old school FPS fan, DOOM!!! Why GG not working on my AMIGA 500?
PM
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 9th Mar 2020 02:03
Yeah, it's a pity it wasn't given a little more work. More options for firing and a bit more melee related anims. I mean it was practically done, just too limited with choice of attack types really.

Added the punch and kick moves and started work on the enemies so I can hit em


SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.
Blacknyt46
8
Years of Service
User Offline
Joined: 29th Feb 2016
Location:
Posted: 9th Mar 2020 03:20
That's pretty cool Dvader.
Jim C
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 9th Mar 2020 20:53
@GubbyBlips Not sure what your work around is btw, sounds interesting.

@Blacknyt46 Thanks! It's coming along nicely. Have an annoying bug to suss out, but otherwise starting to look functional

The best part about doing this sort of style in GG is that you can make scenes look pretty nice and busy while performance holds at 60 fps nicely. At least it does on my machine; but the left/right level style means you can get more detail in game, as there's no slowdown from having a complex full map. Not hit any performance issues as yet. If I do, it will either be me going mad on scenery, or the scripts getting too hoggy. Hopefully won't be an issue, there pretty optimised in the main so far.

Might need to reduce the bloom a bit.
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.
MooKai
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 22nd Jul 2009
Location: World
Posted: 9th Mar 2020 21:26
"but the left/right level style means you can get more detail in game"
That's why I was asking many times about the directional fire for the 3rd person controller....
The sidescrollers look nice in GG and the framerate is also most of the time good.
Old school FPS fan, DOOM!!! Why GG not working on my AMIGA 500?
PM
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 9th Mar 2020 22:48
@MooKai. I agree. I've managed this in lua in about 3 days of (hard) work. Sure, it isn't as complex as the third person code (I imagine), but it does the job admirably so far. All third person needs is better controls (more than one) and the ability to fire in the right direction If that was available then my job here would be way, way easier. As is, I've abandoned virtually all GG help and programmed everything from scratch. As you can imagine It's a pain in the a....

I don't normally post videos of early game progress of any kind, but since I've done so much you guys have never seen, thought I should start doing so
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.
MooKai
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 22nd Jul 2009
Location: World
Posted: 9th Mar 2020 23:33
looks really good nice sword fight
I'm really bad when it comes to LUA scripting...
Thats why my sidescroller have to wait.
Old school FPS fan, DOOM!!! Why GG not working on my AMIGA 500?
PM
MXS
Valued Member
15
Years of Service
User Offline
Joined: 10th Jan 2009
Location: Cybertron
Posted: 10th Mar 2020 00:02
glad to see you got this to work from a script. hope your post gets more attention than mine did. the funny thing about this game guru always had this functional option. this why I been asking Lee to improve it with a hard code function. It's all in the engine it's just need some support to work better. for years I have been working on third person and have gotten a lot done. my next goal is to make a platform from the side scrolling example.
more than what meets the eye.Welcome to SciFi Summer

Windows 7 home premium 64bit gtx770 sc acx 2gb gpu boost 2.0

DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 10th Mar 2020 01:03
@Mookai He doesn't need his sword! He just kicks em in the b... Lack of animation data Although the groin kick has to stay

@MXS Yeah, 3rd person is great and terrible at the same time. Such a waste of potential! I've gone my normal route and taken over completely, but using the 3rd person as a start would certainly help a lot (most my code is controlling the player). Perhaps I have done it the hard way, but for this sort of game I figured it best to take control from the start. I'm sure 3rd person could be augmented with some lua script. I, though, like most, thought it would be added in at some point.

As it stands, I will need to sort collision and such in lua as best I can. Probably meaning the enemy AI will never be allowed to go past you. It's really annoying that the characters with a sword don't actually use them though I seem to remember them having those anims, but perhaps I'm simply adding some rose tinted reflections to my memories! I'll have to find out my old RPG Mark demo. I got those npc's animating, but I'm guessing it didn't involve swords or indeed anything other than fists or feet!
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.
GubbyBlips
5
Years of Service
User Offline
Joined: 14th Jan 2019
Location:
Posted: 10th Mar 2020 01:10 Edited at: 10th Mar 2020 05:43
"my next goal is to make a platform from the side scrolling example."

Would you mean something like this?

//
Waiting to get a new video out... some work for it.
PM
GubbyBlips
5
Years of Service
User Offline
Joined: 14th Jan 2019
Location:
Posted: 10th Mar 2020 01:28
@ Dvader-- Yeah, I completely divorced GG 3p,
as it was too bulky and complicated to keep trying to fiddle with.

Also, it (the over-rides that GG itself imposes on it's users) and also
a few features that need to be enacted in order to accomplish said
projects (in stock scripts- that is). My requests where brushed aside
(I felt). It's inevitable that others will persue this course, so I might as
well reveal some of the work I've done-- but got bored / burned out
with the platform and am trying some different experiments currently.
One day it'll come together.

I would like someone to build the maps- because that part I hate doing!

PM
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 10th Mar 2020 01:38 Edited at: 10th Mar 2020 04:36
@GubbyBlips Not sure who you are quoting from there unless it's from another thread? (Ah, noticed it's from MXS's post) The video is pretty cool though I take it that's using the 3rd person controller?
I have avoided using the GG 3rd person control from the start, so I can avoid issues that can arise from using it. A lot of work though and I will probably avoid stairs in general. My initial thought was Kung-Fu Master but it's evolved into a more Rastanesque game idea. I may just go back to Kung-Fu Master though in light of animations available. Also a lot simpler with no platforms or caverns required. I did use to love Rastan though
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.
MooKai
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 22nd Jul 2009
Location: World
Posted: 10th Mar 2020 14:06
Ah, Kung Fu Master.... great game. I played it on the C64
Old school FPS fan, DOOM!!! Why GG not working on my AMIGA 500?
PM
granada
Forum Support
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 10th Mar 2020 17:22
Some old games never get thrown away

Dave
Windows 10 Pro 64 bit
GeForce RTXâ„¢ 2070 GAMING OC 8G
AMD FX (tm)-9590 Eight-core Processor
31.96 GB RAM
3840 x 2160 ,60 Hz
PM
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 10th Mar 2020 17:34 Edited at: 10th Mar 2020 17:35
The arcade was the one Not sure about the C64 version, but I know the original Spectrum version was terrible. I only mention it because that is more the style I am after. There's plenty other but Kung-Fu Master was the grandaddy of em all.

@Granada. I remember the box and everything! That's more Streetfighter type game, again one the earliest!
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.
MooKai
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 22nd Jul 2009
Location: World
Posted: 10th Mar 2020 20:20
I still have alot of C64 & Amiga games at home
All the nice little action games and beat'em ups games lol
Some of the games you could finish in 1-2 hours and nobody was complaining, now a game must be 20+ hours long or the Steam community will kill you
Old school FPS fan, DOOM!!! Why GG not working on my AMIGA 500?
PM
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 11th Mar 2020 07:03
I always loved Way of the Samurai or whatever it was called on the Amiga .. good job Dvader with the scroller. Never took to the street fighter games though for some reason
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, C#, VB, SQL, PL-SQL, JavaScript, HTML, Three.js, Darkbasic Pro, Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 11th Mar 2020 17:06
@MooKai Games were proper games back in the day. There was some variety as well, unlike today's efforts. Now it's just another samey game after another because of the money involved. Same with movies of late as well I mean, yeah there were still plenty of pigs released, but for all that, it also meant there were some jewels released Main difference you tended to pick them up for a couple of quid, rather than £30 or more.

@Bored of the Rings. Last Samurai I think I got into Streetfighter 2 as I worked in a shop and once you had done the cleaning and such all there was to do was serve customers and play games. Had a couple of regulars who liked to pop in for a few games, so ended up getting near proffesional at it Most people only got good with Ken and Ryu but I ended up good with all characters (well as good as you could get, some characters were awful).

Been working on the enemy AI a bit since but still thinking what they will do when they get to you It's already getting complicated to make sure all the enemies use the same code, but don't interfere with each other. I may also have found a few more suitable models to use, but need to have a look at them as they have completely different anims by the looks.
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.
MooKai
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 22nd Jul 2009
Location: World
Posted: 11th Mar 2020 21:20 Edited at: 11th Mar 2020 21:23
Thats why I don't buy anymore DVDs or Blu-Ray, there are no new movies I like. I still love the old AMIGA & C64 Games, I'm collecting them since the 80s... we just moved and the gaming room is already full with Games
I still play alot of the old AMIGA games, now most of the time with WinUAE (emulator).



Old school FPS fan, DOOM!!! Why GG not working on my AMIGA 500?

Attachments

Login to view attachments
PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 11th Mar 2020 21:30 Edited at: 11th Mar 2020 21:32
Oh that's nice !!

That's it … Decorating the spare room starts tomorrow ..
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
MooKai
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 22nd Jul 2009
Location: World
Posted: 11th Mar 2020 21:33 Edited at: 11th Mar 2020 21:34
I'm already running out of space... LOL
First pic. who can find the Kung-Fu Master Box.... LOL
Old school FPS fan, DOOM!!! Why GG not working on my AMIGA 500?
PM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 11th Mar 2020 21:36
Looks like my living room, minus the Tegu of course.
Been there, done that, got all the T-Shirts!
PM
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 11th Mar 2020 22:40
@ Mookai. Top right next to Duke Nukem 3D
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.
granada
Forum Support
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 11th Mar 2020 22:42
That’s some collection, I would never leave there

Dave
Windows 10 Pro 64 bit
GeForce RTXâ„¢ 2070 GAMING OC 8G
AMD FX (tm)-9590 Eight-core Processor
31.96 GB RAM
3840 x 2160 ,60 Hz
PM
MooKai
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 22nd Jul 2009
Location: World
Posted: 11th Mar 2020 23:38
hehe yes, next to the duke...
yes, sometimes I just sit there and look around lol then I see a game which I want to play again.... my inspiration for my GG and 2D games
Old school FPS fan, DOOM!!! Why GG not working on my AMIGA 500?
PM
3com
9
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 12th Mar 2020 08:40
That room seems blockbuster store, A dream for a collector and a nightmare for my wife. LOL
I sold my collection of games, after seeing Mokay's room, I regret having done so.
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
MooKai
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 22nd Jul 2009
Location: World
Posted: 12th Mar 2020 09:54
my wife has no problem with my little collection. As long as the games stay in the room and not everywhere in the house
Old school FPS fan, DOOM!!! Why GG not working on my AMIGA 500?
PM
GubbyBlips
5
Years of Service
User Offline
Joined: 14th Jan 2019
Location:
Posted: 12th Mar 2020 16:31
Not that this is any consolation (probably), but of course there's
now these websites that collect many of the old, classics from DOS,
consoles, etc and make them live again -- amazing that some of them
even work on phones. LOL but it's not the same- is it?

There's lots of them if you look, and maybe some sites work better
than others...
https://classicreload.com/
https://playclassic.games/
PM
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 12th Mar 2020 19:16
There's some great Emulators out there Never found a great C64 one though, at least one that is okay on Windows 7.
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 12th Mar 2020 20:21 Edited at: 12th Mar 2020 20:24
Quote: "Never found a great C64 one though, at least one that is okay on Windows 7"

WHAT !! Vice works pretty much flawlessly
File. autostart disk/tape image and your away
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
MooKai
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 22nd Jul 2009
Location: World
Posted: 12th Mar 2020 21:00
Yes, Vice is good... or buy the new C64 Maxi great retro machine.
.... Creating a sidescrolller in GG... not only the problem with the guns, also the HUD is a problem.
Sidescrollers normally have a lot of info on the screen.
- Lives
- PLAYER SCORE
- Hiscore
- Level
- Ammo
All that nice little info thing, I have really no idea how to create that easy in GG.
I've created games before in Fusion 2.5 and all the versions before... it was always easy to create your HUDs and counters.
GG no idea...
A HUD editor would be great
Old school FPS fan, DOOM!!! Why GG not working on my AMIGA 500?
PM
granada
Forum Support
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 13th Mar 2020 02:28
I’m only here for the adverts



Dave
Windows 10 Pro 64 bit
GeForce RTXâ„¢ 2070 GAMING OC 8G
AMD FX (tm)-9590 Eight-core Processor
31.96 GB RAM
3840 x 2160 ,60 Hz
PM
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 13th Mar 2020 03:33
@MooKai If the HUD was all I had to code I could knock one up in a trice. That's the easy bit! Only issue these days is different aspect ratios Again, more a chore than difficult. I can certainly put up a vid or info how to do this. I think I had a basic HUD on my Tree Life scripts on the store. Nothing special but did the job. Just wanted to display the options in the script. Wood collected basically

As far as this game goes. I am literally doing everything. Want the player to move? I re-position him in code, not move forward, but position him. Animate? Have to specify the frames and display them by setting every frame. Same for the enemies.

I could have taken some obvious shortcuts, but decided to do it the more difficult, but with more overall control way

Even now it plays pretty well if you play it properly You can just run past everyone if not unless I make it one hit death, then your knackered
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 13th Mar 2020 16:35
Are you ray casting in front of the player character to detect 'collisions'?
Been there, done that, got all the T-Shirts!
PM
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 13th Mar 2020 18:50
At the moment I have disabled collision entirely. I can add it in, but as I'm not ray casting, left it out to help with speed. Just distance and animation frame checks at the moment.

Might be worth looking at using it to make the general collision easier. Definitely when I add a jump move, which is a must.
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 13th Mar 2020 20:44
Raycasting very easy
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, C#, VB, SQL, PL-SQL, JavaScript, HTML, Three.js, Darkbasic Pro, Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 15th Mar 2020 01:44
@Bored of the Rings I have never used it in GG. Not quite sure how it will help me any better than a distance check here though? Same thought here for @Amenmoses.
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 18th Mar 2020 00:54
Sorted the main issue I was having. A nested loop was blocking some of the code inside the nest to run and hence not resetting things properly. Although the idle was hiding the issue, as it just continued to play the frames from where it left off, so looked fine on first inspection. Sorted the offending code.

Now when they hit you they stop you in your tracks.
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 19th Mar 2020 13:47
New video. AI work and extra stuff
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.
GubbyBlips
5
Years of Service
User Offline
Joined: 14th Jan 2019
Location:
Posted: 19th Mar 2020 14:23
Cool. Almost at the platform stage.
Perhaps I should return to my platform game work and try to get nearer a
completion stage.
So just this week I started a job, and then today they postponed because
of the convoluted virus.
PM
MooKai
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 22nd Jul 2009
Location: World
Posted: 19th Mar 2020 15:13
wow, thats really great
you could sell it soon as DLC... lol
really good work.
Old school FPS fan, DOOM!!! Why GG not working on my AMIGA 500?
PM
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 19th Mar 2020 17:38
Thanks guys. It's been a lot of work so far, but rewarding.

An example of the code I have wrote to do this. As you can see I am taking full control rather than using inbuilt GG stuff.

At least I'm keeping my mind off the current woes we are all facing at present.
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.
3com
9
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 19th Mar 2020 18:07
@ DVader
You are right mate, is best to be busy at something you like.
Very good job, it brings back great memories.
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 19th Mar 2020 18:11
Thanks 3com. Trying to get a retro arcade vibe with updated visuals
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.

Login to post a reply

Server time is: 2024-03-29 05:21:48
Your offset time is: 2024-03-29 05:21:48